X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b61cc19c06d9795c73fc6fbe893e92898938c70e..a47ad3591bff06e4585b7209391138c4c97d2af8:/src/png/scripts/makefile.atari diff --git a/src/png/scripts/makefile.atari b/src/png/scripts/makefile.atari index 0e1ca72cfb..1aeb7d5b7d 100644 --- a/src/png/scripts/makefile.atari +++ b/src/png/scripts/makefile.atari @@ -38,6 +38,11 @@ all: $(LBR) pngtest.ttp $(LBR): $(OBJS) +$(OBJS): pngpriv.h png.h pngconf.h pnglibconf.h pnginfo.h pngstruct.h pngdebug.h + +pnglibconf.h: scripts/pnglibconf.h.prebuilt + cp scripts/pnglibconf.h.prebuilt pnglibconf.h + pngtest.ttp: pngtest.o $(LBR) $(CC) $(CFLAGS) $(LDFLAGS) -o$@ pngtest.o @@ -47,9 +52,12 @@ install: libpng.a -@mkdir $(DESTDIR)$(LIBPATH) -@rm -f $(DESTDIR)$(INCPATH)/png.h -@rm -f $(DESTDIR)$(INCPATH)/pngconf.h + -@rm -f $(DESTDIR)$(INCPATH)/pnglibconf.h cp png.h $(DESTDIR)$(INCPATH)/libpng cp pngconf.h $(DESTDIR)$(INCPATH)/libpng + cp pnglibconf.h $(DESTDIR)$(INCPATH)/libpng chmod 644 $(DESTDIR)$(INCPATH)/libpng/png.h chmod 644 $(DESTDIR)$(INCPATH)/libpng/pngconf.h + chmod 644 $(DESTDIR)$(INCPATH)/libpng/pnglibconf.h (cd $(DESTDIR)$(INCPATH); ln -f -s $(LIBNAME) libpng; \ ln -f -s $(LIBNAME)/* .)