/
Makefile.am.oldautomake
54 lines (47 loc) · 1.19 KB
1
2
lib_LTLIBRARIES = libphysfs.la
3
SUBDIRS = platform archivers zlib123 . test extras
4
5
6
7
8
9
10
11
12
13
14
libphysfsincludedir = $(includedir)
libphysfsinclude_HEADERS = \
physfs.h
libphysfs_la_SOURCES = \
physfs.c \
physfs_internal.h \
physfs_byteorder.c
if BUILD_ZLIB
15
ZLIB_LIB = zlib123/libz.la
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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 \
35
PBProjects \
36
CWProjects.sit \
37
physfs.spec.in \
38
physfs.spec \
39
physfs.dsp \
40
physfs_static.dsp \
41
test_physfs.dsp \
42
43
physfs.vcproj \
test_physfs.vcproj \
44
zlib_license_change.txt \
45
makeos2.cmd
46
47
dist-hook:
48
perl -w -pi -e 'chomp; $$_ .= "\r\n";' $(distdir)/*.dsp $(distdir)/*.vcproj
49
50
51
52
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
53
rm -rf `find $(distdir) -name "CVS" -type d`
54
rm -rf `find $(distdir) -name ".svn" -type d`