diff --git a/Makefile.am.newautomake b/Makefile.am.newautomake new file mode 100644 index 0000000..8fd03b8 --- /dev/null +++ b/Makefile.am.newautomake @@ -0,0 +1,42 @@ +lib_LTLIBRARIES = libphysfs.la + +SUBDIRS = platform archivers zlib114 . test extras + +libphysfsincludedir = $(includedir) +libphysfsinclude_HEADERS = \ + physfs.h + +libphysfs_la_SOURCES = \ + physfs.c \ + physfs_internal.h \ + physfs_byteorder.c + +if BUILD_ZLIB +ZLIB_LIB = zlib114/libz.la +else +ZLIB_LIB = +endif + +libphysfs_la_LDFLAGS = \ + -release $(LT_RELEASE) \ + -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) +libphysfs_la_LIBADD = \ + archivers/libarchivers.la \ + platform/libplatform.la \ + $(ZLIB_LIB) + +EXTRA_DIST = \ + CREDITS \ + LICENSE \ + CHANGELOG \ + INSTALL \ + TODO \ + Doxyfile \ + CWProjects.sit \ + physfs.dsp \ + test_physfs.dsp \ + docs + +dist-hook: + rm -rf $(distdir)/docs/* + diff --git a/Makefile.am.oldautomake b/Makefile.am.oldautomake new file mode 100644 index 0000000..8fd03b8 --- /dev/null +++ b/Makefile.am.oldautomake @@ -0,0 +1,42 @@ +lib_LTLIBRARIES = libphysfs.la + +SUBDIRS = platform archivers zlib114 . test extras + +libphysfsincludedir = $(includedir) +libphysfsinclude_HEADERS = \ + physfs.h + +libphysfs_la_SOURCES = \ + physfs.c \ + physfs_internal.h \ + physfs_byteorder.c + +if BUILD_ZLIB +ZLIB_LIB = zlib114/libz.la +else +ZLIB_LIB = +endif + +libphysfs_la_LDFLAGS = \ + -release $(LT_RELEASE) \ + -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) +libphysfs_la_LIBADD = \ + archivers/libarchivers.la \ + platform/libplatform.la \ + $(ZLIB_LIB) + +EXTRA_DIST = \ + CREDITS \ + LICENSE \ + CHANGELOG \ + INSTALL \ + TODO \ + Doxyfile \ + CWProjects.sit \ + physfs.dsp \ + test_physfs.dsp \ + docs + +dist-hook: + rm -rf $(distdir)/docs/* +