1996-01-26 02:38:47 -05:00
|
|
|
|
|
|
|
cc_defs = /inc=$(ZLIBSRC)
|
|
|
|
c_deb =
|
|
|
|
|
|
|
|
.ifdef __DECC__
|
|
|
|
pref = /prefix=all
|
|
|
|
.endif
|
|
|
|
|
|
|
|
|
|
|
|
|
1997-05-16 03:46:07 -04:00
|
|
|
OBJS = png.obj, pngset.obj, pngget.obj, pngrutil.obj, pngtrans.obj,\
|
|
|
|
pngwutil.obj, pngread.obj, pngmem.obj, pngwrite.obj, pngrtran.obj,\
|
|
|
|
pngwtran.obj, pngrio.obj, pngwio.obj, pngerror.obj, pngpread.obj
|
1996-01-26 02:38:47 -05:00
|
|
|
|
|
|
|
|
|
|
|
CFLAGS= $(C_DEB) $(CC_DEFS) $(PREF)
|
|
|
|
|
2006-08-19 14:59:24 -04:00
|
|
|
all : pngtest.exe libpng.olb pngdefs.h
|
1996-01-26 02:38:47 -05:00
|
|
|
@ write sys$output " pngtest available"
|
|
|
|
|
2006-08-19 14:59:24 -04:00
|
|
|
pngdefs.h:
|
|
|
|
echo "/* pngdefs.h was built by MMS */" > pngdefs.h
|
|
|
|
|
1996-01-26 02:38:47 -05:00
|
|
|
libpng.olb : libpng.olb($(OBJS))
|
|
|
|
@ write sys$output " Libpng available"
|
|
|
|
|
|
|
|
|
|
|
|
pngtest.exe : pngtest.obj libpng.olb
|
|
|
|
link pngtest,libpng.olb/lib,$(ZLIBSRC)libz.olb/lib
|
|
|
|
|
|
|
|
test : pngtest.exe
|
|
|
|
run pngtest
|
|
|
|
|
|
|
|
clean :
|
2006-08-19 14:59:24 -04:00
|
|
|
delete *.obj;*,*.exe;*,pngdefs.h
|
1996-01-26 02:38:47 -05:00
|
|
|
|
|
|
|
|
|
|
|
# Other dependencies.
|
2006-08-19 14:59:24 -04:00
|
|
|
png.obj : png.h, pngconf.h, pngdefs.h, pngpriv.h
|
|
|
|
pngpread.obj : png.h, pngconf.h, pngdefs.h, pngpriv.h
|
|
|
|
pngset.obj : png.h, pngconf.h, pngdefs.h, pngpriv.h
|
|
|
|
pngget.obj : png.h, pngconf.h, pngdefs.h, pngpriv.h
|
|
|
|
pngread.obj : png.h, pngconf.h, pngdefs.h, pngpriv.h
|
|
|
|
pngrtran.obj : png.h, pngconf.h, pngdefs.h, pngpriv.h
|
|
|
|
pngrutil.obj : png.h, pngconf.h, pngdefs.h, pngpriv.h
|
|
|
|
pngerror.obj : png.h, pngconf.h, pngdefs.h, pngpriv.h
|
|
|
|
pngmem.obj : png.h, pngconf.h, pngdefs.h, pngpriv.h
|
|
|
|
pngrio.obj : png.h, pngconf.h, pngdefs.h, pngpriv.h
|
|
|
|
pngwio.obj : png.h, pngconf.h, pngdefs.h, pngpriv.h
|
|
|
|
pngtrans.obj : png.h, pngconf.h, pngdefs.h, pngpriv.h
|
|
|
|
pngwrite.obj : png.h, pngconf.h, pngdefs.h, pngpriv.h
|
|
|
|
pngwtran.obj : png.h, pngconf.h, pngdefs.h, pngpriv.h
|
|
|
|
pngwutil.obj : png.h, pngconf.h, pngdefs.h, pngpriv.h
|
|
|
|
pngtest.obj : png.h, pngconf.h, pngdefs.h
|