Removed support of pngprefs.h from makefiles.

It is no longer used since the MMX support was removed.
This commit is contained in:
Glenn Randers-Pehrson glennrp@comcast.net
2009-05-02 15:36:08 -05:00
parent 4cd137127f
commit 7ecf7bdc6b
53 changed files with 4281 additions and 1485 deletions

View File

@@ -30,10 +30,7 @@ OBJS = $(LBR)(png.o) $(LBR)(pngset.o) $(LBR)(pngget.o) $(LBR)(pngrutil.o)\
$(LBR)(pngrtran.o) $(LBR)(pngwtran.o)\
$(LBR)(pngmem.o) $(LBR)(pngrio.o) $(LBR)(pngwio.o) $(LBR)(pngpread.o)
all: $(LBR) pngtest.ttp pngdefs.h
pngdefs.h:
echo "/* pngdefs.h was built by makefile.atari */" > pngdefs.h
all: $(LBR) pngtest.ttp
$(LBR): $(OBJS)
@@ -46,12 +43,9 @@ install: libpng.a
-@mkdir $(DESTDIR)$(LIBPATH)
-@rm -f $(DESTDIR)$(INCPATH)/png.h
-@rm -f $(DESTDIR)$(INCPATH)/pngconf.h
-@rm -f $(DESTDIR)$(INCPATH)/pngdefs.h
cp png.h $(DESTDIR)$(INCPATH)/libpng
cp pngconf.h $(DESTDIR)$(INCPATH)/libpng
cp pngdefs.h $(DESTDIR)$(INCPATH)/libpng
chmod 644 $(DESTDIR)$(INCPATH)/libpng/png.h
chmod 644 $(DESTDIR)$(INCPATH)/libpng/pngconf.h
chmod 644 $(DESTDIR)$(INCPATH)/libpng/pngdefs.h
(cd $(DESTDIR)$(INCPATH); ln -f -s $(LIBNAME) libpng; \
ln -f -s $(LIBNAME)/* .)