2002-06-28 07:37:53 +02:00
|
|
|
lib_LTLIBRARIES = libphysfs.la
|
|
|
|
|
|
|
|
libphysfsincludedir = $(includedir)
|
|
|
|
libphysfsinclude_HEADERS = \
|
|
|
|
physfs.h
|
|
|
|
|
2002-06-28 07:48:41 +02:00
|
|
|
if BUILD_MACOSX
|
|
|
|
|
2005-07-24 00:02:32 +02:00
|
|
|
ZLIB_FILES = zlib123/adler32.c \
|
|
|
|
zlib123/compress.c \
|
|
|
|
zlib123/crc32.c \
|
|
|
|
zlib123/crc32.h \
|
|
|
|
zlib123/deflate.c \
|
|
|
|
zlib123/deflate.h \
|
|
|
|
zlib123/gzio.c \
|
|
|
|
zlib123/infback.c \
|
|
|
|
zlib123/inffast.c \
|
|
|
|
zlib123/inffast.h \
|
|
|
|
zlib123/inffixed.h \
|
|
|
|
zlib123/inflate.c \
|
|
|
|
zlib123/inflate.h \
|
|
|
|
zlib123/inftrees.c \
|
|
|
|
zlib123/inftrees.h \
|
|
|
|
zlib123/trees.c \
|
|
|
|
zlib123/trees.h \
|
|
|
|
zlib123/uncompr.c \
|
|
|
|
zlib123/zconf.h \
|
|
|
|
zlib123/zlib.h \
|
|
|
|
zlib123/zutil.c \
|
|
|
|
zlib123/zutil.h
|
2002-06-28 07:48:41 +02:00
|
|
|
|
|
|
|
|
|
|
|
if BUILD_ZLIB
|
|
|
|
ZLIB_SRC = $(ZLIB_FILES)
|
2005-07-24 00:02:32 +02:00
|
|
|
ZLIB_INC = -I$(top_srcdir)/zlib123
|
2002-06-28 07:48:41 +02:00
|
|
|
ZLIB_EXTRADIST =
|
|
|
|
else
|
|
|
|
ZLIB_SRC =
|
|
|
|
ZLIB_INC =
|
|
|
|
ZLIB_EXTRADIST = $(ZLIB_FILES)
|
|
|
|
endif
|
|
|
|
|
|
|
|
libphysfs_la_SOURCES = \
|
|
|
|
physfs.c \
|
|
|
|
physfs_internal.h \
|
|
|
|
physfs_byteorder.c \
|
|
|
|
archivers/dir.c \
|
|
|
|
archivers/grp.c \
|
2003-12-15 05:01:18 +01:00
|
|
|
archivers/wad.c \
|
2003-03-30 20:59:54 +02:00
|
|
|
archivers/hog.c \
|
|
|
|
archivers/mvl.c \
|
2002-06-28 07:48:41 +02:00
|
|
|
archivers/zip.c \
|
2002-08-09 21:47:35 +02:00
|
|
|
archivers/qpak.c \
|
2002-06-28 07:48:41 +02:00
|
|
|
platform/unix.c \
|
|
|
|
platform/posix.c \
|
2002-06-28 08:21:17 +02:00
|
|
|
$(ZLIB_SRC)
|
2002-06-28 07:48:41 +02:00
|
|
|
|
|
|
|
libphysfs_la_INCLUDES = $(ZLIB_INC)
|
|
|
|
|
|
|
|
libphysfs_la_LDFLAGS = \
|
|
|
|
-release $(LT_RELEASE) \
|
|
|
|
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
|
|
|
|
|
|
|
|
|
|
|
|
if BUILD_TEST_PHYSFS
|
|
|
|
bin_PROGRAMS = test_physfs
|
|
|
|
test_physfs_INCLUDES = -I$(top_srcdir)
|
|
|
|
test_physfs_LDADD = $(top_srcdir)/libphysfs.la
|
|
|
|
test_physfs_SOURCES = test/test_physfs.c
|
|
|
|
TEST_EXTRADIST =
|
|
|
|
else
|
|
|
|
TEST_EXTRADIST = test/test_physfs.c
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
CREDITS \
|
|
|
|
LICENSE \
|
|
|
|
CHANGELOG \
|
|
|
|
INSTALL \
|
|
|
|
TODO \
|
|
|
|
Doxyfile \
|
2004-01-08 06:53:28 +01:00
|
|
|
CWProjects.sitx \
|
2002-07-18 07:51:25 +02:00
|
|
|
physfs.spec \
|
2002-06-28 07:48:41 +02:00
|
|
|
physfs.dsp \
|
|
|
|
test_physfs.dsp \
|
2004-01-08 06:53:28 +01:00
|
|
|
physfs_static.dsp \
|
|
|
|
physfs.vcproj \
|
|
|
|
test_physfs.vcproj \
|
2002-06-28 07:48:41 +02:00
|
|
|
platform/skeleton.c \
|
|
|
|
platform/macclassic.c \
|
|
|
|
platform/win32.c \
|
2002-06-28 08:21:17 +02:00
|
|
|
platform/beos.cpp \
|
2002-07-27 08:28:45 +02:00
|
|
|
platform/os2.c \
|
2002-06-28 07:48:41 +02:00
|
|
|
extras/physfsrwops.h \
|
|
|
|
extras/physfsrwops.c \
|
|
|
|
extras/physfshttpd.c \
|
2002-06-28 08:04:25 +02:00
|
|
|
Makefile.am.oldautomake \
|
|
|
|
Makefile.am.newautomake \
|
2003-12-19 02:52:07 +01:00
|
|
|
zlib_license_change.txt \
|
2002-07-27 08:28:45 +02:00
|
|
|
makeos2.cmd \
|
2004-01-08 06:53:28 +01:00
|
|
|
PBProjects \
|
2002-06-28 08:14:52 +02:00
|
|
|
$(ZLIB_EXTRADIST) $(BEOS_EXTRADIST) $(TEST_EXTRADIST)
|
2002-06-28 07:48:41 +02:00
|
|
|
|
|
|
|
else
|
|
|
|
|
2005-07-24 00:02:32 +02:00
|
|
|
SUBDIRS = platform archivers zlib123 . test extras
|
2002-06-28 07:48:41 +02:00
|
|
|
|
2002-06-28 07:37:53 +02:00
|
|
|
libphysfs_la_SOURCES = \
|
|
|
|
physfs.c \
|
|
|
|
physfs_internal.h \
|
|
|
|
physfs_byteorder.c
|
|
|
|
|
|
|
|
if BUILD_ZLIB
|
2005-07-24 00:02:32 +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 \
|
|
|
|
CWProjects.sitx \
|
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 \
|
2002-07-27 08:28:45 +02:00
|
|
|
test_physfs.dsp \
|
2004-01-08 06:53:28 +01:00
|
|
|
physfs_static.dsp \
|
|
|
|
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
|
|
|
|
2002-06-28 07:48:41 +02:00
|
|
|
|
|
|
|
endif
|
|
|
|
|
2002-06-28 08:04:25 +02:00
|
|
|
|
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
|
2002-06-28 07:48:41 +02:00
|
|
|
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
|
2003-01-05 02:34:31 +01:00
|
|
|
rm -rf `find $(distdir) -name "CVS" -type d`
|
2002-06-28 07:37:53 +02:00
|
|
|
|