X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3b1e466ce90add92087215ac0f96ca2db13d7ef3..d54598dd855e64cf2086b73cb3b8e3b99c513bbc:/src/png/makefile.b32?ds=sidebyside diff --git a/src/png/makefile.b32 b/src/png/makefile.b32 index 6401e0a2de..024c80439d 100644 --- a/src/png/makefile.b32 +++ b/src/png/makefile.b32 @@ -7,79 +7,15 @@ # # "%W% %G%" # -# Makefile : Builds minimal example +# Makefile : Builds PNG library (BC++ 32-bit) # WXWIN and BCCDIR are set by parent make -WXDIR = $(WXWIN) -!include $(WXDIR)\src\makeb32.env - -WINPNGLIB = ..\..\lib\winpng.lib - -WXLIBDIR = $(WXDIR)\lib -WXINC = $(WXDIR)\include\msw -WXLIB = $(WXLIBDIR)\wx32.lib -LIBS=$(WXLIB) $(WXDIR)\lib\winpng.lib $(WXDIR)\lib\zlib.lib cw32 import32 ole2w32 - -!if "$(FINAL)" == "0" -LINKFLAGS=/v /Tpe /L$(WXLIBDIR);$(BCCDIR)\lib -OPT = -Od -DEBUG_FLAGS= -v -!else -LINKFLAGS=/Tpe /L$(WXLIBDIR);$(BCCDIR)\lib -OPT = -Od -DEBUG_FLAGS = -!endif -CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG) +LIBTARGET =..\..\lib\winpng.lib OBJECTS = png.obj pngread.obj pngrtran.obj pngrutil.obj \ - pngpread.obj pngtrans.obj pngwrite.obj pngwtran.obj pngwutil.obj \ - pngerror.obj pngmem.obj pngwio.obj pngrio.obj pngget.obj pngset.obj - -all: $(WINPNGLIB) - -$(WINPNGLIB): $(OBJECTS) - erase $(WINPNGLIB) - tlib $(WINPNGLIB) /P512 @&&! --+$(OBJECTS:.obj =.obj -+) -! - -.$(SRCSUFF).obj: - bcc32 $(CPPFLAGS) -c {$< } - -.c.obj: - bcc32 $(CPPFLAGS) -P- -c {$< } - -$(CFG): makefile.b32 - copy &&! --3 --P --d --w-hid --w-par --w-pia --w-aus --w-rch --Oxt --WE - --I$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/png;$(WXDIR)/src/zlib --I$(WXDIR)\include\wx\msw\gnuwin32 - --L$(BCCDIR)\lib --D__WXWIN__ --D__WXMSW__ --D__WINDOWS__ --DWIN32 -$(OPT) -$(DEBUG_FLAGS) -$(WIN95FLAG) -! $(CFG) + pngpread.obj pngtrans.obj pngwrite.obj pngwtran.obj pngwutil.obj \ + pngerror.obj pngmem.obj pngwio.obj pngrio.obj pngget.obj pngset.obj -clean: - -erase *.obj - -erase *.exe - -erase *.res - -erase *.map - -erase *.rws +!include $(WXWIN)\src\makelib.b32