original 1.0.1 release
[xwelltris.git] / src / image / sublib / makefile.in
blob8d1369e04d566efbef9f1a00bed3e4b96cb3fef1
1 # Image Engine for X Window
2 #
3 # Copyright (C) 1996 by Leo Khramov
4 # email: leo@pop.convey.ru
5 # Fido: 2:5030/627.15
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 2 of the License, or
10 # (at your option) any later version.
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
18 include ../../make.conf
20 @MCOMMON@
22 IOBJS = SDL_surface.o SDL_rwops.o SDL_error.o SDL_to_picinfo.o \
23 IMG_gif.o
24 CXXINCLUDES=$(XINC) $(JINC)
25 CXXOPT=-I../.. -I../../include $(CFLAGS) $(DEFS) $(DEB) $(PSEUDO) $(PCX) $(TIFF) $(BMP) $(XBM) $(XPM) $(TGA) $(PCD) $(PNG)
29 all:: $(IOBJS)
31 SDL_surface.o: SDL_surface.c
32 $(CC) -c SDL_surface.c $(CXXOPT) $(INCLUDES) $(CPPFLAGS)
34 SDL_error.o: SDL_error.c
35 $(CC) -c SDL_error.c $(CXXOPT) $(INCLUDES) $(CPPFLAGS)
37 SDL_to_picinfo.o: SDL_to_picinfo.c
38 $(CC) -c SDL_to_picinfo.c $(CXXOPT) $(INCLUDES) $(CPPFLAGS)
40 SDL_rwops.o: SDL_rwops.c
41 $(CC) -c SDL_rwops.c $(CXXOPT) $(INCLUDES) $(CPPFLAGS)
43 IMG_gif.o: IMG_gif.c
44 $(CC) -c IMG_gif.c $(CXXOPT) $(INCLUDES) $(CPPFLAGS)
46 jpeg.o: jpeg.c
47 $(CC) -c jpeg.c $(CXXOPT) $(INCLUDES) $(CPPFLAGS)
49 accel.o: accel.c
50 $(CC) -c accel.c $(CXXOPT) $(CXXINCLUDES) $(CPPFLAGS)
52 pcdr.o: pcdr.c
53 $(CC) -c pcdr.c $(CXXOPT) $(INCLUDES) $(CPPFLAGS)
55 inter.o: inter.c
56 $(CC) -c inter.c $(CXXOPT) $(INCLUDES) $(CPPFLAGS)
58 huff.o: huff.c
59 $(CC) -c huff.c $(CXXOPT) $(INCLUDES) $(CPPFLAGS)
61 file.o: file.c
62 $(CC) -c file.c $(CXXOPT) $(INCLUDES) $(CPPFLAGS)
64 yuv2rgb.o: yuv2rgb.c
65 $(CC) -c yuv2rgb.c $(CXXOPT) $(INCLUDES) $(CPPFLAGS)
67 tiffr.o: tiffr.c
68 $(CC) -c tiffr.c $(CXXOPT) $(INCLUDES) $(CPPFLAGS)
70 png.o: png.c
71 $(CC) -c png.c $(CXXOPT) $(INCLUDES) $(ZINC) $(PNGINC) $(CPPFLAGS)
73 ../zlib/libz.a:
74 cd ../zlib && make
76 ../libpng/libpng.a:
77 cd ../libpng && make
79 pcxr.o: pcxr.c
80 $(CC) -c pcxr.c $(CXXOPT) $(INCLUDES) $(CPPFLAGS)
82 libie.a: $(IOBJS)
83 $(RM) -f libie.a
84 ar rc libie.a $(IOBJS)
85 @RANLIB@ libie.a
87 clean:
88 $(RM) -f libie.a
89 $(RM) -f *.o
91 FORCE: