Makefile.am.oldautomake
author Ryan C. Gordon <icculus@icculus.org>
Thu, 18 Jul 2002 05:51:25 +0000
changeset 350 ec1e75681b4b
parent 304 ff219de447fc
child 409 3b9db2a124e4
permissions -rw-r--r--
Added physfs.spec to distribution.

lib_LTLIBRARIES = libphysfs.la

SUBDIRS = platform archivers zlib114 . test extras

libphysfsincludedir = $(includedir)
libphysfsinclude_HEADERS =	\
	physfs.h

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 \
	physfs.dsp \
	test_physfs.dsp

dist-hook:
	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