2002-06-28 07:37:53 +02:00
|
|
|
lib_LTLIBRARIES = libphysfs.la
|
|
|
|
|
2005-07-24 00:02:00 +02:00
|
|
|
SUBDIRS = platform archivers zlib123 . test extras
|
2002-06-28 07:37:53 +02:00
|
|
|
|
|
|
|
libphysfsincludedir = $(includedir)
|
|
|
|
libphysfsinclude_HEADERS = \
|
|
|
|
physfs.h
|
|
|
|
|
|
|
|
libphysfs_la_SOURCES = \
|
|
|
|
physfs.c \
|
|
|
|
physfs_internal.h \
|
|
|
|
physfs_byteorder.c
|
|
|
|
|
|
|
|
if BUILD_ZLIB
|
2005-07-24 00:02:00 +02:00
|
|
|
ZLIB_LIB = zlib123/libz.la
|
2002-06-28 07:37:53 +02:00
|
|
|
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 \
|
2004-01-08 06:53:28 +01:00
|
|
|
PBProjects \
|
2005-07-24 00:17:29 +02:00
|
|
|
CWProjects.sit \
|
2005-07-24 00:56:45 +02:00
|
|
|
physfsMPW.make \
|
2002-08-30 06:15:15 +02:00
|
|
|
physfs.spec.in \
|
2002-07-18 07:51:25 +02:00
|
|
|
physfs.spec \
|
2002-06-28 07:37:53 +02:00
|
|
|
physfs.dsp \
|
2004-01-08 06:53:28 +01:00
|
|
|
physfs_static.dsp \
|
2002-07-27 08:28:45 +02:00
|
|
|
test_physfs.dsp \
|
2004-01-08 06:53:28 +01:00
|
|
|
physfs.vcproj \
|
|
|
|
test_physfs.vcproj \
|
2003-12-19 02:52:07 +01:00
|
|
|
zlib_license_change.txt \
|
2002-07-27 08:28:45 +02:00
|
|
|
makeos2.cmd
|
2002-06-28 07:37:53 +02:00
|
|
|
|
|
|
|
dist-hook:
|
2004-01-08 06:53:28 +01:00
|
|
|
perl -w -pi -e 'chomp; $$_ .= "\r\n";' $(distdir)/*.dsp $(distdir)/*.vcproj
|
2002-06-28 08:04:25 +02:00
|
|
|
mkdir $(distdir)/docs
|
|
|
|
echo "Docs are generated with the program "Doxygen" (http://www.doxygen.org/)," >> $(distdir)/docs/README
|
|
|
|
echo " or can be read online at http://icculus.org/physfs/docs/" >> $(distdir)/docs/README
|
|
|
|
echo >> $(distdir)/docs/README
|
2004-01-08 06:53:28 +01:00
|
|
|
rm -rf `find $(distdir) -name "CVS" -type d`
|
2005-07-24 00:22:47 +02:00
|
|
|
rm -rf `find $(distdir) -name ".svn" -type d`
|