Bump version to 1.46
[glpng.git] / src / Makefile.SGI
blobcbcd2719bcf857321495154cb7bbae2757ef15f5
1 #############################################################################
2 # Makefile for building libglpng.a
3 # Generated by tmake at 13:41, 1999/08/27
4 #     Project: glpng
5 #    Template: lib
6 #############################################################################
8 ####### Compiler, tools and options
10 CC      =       CC
11 CXX     =       CC
12 CFLAGS  =       -n32 LANG:bool\=ON -woff 3201,1209,1233,1314,1355,1375,1506 -fullwarn -DSGI
13 CXXFLAGS=       -n32 LANG:bool\=ON -woff 3201,1209,1233,1314,1355,1375,1506 -fullwarn -DSGI
14 INCPATH =       -I../include
15 AR      =       ar cq
16 RANLIB  =       
17 MOC     =       moc
19 TAR     =       tar -cf
20 GZIP    =       gzip -9f
22 ####### Files
24 HEADERS =       png/png.h \
25                 png/pngconf.h \
26                 zlib/infblock.h \
27                 zlib/infcodes.h \
28                 zlib/inffast.h \
29                 zlib/inffixed.h \
30                 zlib/inftrees.h \
31                 zlib/infutil.h \
32                 zlib/zconf.h \
33                 zlib/zlib.h \
34                 zlib/zutil.h
35 SOURCES =       glpng.c \
36                 png/png.c \
37                 png/pngerror.c \
38                 png/pngget.c \
39                 png/pngmem.c \
40                 png/pngpread.c \
41                 png/pngread.c \
42                 png/pngrio.c \
43                 png/pngrtran.c \
44                 png/pngrutil.c \
45                 png/pngset.c \
46                 png/pngtrans.c \
47                 zlib/adler32.c \
48                 zlib/crc32.c \
49                 zlib/infblock.c \
50                 zlib/infcodes.c \
51                 zlib/inffast.c \
52                 zlib/inflate.c \
53                 zlib/inftrees.c \
54                 zlib/infutil.c \
55                 zlib/zutil.c
56 OBJECTS =       glpng.o \
57                 png/png.o \
58                 png/pngerror.o \
59                 png/pngget.o \
60                 png/pngmem.o \
61                 png/pngpread.o \
62                 png/pngread.o \
63                 png/pngrio.o \
64                 png/pngrtran.o \
65                 png/pngrutil.o \
66                 png/pngset.o \
67                 png/pngtrans.o \
68                 zlib/adler32.o \
69                 zlib/crc32.o \
70                 zlib/infblock.o \
71                 zlib/infcodes.o \
72                 zlib/inffast.o \
73                 zlib/inflate.o \
74                 zlib/inftrees.o \
75                 zlib/infutil.o \
76                 zlib/zutil.o
77 SRCMOC  =       
78 OBJMOC  =       
79 DIST    =       
80 TARGET  =       libglpng.a
82 ####### Implicit rules
84 .SUFFIXES: .cpp .cxx .cc .C .c
86 .cpp.o:
87         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
89 .cxx.o:
90         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
92 .cc.o:
93         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
95 .C.o:
96         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
98 .c.o:
99         $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
101 ####### Build rules
103 all: $(TARGET)
105 staticlib: $(TARGET)
107 $(TARGET): $(OBJECTS) $(OBJMOC) 
108         -rm -f $(TARGET)
109         $(AR) $(TARGET) $(OBJECTS) $(OBJMOC)
111 moc: $(SRCMOC)
113 tmake: Makefile
115 Makefile: glpng.pro
116         tmake glpng.pro -o Makefile
118 dist:
119         $(TAR) glpng.tar glpng.pro $(SOURCES) $(HEADERS) $(DIST)
120         $(GZIP) glpng.tar
122 clean:
123         -rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC) $(TARGET)
124         -rm -f so_locations
125         -rm -f *~ core
127 ####### Compile
129 glpng.o: glpng.c \
130                 png/png.h
132 png/png.o: png/png.c \
133                 png/png.h \
134                 png/../zlib/zlib.h \
135                 png/pngconf.h
137 png/pngerror.o: png/pngerror.c \
138                 png/png.h \
139                 png/../zlib/zlib.h \
140                 png/pngconf.h
142 png/pngget.o: png/pngget.c \
143                 png/png.h \
144                 png/../zlib/zlib.h \
145                 png/pngconf.h
147 png/pngmem.o: png/pngmem.c \
148                 png/png.h \
149                 png/../zlib/zlib.h \
150                 png/pngconf.h
152 png/pngpread.o: png/pngpread.c \
153                 png/png.h \
154                 png/../zlib/zlib.h \
155                 png/pngconf.h
157 png/pngread.o: png/pngread.c \
158                 png/png.h \
159                 png/../zlib/zlib.h \
160                 png/pngconf.h
162 png/pngrio.o: png/pngrio.c \
163                 png/png.h \
164                 png/../zlib/zlib.h \
165                 png/pngconf.h
167 png/pngrtran.o: png/pngrtran.c \
168                 png/png.h \
169                 png/../zlib/zlib.h \
170                 png/pngconf.h
172 png/pngrutil.o: png/pngrutil.c \
173                 png/png.h \
174                 png/../zlib/zlib.h \
175                 png/pngconf.h
177 png/pngset.o: png/pngset.c \
178                 png/png.h \
179                 png/../zlib/zlib.h \
180                 png/pngconf.h
182 png/pngtrans.o: png/pngtrans.c \
183                 png/png.h \
184                 png/../zlib/zlib.h \
185                 png/pngconf.h
187 zlib/adler32.o: zlib/adler32.c \
188                 zlib/zlib.h \
189                 zlib/zconf.h
191 zlib/crc32.o: zlib/crc32.c \
192                 zlib/zlib.h \
193                 zlib/zconf.h
195 zlib/infblock.o: zlib/infblock.c \
196                 zlib/zutil.h \
197                 zlib/zlib.h \
198                 zlib/zconf.h \
199                 zlib/infblock.h \
200                 zlib/inftrees.h \
201                 zlib/infcodes.h \
202                 zlib/infutil.h
204 zlib/infcodes.o: zlib/infcodes.c \
205                 zlib/zutil.h \
206                 zlib/zlib.h \
207                 zlib/zconf.h \
208                 zlib/inftrees.h \
209                 zlib/infblock.h \
210                 zlib/infcodes.h \
211                 zlib/infutil.h \
212                 zlib/inffast.h
214 zlib/inffast.o: zlib/inffast.c \
215                 zlib/zutil.h \
216                 zlib/zlib.h \
217                 zlib/zconf.h \
218                 zlib/inftrees.h \
219                 zlib/infblock.h \
220                 zlib/infcodes.h \
221                 zlib/infutil.h \
222                 zlib/inffast.h
224 zlib/inflate.o: zlib/inflate.c \
225                 zlib/zutil.h \
226                 zlib/zlib.h \
227                 zlib/zconf.h \
228                 zlib/infblock.h
230 zlib/inftrees.o: zlib/inftrees.c \
231                 zlib/zutil.h \
232                 zlib/zlib.h \
233                 zlib/zconf.h \
234                 zlib/inftrees.h \
235                 zlib/inffixed.h
237 zlib/infutil.o: zlib/infutil.c \
238                 zlib/zutil.h \
239                 zlib/zlib.h \
240                 zlib/zconf.h \
241                 zlib/infblock.h \
242                 zlib/inftrees.h \
243                 zlib/infcodes.h \
244                 zlib/infutil.h
246 zlib/zutil.o: zlib/zutil.c \
247                 zlib/zutil.h \
248                 zlib/zlib.h \
249                 zlib/zconf.h