Glenn Randers-Pehrson | 2ae022d | 2002-07-01 22:23:46 -0500 | [diff] [blame] | 1 | # makefile for libpng on Solaris 2.x with cc |
Glenn Randers-Pehrson | c1bfe68 | 2002-03-06 22:08:00 -0600 | [diff] [blame] | 2 | # Contributed by William L. Sebok, based on makefile.linux |
Glenn Randers-Pehrson | 5c60b23 | 2006-03-07 07:09:22 -0600 | [diff] [blame] | 3 | # Copyright (C) 2002, 2006 Glenn Randers-Pehrson |
Glenn Randers-Pehrson | c1bfe68 | 2002-03-06 22:08:00 -0600 | [diff] [blame] | 4 | # Copyright (C) 1998 Greg Roelofs |
| 5 | # Copyright (C) 1996, 1997 Andreas Dilger |
| 6 | # For conditions of distribution and use, see copyright notice in png.h |
| 7 | |
Glenn Randers-Pehrson | 4deeb79 | 2006-03-22 16:21:59 -0600 | [diff] [blame] | 8 | # Library name: |
Glenn Randers-Pehrson | 1721829 | 2006-04-20 07:20:46 -0500 | [diff] [blame] | 9 | LIBNAME=libpng14 |
Glenn Randers-Pehrson | f46918d | 2006-06-02 05:31:20 -0500 | [diff] [blame] | 10 | PNGMAJ = 1 |
Glenn Randers-Pehrson | 895a9c9 | 2008-07-25 08:51:18 -0500 | [diff] [blame^] | 11 | PNGMIN = 1.4.0beta24 |
Glenn Randers-Pehrson | 5c60b23 | 2006-03-07 07:09:22 -0600 | [diff] [blame] | 12 | PNGVER = $(PNGMAJ).$(PNGMIN) |
| 13 | |
Glenn Randers-Pehrson | 4deeb79 | 2006-03-22 16:21:59 -0600 | [diff] [blame] | 14 | # Shared library names: |
| 15 | LIBSO=$(LIBNAME).so |
| 16 | LIBSOMAJ=$(LIBNAME).so.$(PNGMAJ) |
| 17 | LIBSOVER=$(LIBNAME).so.$(PNGVER) |
| 18 | OLDSO=libpng.so |
Glenn Randers-Pehrson | 4deeb79 | 2006-03-22 16:21:59 -0600 | [diff] [blame] | 19 | |
| 20 | # Utilities: |
Glenn Randers-Pehrson | c1bfe68 | 2002-03-06 22:08:00 -0600 | [diff] [blame] | 21 | CC=cc |
Glenn Randers-Pehrson | 5c60b23 | 2006-03-07 07:09:22 -0600 | [diff] [blame] | 22 | AR_RC=ar rc |
| 23 | MKDIR_P=mkdir -p |
| 24 | LN_SF=ln -f -s |
| 25 | RANLIB=echo |
| 26 | RM_F=/bin/rm -f |
| 27 | |
Glenn Randers-Pehrson | c1bfe68 | 2002-03-06 22:08:00 -0600 | [diff] [blame] | 28 | SUN_CC_FLAGS=-fast -xtarget=ultra -xarch=v9 |
| 29 | SUN_LD_FLAGS=-fast -xtarget=ultra -xarch=v9 |
| 30 | |
Glenn Randers-Pehrson | 1721829 | 2006-04-20 07:20:46 -0500 | [diff] [blame] | 31 | # where make install puts libpng.a, libpng14.so and libpng14/png.h |
Glenn Randers-Pehrson | c1bfe68 | 2002-03-06 22:08:00 -0600 | [diff] [blame] | 32 | prefix=/a |
Glenn Randers-Pehrson | ad31054 | 2006-04-18 05:31:20 -0500 | [diff] [blame] | 33 | exec_prefix=$(prefix) |
Glenn Randers-Pehrson | c1bfe68 | 2002-03-06 22:08:00 -0600 | [diff] [blame] | 34 | |
| 35 | # Where the zlib library and include files are located |
| 36 | # Changing these to ../zlib poses a security risk. If you want |
| 37 | # to have zlib in an adjacent directory, specify the full path instead of "..". |
| 38 | #ZLIBLIB=../zlib |
| 39 | #ZLIBINC=../zlib |
| 40 | |
| 41 | ZLIBLIB=/usr/lib |
| 42 | ZLIBINC=/usr/include |
| 43 | |
| 44 | WARNMORE=-Wwrite-strings -Wpointer-arith -Wshadow \ |
| 45 | -Wmissing-declarations -Wtraditional -Wcast-align \ |
| 46 | -Wstrict-prototypes -Wmissing-prototypes #-Wconversion |
| 47 | CFLAGS=-I$(ZLIBINC) $(SUN_CC_FLAGS) \ |
| 48 | # $(WARNMORE) -g -DPNG_DEBUG=5 |
Glenn Randers-Pehrson | 1721829 | 2006-04-20 07:20:46 -0500 | [diff] [blame] | 49 | LDFLAGS=-L. -R. $(SUN_LD_FLAGS) -L$(ZLIBLIB) -R$(ZLIBLIB) -lpng14 -lz -lm |
Glenn Randers-Pehrson | 5b5dcf8 | 2004-07-17 22:45:44 -0500 | [diff] [blame] | 50 | |
Glenn Randers-Pehrson | c1bfe68 | 2002-03-06 22:08:00 -0600 | [diff] [blame] | 51 | INCPATH=$(prefix)/include |
Glenn Randers-Pehrson | 5c60b23 | 2006-03-07 07:09:22 -0600 | [diff] [blame] | 52 | LIBPATH=$(exec_prefix)/lib |
Glenn Randers-Pehrson | 03008a0 | 2002-04-27 10:11:25 -0500 | [diff] [blame] | 53 | MANPATH=$(prefix)/man |
Glenn Randers-Pehrson | 5c60b23 | 2006-03-07 07:09:22 -0600 | [diff] [blame] | 54 | BINPATH=$(exec_prefix)/bin |
Glenn Randers-Pehrson | 03008a0 | 2002-04-27 10:11:25 -0500 | [diff] [blame] | 55 | |
| 56 | # override DESTDIR= on the make install command line to easily support |
| 57 | # installing into a temporary location. Example: |
| 58 | # |
| 59 | # make install DESTDIR=/tmp/build/libpng |
| 60 | # |
| 61 | # If you're going to install into a temporary location |
Glenn Randers-Pehrson | 07748d1 | 2002-05-25 11:12:10 -0500 | [diff] [blame] | 62 | # via DESTDIR, $(DESTDIR)$(prefix) must already exist before |
Glenn Randers-Pehrson | 03008a0 | 2002-04-27 10:11:25 -0500 | [diff] [blame] | 63 | # you execute make install. |
| 64 | DESTDIR= |
Glenn Randers-Pehrson | c1bfe68 | 2002-03-06 22:08:00 -0600 | [diff] [blame] | 65 | |
Glenn Randers-Pehrson | 07748d1 | 2002-05-25 11:12:10 -0500 | [diff] [blame] | 66 | DB=$(DESTDIR)$(BINPATH) |
| 67 | DI=$(DESTDIR)$(INCPATH) |
| 68 | DL=$(DESTDIR)$(LIBPATH) |
| 69 | DM=$(DESTDIR)$(MANPATH) |
Glenn Randers-Pehrson | cfbed9b | 2002-05-21 18:06:08 -0500 | [diff] [blame] | 70 | |
Glenn Randers-Pehrson | c1bfe68 | 2002-03-06 22:08:00 -0600 | [diff] [blame] | 71 | OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o \ |
| 72 | pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o \ |
| 73 | pngwtran.o pngmem.o pngerror.o pngpread.o |
| 74 | |
| 75 | OBJSDLL = $(OBJS:.o=.pic.o) |
| 76 | |
| 77 | .SUFFIXES: .c .o .pic.o |
| 78 | |
| 79 | .c.pic.o: |
| 80 | $(CC) -c $(CFLAGS) -KPIC -o $@ $*.c |
| 81 | |
Glenn Randers-Pehrson | beb572e | 2006-08-19 13:59:24 -0500 | [diff] [blame] | 82 | all: libpng.a $(LIBSO) pngtest libpng.pc libpng-config pngdefs.h |
| 83 | |
| 84 | pngdefs.h: |
| 85 | echo "/* pngdefs.h was built by makefile.64sunu */" > pngdefs.h |
Glenn Randers-Pehrson | c1bfe68 | 2002-03-06 22:08:00 -0600 | [diff] [blame] | 86 | |
| 87 | libpng.a: $(OBJS) |
Glenn Randers-Pehrson | 5c60b23 | 2006-03-07 07:09:22 -0600 | [diff] [blame] | 88 | $(AR_RC) $@ $(OBJS) |
Glenn Randers-Pehrson | c1bfe68 | 2002-03-06 22:08:00 -0600 | [diff] [blame] | 89 | $(RANLIB) $@ |
| 90 | |
Glenn Randers-Pehrson | 03008a0 | 2002-04-27 10:11:25 -0500 | [diff] [blame] | 91 | libpng.pc: |
| 92 | cat scripts/libpng.pc.in | sed -e s\!@PREFIX@!$(prefix)! > libpng.pc |
| 93 | |
Glenn Randers-Pehrson | 837a3d1 | 2002-05-10 20:19:58 -0500 | [diff] [blame] | 94 | libpng-config: |
| 95 | ( cat scripts/libpng-config-head.in; \ |
| 96 | echo prefix=\"$(prefix)\"; \ |
Glenn Randers-Pehrson | 5ff38d3 | 2002-09-17 23:38:46 -0500 | [diff] [blame] | 97 | echo libdir=\"$(LIBPATH)\"; \ |
| 98 | echo I_opts=\"-I$(INCPATH)/$(LIBNAME)\"; \ |
| 99 | echo L_opts=\"-L$(LIBPATH)\"; \ |
| 100 | echo R_opts=\"-R$(LIBPATH)\"; \ |
| 101 | echo ccopts=\"-xtarget=ultra -xarch=v9\"; \ |
Glenn Randers-Pehrson | 0cc2f95 | 2002-10-03 06:32:37 -0500 | [diff] [blame] | 102 | echo ldopts=\"-xtarget=ultra -xarch=v9\"; \ |
Glenn Randers-Pehrson | 1721829 | 2006-04-20 07:20:46 -0500 | [diff] [blame] | 103 | echo libs=\"-lpng14 -lz -lm\"; \ |
Glenn Randers-Pehrson | 837a3d1 | 2002-05-10 20:19:58 -0500 | [diff] [blame] | 104 | cat scripts/libpng-config-body.in ) > libpng-config |
| 105 | chmod +x libpng-config |
| 106 | |
Glenn Randers-Pehrson | 4deeb79 | 2006-03-22 16:21:59 -0600 | [diff] [blame] | 107 | $(LIBSO): $(LIBSOMAJ) |
| 108 | $(LN_SF) $(LIBSOMAJ) $(LIBSO) |
Glenn Randers-Pehrson | c1bfe68 | 2002-03-06 22:08:00 -0600 | [diff] [blame] | 109 | |
Glenn Randers-Pehrson | 4deeb79 | 2006-03-22 16:21:59 -0600 | [diff] [blame] | 110 | $(LIBSOMAJ): $(LIBSOVER) |
| 111 | $(LN_SF) $(LIBSOVER) $(LIBSOMAJ) |
Glenn Randers-Pehrson | c1bfe68 | 2002-03-06 22:08:00 -0600 | [diff] [blame] | 112 | |
Glenn Randers-Pehrson | 4deeb79 | 2006-03-22 16:21:59 -0600 | [diff] [blame] | 113 | $(LIBSOVER): $(OBJSDLL) |
Glenn Randers-Pehrson | c1bfe68 | 2002-03-06 22:08:00 -0600 | [diff] [blame] | 114 | @case "`type ld`" in *ucb*) \ |
| 115 | echo; \ |
| 116 | echo '## WARNING:'; \ |
| 117 | echo '## The commands "CC" and "LD" must NOT refer to /usr/ucb/cc'; \ |
| 118 | echo '## and /usr/ucb/ld. If they do, you need to adjust your PATH'; \ |
| 119 | echo '## environment variable to put /usr/ccs/bin ahead of /usr/ucb.'; \ |
| 120 | echo '## The environment variable LD_LIBRARY_PATH should not be set'; \ |
| 121 | echo '## at all. If it is, things are likely to break because of'; \ |
| 122 | echo '## the libucb dependency that is created.'; \ |
| 123 | echo; \ |
| 124 | ;; \ |
| 125 | esac |
Glenn Randers-Pehrson | 4deeb79 | 2006-03-22 16:21:59 -0600 | [diff] [blame] | 126 | $(LD) -G -L$(ZLIBLIB) -R$(ZLIBLIB) -h $(LIBSOMAJ) \ |
| 127 | -o $(LIBSOVER) $(OBJSDLL) |
Glenn Randers-Pehrson | c1bfe68 | 2002-03-06 22:08:00 -0600 | [diff] [blame] | 128 | |
Glenn Randers-Pehrson | 4deeb79 | 2006-03-22 16:21:59 -0600 | [diff] [blame] | 129 | pngtest: pngtest.o $(LIBSO) |
Glenn Randers-Pehrson | c1bfe68 | 2002-03-06 22:08:00 -0600 | [diff] [blame] | 130 | $(CC) -o pngtest $(CFLAGS) pngtest.o $(LDFLAGS) |
| 131 | |
| 132 | test: pngtest |
| 133 | ./pngtest |
| 134 | |
Glenn Randers-Pehrson | beb572e | 2006-08-19 13:59:24 -0500 | [diff] [blame] | 135 | install-headers: png.h pngconf.h pngdefs.h |
Glenn Randers-Pehrson | 1ce0836 | 2006-03-08 23:35:59 -0600 | [diff] [blame] | 136 | -@if [ ! -d $(DI) ]; then $(MKDIR_P) $(DI); fi |
| 137 | -@if [ ! -d $(DI)/$(LIBNAME) ]; then $(MKDIR_P) $(DI)/$(LIBNAME); fi |
Glenn Randers-Pehrson | beb572e | 2006-08-19 13:59:24 -0500 | [diff] [blame] | 138 | cp png.h pngconf.h pngdefs.h $(DI)/$(LIBNAME) |
Glenn Randers-Pehrson | 07748d1 | 2002-05-25 11:12:10 -0500 | [diff] [blame] | 139 | chmod 644 $(DI)/$(LIBNAME)/png.h $(DI)/$(LIBNAME)/pngconf.h |
Glenn Randers-Pehrson | beb572e | 2006-08-19 13:59:24 -0500 | [diff] [blame] | 140 | chmod 644 $(DI)/$(LIBNAME)/pngdefs.h |
| 141 | -@$(RM_F) $(DI)/png.h $(DI)/pngconf.h $(DI)/pngdefs.h |
Glenn Randers-Pehrson | 5c60b23 | 2006-03-07 07:09:22 -0600 | [diff] [blame] | 142 | -@$(RM_F) $(DI)/libpng |
| 143 | (cd $(DI); $(LN_SF) $(LIBNAME) libpng; $(LN_SF) $(LIBNAME)/* .) |
Glenn Randers-Pehrson | c1bfe68 | 2002-03-06 22:08:00 -0600 | [diff] [blame] | 144 | |
| 145 | install-static: install-headers libpng.a |
Glenn Randers-Pehrson | 1ce0836 | 2006-03-08 23:35:59 -0600 | [diff] [blame] | 146 | -@if [ ! -d $(DL) ]; then $(MKDIR_P) $(DL); fi |
Glenn Randers-Pehrson | cfbed9b | 2002-05-21 18:06:08 -0500 | [diff] [blame] | 147 | cp libpng.a $(DL)/$(LIBNAME).a |
| 148 | chmod 644 $(DL)/$(LIBNAME).a |
Glenn Randers-Pehrson | 5c60b23 | 2006-03-07 07:09:22 -0600 | [diff] [blame] | 149 | -@$(RM_F) $(DL)/libpng.a |
| 150 | (cd $(DL); $(LN_SF) $(LIBNAME).a libpng.a) |
Glenn Randers-Pehrson | c1bfe68 | 2002-03-06 22:08:00 -0600 | [diff] [blame] | 151 | |
Glenn Randers-Pehrson | d60b8fa | 2006-04-20 21:31:14 -0500 | [diff] [blame] | 152 | install-shared: install-headers $(LIBSOVER) libpng.pc |
Glenn Randers-Pehrson | 1ce0836 | 2006-03-08 23:35:59 -0600 | [diff] [blame] | 153 | -@if [ ! -d $(DL) ]; then $(MKDIR_P) $(DL); fi |
Glenn Randers-Pehrson | 4deeb79 | 2006-03-22 16:21:59 -0600 | [diff] [blame] | 154 | -@$(RM_F) $(DL)/$(LIBSOVER)* $(DL)/$(LIBSO) |
| 155 | -@$(RM_F) $(DL)/$(LIBSOMAJ) |
| 156 | -@$(RM_F) $(DL)/$(LIBSO) |
| 157 | -@$(RM_F) $(DL)/$(OLDSO) |
Glenn Randers-Pehrson | 4deeb79 | 2006-03-22 16:21:59 -0600 | [diff] [blame] | 158 | cp $(LIBSOVER) $(DL) |
Glenn Randers-Pehrson | 4deeb79 | 2006-03-22 16:21:59 -0600 | [diff] [blame] | 159 | chmod 755 $(DL)/$(LIBSOVER) |
Glenn Randers-Pehrson | cfbed9b | 2002-05-21 18:06:08 -0500 | [diff] [blame] | 160 | (cd $(DL); \ |
Glenn Randers-Pehrson | 4deeb79 | 2006-03-22 16:21:59 -0600 | [diff] [blame] | 161 | $(LN_SF) $(LIBSOVER) $(LIBSOMAJ); \ |
Glenn Randers-Pehrson | d60b8fa | 2006-04-20 21:31:14 -0500 | [diff] [blame] | 162 | $(LN_SF) $(LIBSOMAJ) $(LIBSO); \ |
| 163 | $(LN_SF) $(OLDSO) $(LIBSO)) |
Glenn Randers-Pehrson | 1ce0836 | 2006-03-08 23:35:59 -0600 | [diff] [blame] | 164 | -@if [ ! -d $(DL)/pkgconfig ]; then $(MKDIR_P) $(DL)/pkgconfig; fi |
Glenn Randers-Pehrson | 5c60b23 | 2006-03-07 07:09:22 -0600 | [diff] [blame] | 165 | -@$(RM_F) $(DL)/pkgconfig/$(LIBNAME).pc |
| 166 | -@$(RM_F) $(DL)/pkgconfig/libpng.pc |
Glenn Randers-Pehrson | cfbed9b | 2002-05-21 18:06:08 -0500 | [diff] [blame] | 167 | cp libpng.pc $(DL)/pkgconfig/$(LIBNAME).pc |
| 168 | chmod 644 $(DL)/pkgconfig/$(LIBNAME).pc |
Glenn Randers-Pehrson | 5c60b23 | 2006-03-07 07:09:22 -0600 | [diff] [blame] | 169 | (cd $(DL)/pkgconfig; $(LN_SF) $(LIBNAME).pc libpng.pc) |
Glenn Randers-Pehrson | 03008a0 | 2002-04-27 10:11:25 -0500 | [diff] [blame] | 170 | |
| 171 | install-man: libpng.3 libpngpf.3 png.5 |
Glenn Randers-Pehrson | 1ce0836 | 2006-03-08 23:35:59 -0600 | [diff] [blame] | 172 | -@if [ ! -d $(DM) ]; then $(MKDIR_P) $(DM); fi |
| 173 | -@if [ ! -d $(DM)/man3 ]; then $(MKDIR_P) $(DM)/man3; fi |
Glenn Randers-Pehrson | 5c60b23 | 2006-03-07 07:09:22 -0600 | [diff] [blame] | 174 | -@$(RM_F) $(DM)/man3/libpng.3 |
| 175 | -@$(RM_F) $(DM)/man3/libpngpf.3 |
Glenn Randers-Pehrson | cfbed9b | 2002-05-21 18:06:08 -0500 | [diff] [blame] | 176 | cp libpng.3 $(DM)/man3 |
| 177 | cp libpngpf.3 $(DM)/man3 |
Glenn Randers-Pehrson | 1ce0836 | 2006-03-08 23:35:59 -0600 | [diff] [blame] | 178 | -@if [ ! -d $(DM)/man5 ]; then $(MKDIR_P) $(DM)/man5; fi |
Glenn Randers-Pehrson | 5c60b23 | 2006-03-07 07:09:22 -0600 | [diff] [blame] | 179 | -@$(RM_F) $(DM)/man5/png.5 |
Glenn Randers-Pehrson | cfbed9b | 2002-05-21 18:06:08 -0500 | [diff] [blame] | 180 | cp png.5 $(DM)/man5 |
Glenn Randers-Pehrson | 03008a0 | 2002-04-27 10:11:25 -0500 | [diff] [blame] | 181 | |
Glenn Randers-Pehrson | 837a3d1 | 2002-05-10 20:19:58 -0500 | [diff] [blame] | 182 | install-config: libpng-config |
Glenn Randers-Pehrson | 1ce0836 | 2006-03-08 23:35:59 -0600 | [diff] [blame] | 183 | -@if [ ! -d $(DB) ]; then $(MKDIR_P) $(DB); fi |
Glenn Randers-Pehrson | 5c60b23 | 2006-03-07 07:09:22 -0600 | [diff] [blame] | 184 | -@$(RM_F) $(DB)/libpng-config |
| 185 | -@$(RM_F) $(DB)/$(LIBNAME)-config |
Glenn Randers-Pehrson | cfbed9b | 2002-05-21 18:06:08 -0500 | [diff] [blame] | 186 | cp libpng-config $(DB)/$(LIBNAME)-config |
| 187 | chmod 755 $(DB)/$(LIBNAME)-config |
Glenn Randers-Pehrson | 5c60b23 | 2006-03-07 07:09:22 -0600 | [diff] [blame] | 188 | (cd $(DB); $(LN_SF) $(LIBNAME)-config libpng-config) |
Glenn Randers-Pehrson | 704228f | 2002-05-02 20:49:40 -0500 | [diff] [blame] | 189 | |
| 190 | install: install-static install-shared install-man install-config |
Glenn Randers-Pehrson | c1bfe68 | 2002-03-06 22:08:00 -0600 | [diff] [blame] | 191 | |
Glenn Randers-Pehrson | d020e9d | 2002-06-28 09:34:00 -0500 | [diff] [blame] | 192 | # If you installed in $(DESTDIR), test-installed won't work until you |
Glenn Randers-Pehrson | a4981d4 | 2004-08-25 22:00:45 -0500 | [diff] [blame] | 193 | # move the library to its final location. Use test-dd to test it |
| 194 | # before then. |
| 195 | |
| 196 | test-dd: |
| 197 | echo |
| 198 | echo Testing installed dynamic shared library in $(DL). |
| 199 | $(CC) $(SUN_CC_FLAGS) -I$(DI) -I$(ZLIBINC) \ |
Glenn Randers-Pehrson | 5c60b23 | 2006-03-07 07:09:22 -0600 | [diff] [blame] | 200 | `$(BINPATH)/$(LIBNAME)-config --cflags` pngtest.c \ |
| 201 | -o pngtestd -L$(DL) -R$(DL) `$(BINPATH)/$(LIBNAME)-config --ldflags` \ |
Glenn Randers-Pehrson | a4981d4 | 2004-08-25 22:00:45 -0500 | [diff] [blame] | 202 | $(SUN_LD_FLAGS) -L$(ZLIBLIB) -R$(ZLIBLIB) |
| 203 | ./pngtestd pngtest.png |
Glenn Randers-Pehrson | d020e9d | 2002-06-28 09:34:00 -0500 | [diff] [blame] | 204 | |
| 205 | test-installed: |
| 206 | echo |
| 207 | echo Testing installed dynamic shared library. |
| 208 | $(CC) $(SUN_CC_FLAGS) -I$(ZLIBINC) \ |
Glenn Randers-Pehrson | 5c60b23 | 2006-03-07 07:09:22 -0600 | [diff] [blame] | 209 | `$(BINPATH)/$(LIBNAME)-config --cflags` pngtest.c \ |
| 210 | -o pngtesti `$(BINPATH)/$(LIBNAME)-config --ldflags` \ |
Glenn Randers-Pehrson | d020e9d | 2002-06-28 09:34:00 -0500 | [diff] [blame] | 211 | $(SUN_LD_FLAGS) -L$(ZLIBLIB) -R$(ZLIBLIB) |
Glenn Randers-Pehrson | 2ae022d | 2002-07-01 22:23:46 -0500 | [diff] [blame] | 212 | ./pngtesti pngtest.png |
Glenn Randers-Pehrson | d020e9d | 2002-06-28 09:34:00 -0500 | [diff] [blame] | 213 | |
Glenn Randers-Pehrson | c1bfe68 | 2002-03-06 22:08:00 -0600 | [diff] [blame] | 214 | clean: |
Glenn Randers-Pehrson | 5c60b23 | 2006-03-07 07:09:22 -0600 | [diff] [blame] | 215 | $(RM_F) *.o libpng.a pngtest pngtesti pngout.png \ |
Glenn Randers-Pehrson | 4deeb79 | 2006-03-22 16:21:59 -0600 | [diff] [blame] | 216 | libpng-config $(LIBSO) $(LIBSOMAJ)* \ |
Glenn Randers-Pehrson | beb572e | 2006-08-19 13:59:24 -0500 | [diff] [blame] | 217 | libpng.pc pngdefs.h |
Glenn Randers-Pehrson | c1bfe68 | 2002-03-06 22:08:00 -0600 | [diff] [blame] | 218 | |
| 219 | DOCS = ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO Y2KINFO |
| 220 | writelock: |
| 221 | chmod a-w *.[ch35] $(DOCS) scripts/* |
| 222 | |
| 223 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
| 224 | |
Glenn Randers-Pehrson | beb572e | 2006-08-19 13:59:24 -0500 | [diff] [blame] | 225 | png.o png.pic.o: png.h pngconf.h pngdefs.h pngpriv.h |
| 226 | pngerror.o pngerror.pic.o: png.h pngconf.h pngdefs.h pngpriv.h |
| 227 | pngrio.o pngrio.pic.o: png.h pngconf.h pngdefs.h pngpriv.h |
| 228 | pngwio.o pngwio.pic.o: png.h pngconf.h pngdefs.h pngpriv.h |
| 229 | pngmem.o pngmem.pic.o: png.h pngconf.h pngdefs.h pngpriv.h |
| 230 | pngset.o pngset.pic.o: png.h pngconf.h pngdefs.h pngpriv.h |
| 231 | pngget.o pngget.pic.o: png.h pngconf.h pngdefs.h pngpriv.h |
| 232 | pngread.o pngread.pic.o: png.h pngconf.h pngdefs.h pngpriv.h |
| 233 | pngrtran.o pngrtran.pic.o: png.h pngconf.h pngdefs.h pngpriv.h |
| 234 | pngrutil.o pngrutil.pic.o: png.h pngconf.h pngdefs.h pngpriv.h |
| 235 | pngtrans.o pngtrans.pic.o: png.h pngconf.h pngdefs.h pngpriv.h |
| 236 | pngwrite.o pngwrite.pic.o: png.h pngconf.h pngdefs.h pngpriv.h |
| 237 | pngwtran.o pngwtran.pic.o: png.h pngconf.h pngdefs.h pngpriv.h |
| 238 | pngwutil.o pngwutil.pic.o: png.h pngconf.h pngdefs.h pngpriv.h |
| 239 | pngpread.o pngpread.pic.o: png.h pngconf.h pngdefs.h pngpriv.h |
Glenn Randers-Pehrson | c1bfe68 | 2002-03-06 22:08:00 -0600 | [diff] [blame] | 240 | |
Glenn Randers-Pehrson | beb572e | 2006-08-19 13:59:24 -0500 | [diff] [blame] | 241 | pngtest.o: png.h pngconf.h pngdefs.h |