Skip to content

Latest commit

 

History

History
161 lines (138 loc) · 3.41 KB

Makefile.am.newautomake

File metadata and controls

161 lines (138 loc) · 3.41 KB
 
1
2
3
4
5
6
lib_LTLIBRARIES = libphysfs.la
libphysfsincludedir = $(includedir)
libphysfsinclude_HEADERS = \
physfs.h
7
8
if BUILD_MACOSX
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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
31
32
33
34
if BUILD_ZLIB
ZLIB_SRC = $(ZLIB_FILES)
35
ZLIB_INC = -I$(top_srcdir)/zlib123
36
37
38
39
40
41
42
43
44
45
46
47
48
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 \
49
archivers/wad.c \
52
archivers/zip.c \
53
archivers/qpak.c \
54
archivers/mix.c \
55
56
platform/unix.c \
platform/posix.c \
57
$(ZLIB_SRC)
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
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 \
84
CWProjects.sit \
86
87
physfs.dsp \
test_physfs.dsp \
88
89
90
physfs_static.dsp \
physfs.vcproj \
test_physfs.vcproj \
91
92
93
platform/skeleton.c \
platform/macclassic.c \
platform/win32.c \
94
platform/beos.cpp \
96
97
98
extras/physfsrwops.h \
extras/physfsrwops.c \
extras/physfshttpd.c \
99
100
Makefile.am.oldautomake \
Makefile.am.newautomake \
104
$(ZLIB_EXTRADIST) $(BEOS_EXTRADIST) $(TEST_EXTRADIST)
108
SUBDIRS = platform archivers zlib123 . test extras
110
111
112
113
114
115
libphysfs_la_SOURCES = \
physfs.c \
physfs_internal.h \
physfs_byteorder.c
if BUILD_ZLIB
116
ZLIB_LIB = zlib123/libz.la
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
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 \
137
CWProjects.sit \
138
physfsMPW.make \
141
physfs.dsp \
143
144
145
physfs_static.dsp \
physfs.vcproj \
test_physfs.vcproj \
152
153
dist-hook:
154
perl -w -pi -e 'chomp; $$_ .= "\r\n";' $(distdir)/*.dsp $(distdir)/*.vcproj
155
mkdir $(distdir)/docs
156
157
158
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
159
rm -rf `find $(distdir) -name "CVS" -type d`
160
rm -rf `find $(distdir) -name ".svn" -type d`