Makefile.am.newautomake
changeset 774 916c2e81e77f
parent 730 2786533a5dab
child 785 1ea0f6549eb2
--- a/Makefile.am.newautomake	Thu Mar 23 10:19:55 2006 +0000
+++ b/Makefile.am.newautomake	Tue Apr 11 14:33:48 2006 +0000
@@ -105,7 +105,7 @@
 
 else
 
-SUBDIRS = platform archivers zlib123 . test extras
+SUBDIRS = platform archivers zlib123 lzma . test extras
 
 libphysfs_la_SOURCES =	\
 	physfs.c	\
@@ -118,13 +118,20 @@
 ZLIB_LIB =
 endif
 
+if BUILD_LZMA
+LZMA_LIB = lzma/liblzma.la
+else
+LZMA_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)
+	$(ZLIB_LIB) \
+	$(LZMA_LIB)
 
 EXTRA_DIST =	\
 	CREDITS \