Makefile.am.oldautomake
author Ryan C. Gordon <icculus@icculus.org>
Tue, 11 Apr 2006 14:33:48 +0000
changeset 774 916c2e81e77f
parent 730 2786533a5dab
child 785 1ea0f6549eb2
permissions -rw-r--r--
7zip support, written by Dennis Schridde, and heavily Ryanified by me.

lib_LTLIBRARIES = libphysfs.la

SUBDIRS = platform archivers zlib123 . test extras

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

libphysfs_la_SOURCES =	\
	physfs.c	\
	physfs_internal.h	\
	physfs_byteorder.c

if BUILD_ZLIB
ZLIB_LIB = zlib123/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 \
	PBProjects \
	CWProjects.sit \
	physfsMPW.make \
	physfs.spec.in \
	physfs.spec \
	physfs.dsp \
	physfs_static.dsp \
	test_physfs.dsp \
	physfs.vcproj \
	test_physfs.vcproj \
	zlib_license_change.txt \
	makeos2.cmd

dist-hook:
	perl -w -pi -e 'chomp; $$_ .= "\r\n";' $(distdir)/*.dsp $(distdir)/*.vcproj
	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
	rm -rf `find $(distdir) -name "CVS" -type d`
	rm -rf `find $(distdir) -name ".svn" -type d`