physfs/Makefile.am.newautomake

149 lines
3.1 KiB
Makefile
Raw Normal View History

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
ZLIB_FILES = zlib114/adler32.c \
zlib114/compress.c \
zlib114/crc32.c \
zlib114/deflate.c \
zlib114/deflate.h \
zlib114/infblock.c \
zlib114/infblock.h \
zlib114/infcodes.c \
zlib114/infcodes.h \
zlib114/inffast.c \
zlib114/inffast.h \
zlib114/inffixed.h \
zlib114/inflate.c \
zlib114/inftrees.c \
zlib114/inftrees.h \
zlib114/infutil.c \
zlib114/infutil.h \
zlib114/trees.c \
zlib114/trees.h \
zlib114/uncompr.c \
zlib114/zconf.h \
zlib114/zlib.h \
zlib114/zutil.c \
zlib114/zutil.h
if BUILD_ZLIB
ZLIB_SRC = $(ZLIB_FILES)
ZLIB_INC = -I$(top_srcdir)/zlib114
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 \
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 \
CWProjects.sit \
2002-07-18 07:51:25 +02:00
physfs.spec \
2002-06-28 07:48:41 +02:00
physfs.dsp \
test_physfs.dsp \
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 \
2002-07-27 08:28:45 +02:00
makeos2.cmd \
2002-06-28 08:14:52 +02:00
$(ZLIB_EXTRADIST) $(BEOS_EXTRADIST) $(TEST_EXTRADIST)
2002-06-28 07:48:41 +02:00
else
SUBDIRS = platform archivers zlib114 . test extras
2002-06-28 07:37:53 +02:00
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.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 \
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:
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