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