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

@@ -12,7 +12,6 @@
## Where zlib.h, zconf.h and zlib_MODEL.lib are
ZLIB_DIR=..\zlib
## Compiler, linker and lib stuff
CC=bcc
LD=bcc
@@ -57,8 +56,8 @@ CFLAGS=-O2 -Z -X- -w -I$(ZLIB_DIR) -$(TARGET_CPU) $(MODEL_ARG) $(CDEBUG)
# -M generate map file
LDFLAGS=-M -L$(ZLIB_DIR) $(MODEL_ARG) $(LDEBUG)
## Variables
OBJS = \
png.obj \
pngerror.obj \
@@ -95,8 +94,8 @@ LIBOBJS = \
LIBNAME=libpng$(MODEL).lib
## Implicit rules
# Braces let make "batch" calls to the compiler,
# 2 calls instead of 12; space is important.
.c.obj:
@@ -105,12 +104,9 @@ LIBNAME=libpng$(MODEL).lib
.c.exe:
$(CC) $(CFLAGS) $(LDFLAGS) $*.c $(LIBNAME) zlib_$(MODEL).lib $(NOEHLIB)
## Major targets
all: libpng pngtest pngdefs.h
pngdefs.h:
echo "/* pngdefs.h was built by makefile.bor */" > pngdefs.h
all: libpng pngtest
libpng: $(LIBNAME)
@@ -119,24 +115,23 @@ pngtest: pngtest$(MODEL).exe
test: pngtest$(MODEL).exe
pngtest$(MODEL)
## Minor Targets
png.obj: png.c png.h pngconf.h pngdefs.h pngpriv.h
pngerror.obj: pngerror.c png.h pngconf.h pngdefs.h pngpriv.h
pngget.obj: pngget.c png.h pngconf.h pngdefs.h pngpriv.h
pngmem.obj: pngmem.c png.h pngconf.h pngdefs.h pngpriv.h
pngpread.obj: pngpread.c png.h pngconf.h pngdefs.h pngpriv.h
pngread.obj: pngread.c png.h pngconf.h pngdefs.h pngpriv.h
pngrio.obj: pngrio.c png.h pngconf.h pngdefs.h pngpriv.h
pngrtran.obj: pngrtran.c png.h pngconf.h pngdefs.h pngpriv.h
pngrutil.obj: pngrutil.c png.h pngconf.h pngdefs.h pngpriv.h
pngset.obj: pngset.c png.h pngconf.h pngdefs.h pngpriv.h
pngtrans.obj: pngtrans.c png.h pngconf.h pngdefs.h pngpriv.h
pngwio.obj: pngwio.c png.h pngconf.h pngdefs.h pngpriv.h
pngwrite.obj: pngwrite.c png.h pngconf.h pngdefs.h pngpriv.h
pngwtran.obj: pngwtran.c png.h pngconf.h pngdefs.h pngpriv.h
pngwutil.obj: pngwutil.c png.h pngconf.h pngdefs.h pngpriv.h
png.obj: png.c png.h pngconf.h pngpriv.h
pngerror.obj: pngerror.c png.h pngconf.h pngpriv.h
pngget.obj: pngget.c png.h pngconf.h pngpriv.h
pngmem.obj: pngmem.c png.h pngconf.h pngpriv.h
pngpread.obj: pngpread.c png.h pngconf.h pngpriv.h
pngread.obj: pngread.c png.h pngconf.h pngpriv.h
pngrio.obj: pngrio.c png.h pngconf.h pngpriv.h
pngrtran.obj: pngrtran.c png.h pngconf.h pngpriv.h
pngrutil.obj: pngrutil.c png.h pngconf.h pngpriv.h
pngset.obj: pngset.c png.h pngconf.h pngpriv.h
pngtrans.obj: pngtrans.c png.h pngconf.h pngpriv.h
pngwio.obj: pngwio.c png.h pngconf.h pngpriv.h
pngwrite.obj: pngwrite.c png.h pngconf.h pngpriv.h
pngwtran.obj: pngwtran.c png.h pngconf.h pngpriv.h
pngwutil.obj: pngwutil.c png.h pngconf.h pngpriv.h
$(LIBNAME): $(OBJS)
-del $(LIBNAME)
@@ -144,14 +139,12 @@ $(LIBNAME): $(OBJS)
$(LIBOBJS), libpng$(MODEL)
|
pngtest$(MODEL).obj: pngtest.c
$(CC) $(CFLAGS) -opngtest$(MODEL) -c pngtest.c
pngtest$(MODEL).exe: pngtest$(MODEL).obj
$(LD) $(LDFLAGS) pngtest$(MODEL).obj $(LIBNAME) zlib_$(MODEL).lib $(NOEHLIB)
# Clean up anything else you want
clean:
-del *.obj
@@ -159,7 +152,5 @@ clean:
-del *.lib
-del *.lst
-del *.map
-del pngdefs.h
# End of makefile for libpng