Created
July 21, 2009 06:48
-
-
Save jmhodges/151169 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Makefile.am b/Makefile.am | |
index 38accd4..d6a3196 100644 | |
--- a/Makefile.am | |
+++ b/Makefile.am | |
@@ -10,10 +10,15 @@ AUTOMAKE_OPTIONS = foreign | |
bin_PROGRAMS = pez | |
-pez_SOURCES = pez.c pezmain.c pez.h pezdef.h | |
+pez_SOURCES = pez.c pezmain.c | |
+pez_CFLAGS = $(AM_CFLAGS) | |
# TODO how to add get versioning? (e.g., libpez.so.1.3.0) | |
# More pressing TODO : how to get this to build? | |
# libpez_so_SOURCES = pez.c pez.h pezdef.h | |
EXTRA_DIST = doc/COPYING doc/CREDITS doc/TODO doc/ctags | |
+ | |
+lib_LTLIBRARIES = libpez.la | |
+ | |
+libpez_la_SOURCES = pez.c | |
\ No newline at end of file | |
diff --git a/configure.ac b/configure.ac | |
index ff175e4..a094adb 100644 | |
--- a/configure.ac | |
+++ b/configure.ac | |
@@ -5,9 +5,12 @@ AC_PREREQ(2.61) | |
AC_INIT(pez, 1.3, pete.elmore@gmail.com) | |
AC_CONFIG_SRCDIR([pez.c]) | |
+ | |
# AM_INIT_AUTOMAKE(pez, 1.3) | |
AM_INIT_AUTOMAKE | |
+AC_PROG_LIBTOOL | |
+ | |
AC_CANONICAL_HOST | |
# Checks for programs. | |
@@ -43,6 +46,8 @@ AC_DEFINE(MEMSTAT) | |
AC_DEFINE(EXPORT) | |
AC_DEFINE(READONLYSTRINGS) | |
+AC_PROG_INSTALL | |
+ | |
# AC_CONFIG_FILES([Makefile]) | |
AC_OUTPUT(Makefile) | |
# AC_OUTPUT(Makefile lib/Makefile doc/Makefile) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment