author | Ryan C. Gordon <icculus@icculus.org> |
Fri, 28 Jun 2002 06:10:23 +0000 | |
changeset 305 | d0ff4897f447 |
parent 303 | cbf97606120f |
child 306 | 580c6753c23a |
permissions | -rw-r--r-- |
298 | 1 |
lib_LTLIBRARIES = libphysfs.la |
2 |
||
3 |
libphysfsincludedir = $(includedir) |
|
4 |
libphysfsinclude_HEADERS = \ |
|
5 |
physfs.h |
|
6 |
||
300
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
7 |
if BUILD_MACOSX |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
8 |
|
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
9 |
ZLIB_FILES = zlib114/adler32.c \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
10 |
zlib114/compress.c \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
11 |
zlib114/crc32.c \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
12 |
zlib114/deflate.c \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
13 |
zlib114/deflate.h \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
14 |
zlib114/infblock.c \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
15 |
zlib114/infblock.h \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
16 |
zlib114/infcodes.c \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
17 |
zlib114/infcodes.h \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
18 |
zlib114/inffast.c \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
19 |
zlib114/inffast.h \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
20 |
zlib114/inffixed.h \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
21 |
zlib114/inflate.c \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
22 |
zlib114/inftrees.c \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
23 |
zlib114/inftrees.h \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
24 |
zlib114/infutil.c \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
25 |
zlib114/infutil.h \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
26 |
zlib114/trees.c \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
27 |
zlib114/trees.h \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
28 |
zlib114/uncompr.c \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
29 |
zlib114/zconf.h \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
30 |
zlib114/zlib.h \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
31 |
zlib114/zutil.c \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
32 |
zlib114/zutil.h |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
33 |
|
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
34 |
|
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
35 |
if BUILD_ZLIB |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
36 |
ZLIB_SRC = $(ZLIB_FILES) |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
37 |
ZLIB_INC = -I$(top_srcdir)/zlib114 |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
38 |
ZLIB_EXTRADIST = |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
39 |
else |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
40 |
ZLIB_SRC = |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
41 |
ZLIB_INC = |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
42 |
ZLIB_EXTRADIST = $(ZLIB_FILES) |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
43 |
endif |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
44 |
|
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
45 |
libphysfs_la_SOURCES = \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
46 |
physfs.c \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
47 |
physfs_internal.h \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
48 |
physfs_byteorder.c \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
49 |
archivers/dir.c \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
50 |
archivers/grp.c \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
51 |
archivers/zip.c \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
52 |
archivers/unzip.c \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
53 |
archivers/unzip.h \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
54 |
platform/unix.c \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
55 |
platform/posix.c \ |
305 | 56 |
$(ZLIB_SRC) @BUILD_BEOS_CPP@ |
300
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
57 |
|
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
58 |
libphysfs_la_INCLUDES = $(ZLIB_INC) |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
59 |
|
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
60 |
libphysfs_la_LDFLAGS = \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
61 |
-release $(LT_RELEASE) \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
62 |
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
63 |
|
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
64 |
|
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
65 |
if BUILD_TEST_PHYSFS |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
66 |
bin_PROGRAMS = test_physfs |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
67 |
test_physfs_INCLUDES = -I$(top_srcdir) |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
68 |
test_physfs_LDADD = $(top_srcdir)/libphysfs.la |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
69 |
test_physfs_SOURCES = test/test_physfs.c |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
70 |
TEST_EXTRADIST = |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
71 |
else |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
72 |
TEST_EXTRADIST = test/test_physfs.c |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
73 |
endif |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
74 |
|
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
75 |
|
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
76 |
EXTRA_DIST = \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
77 |
CREDITS \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
78 |
LICENSE \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
79 |
CHANGELOG \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
80 |
INSTALL \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
81 |
TODO \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
82 |
Doxyfile \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
83 |
CWProjects.sit \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
84 |
physfs.dsp \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
85 |
test_physfs.dsp \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
86 |
platform/skeleton.c \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
87 |
platform/macclassic.c \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
88 |
platform/win32.c \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
89 |
extras/physfsrwops.h \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
90 |
extras/physfsrwops.c \ |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
91 |
extras/physfshttpd.c \ |
303 | 92 |
Makefile.am.oldautomake \ |
93 |
Makefile.am.newautomake \ |
|
305 | 94 |
$(ZLIB_EXTRADIST) @BUILD_BEOS_EXTRA@ $(TEST_EXTRADIST) |
300
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
95 |
|
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
96 |
else |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
97 |
|
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
98 |
SUBDIRS = platform archivers zlib114 . test extras |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
99 |
|
298 | 100 |
libphysfs_la_SOURCES = \ |
101 |
physfs.c \ |
|
102 |
physfs_internal.h \ |
|
103 |
physfs_byteorder.c |
|
104 |
||
105 |
if BUILD_ZLIB |
|
106 |
ZLIB_LIB = zlib114/libz.la |
|
107 |
else |
|
108 |
ZLIB_LIB = |
|
109 |
endif |
|
110 |
||
111 |
libphysfs_la_LDFLAGS = \ |
|
112 |
-release $(LT_RELEASE) \ |
|
113 |
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) |
|
114 |
libphysfs_la_LIBADD = \ |
|
115 |
archivers/libarchivers.la \ |
|
116 |
platform/libplatform.la \ |
|
117 |
$(ZLIB_LIB) |
|
118 |
||
119 |
EXTRA_DIST = \ |
|
120 |
CREDITS \ |
|
121 |
LICENSE \ |
|
122 |
CHANGELOG \ |
|
123 |
INSTALL \ |
|
124 |
TODO \ |
|
125 |
Doxyfile \ |
|
126 |
CWProjects.sit \ |
|
127 |
physfs.dsp \ |
|
303 | 128 |
test_physfs.dsp |
298 | 129 |
|
300
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
130 |
|
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
131 |
endif |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
132 |
|
303 | 133 |
|
298 | 134 |
dist-hook: |
303 | 135 |
mkdir $(distdir)/docs |
300
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
136 |
echo "Docs are generated with the program "Doxygen" (http://www.doxygen.org/)," >> $(distdir)/docs/README |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
137 |
echo " or can be read online at http://icculus.org/physfs/docs/" >> $(distdir)/docs/README |
44170fd5ea40
Blah...wrong file before.
Ryan C. Gordon <icculus@icculus.org>
parents:
298
diff
changeset
|
138 |
echo >> $(distdir)/docs/README |
298 | 139 |