Makefile.am.newautomake
changeset 774 916c2e81e77f
parent 730 2786533a5dab
child 785 1ea0f6549eb2
equal deleted inserted replaced
773:8215379394b5 774:916c2e81e77f
   103     PBProjects             \
   103     PBProjects             \
   104     $(ZLIB_EXTRADIST) $(BEOS_EXTRADIST) $(TEST_EXTRADIST)
   104     $(ZLIB_EXTRADIST) $(BEOS_EXTRADIST) $(TEST_EXTRADIST)
   105 
   105 
   106 else
   106 else
   107 
   107 
   108 SUBDIRS = platform archivers zlib123 . test extras
   108 SUBDIRS = platform archivers zlib123 lzma . test extras
   109 
   109 
   110 libphysfs_la_SOURCES =	\
   110 libphysfs_la_SOURCES =	\
   111 	physfs.c	\
   111 	physfs.c	\
   112 	physfs_internal.h	\
   112 	physfs_internal.h	\
   113 	physfs_byteorder.c
   113 	physfs_byteorder.c
   116 ZLIB_LIB = zlib123/libz.la
   116 ZLIB_LIB = zlib123/libz.la
   117 else
   117 else
   118 ZLIB_LIB =
   118 ZLIB_LIB =
   119 endif
   119 endif
   120 
   120 
       
   121 if BUILD_LZMA
       
   122 LZMA_LIB = lzma/liblzma.la
       
   123 else
       
   124 LZMA_LIB =
       
   125 endif
       
   126 
   121 libphysfs_la_LDFLAGS = 		\
   127 libphysfs_la_LDFLAGS = 		\
   122 	-release $(LT_RELEASE)	\
   128 	-release $(LT_RELEASE)	\
   123 	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
   129 	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
   124 libphysfs_la_LIBADD =	\
   130 libphysfs_la_LIBADD =	\
   125 	archivers/libarchivers.la	\
   131 	archivers/libarchivers.la	\
   126 	platform/libplatform.la	\
   132 	platform/libplatform.la	\
   127 	$(ZLIB_LIB)
   133 	$(ZLIB_LIB) \
       
   134 	$(LZMA_LIB)
   128 
   135 
   129 EXTRA_DIST =	\
   136 EXTRA_DIST =	\
   130 	CREDITS \
   137 	CREDITS \
   131 	LICENSE \
   138 	LICENSE \
   132 	CHANGELOG \
   139 	CHANGELOG \