X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8adeb85117fdef0900944da78ecac021835bde33..53ec4e97715cc01aee7cf3b991449a4aafba3909:/samples/html/makefile.wat diff --git a/samples/html/makefile.wat b/samples/html/makefile.wat index f152f07330..7e45631458 100644 --- a/samples/html/makefile.wat +++ b/samples/html/makefile.wat @@ -1,56 +1,118 @@ -# -# File: makefile.wat -# Author: Julian Smart -# Created: 1993 -# Updated: -# Copyright: (c) 1993, AIAI, University of Edinburgh -# -# "%W% %G%" -# -# Makefile : Builds samples for windows with Watcom -# Use FINAL=1 argument to wmake to build final version with no debugging -# info - -# Set WXDIR for your system -WXDIR = $(%WXWIN) - -THISDIR=$(WXDIR)\samples\html - -!include $(WXDIR)\src\makewat.env - -all: - cd $(WXDIR)\samples\html\about - wmake -f makefile.wat FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) - cd $(WXDIR)\samples\html\help - wmake -f makefile.wat FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) - cd $(WXDIR)\samples\html\helpview - wmake -f makefile.wat FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) - cd $(WXDIR)\samples\html\printing - wmake -f makefile.wat FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) - cd $(WXDIR)\samples\html\test - wmake -f makefile.wat FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) - cd $(WXDIR)\samples\html\virtual - wmake -f makefile.wat FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) - cd $(WXDIR)\samples\html\widget - wmake -f makefile.wat FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) - cd $(WXDIR)\samples\html\zip - wmake -f makefile.wat FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) - -clean: - cd $(WXDIR)\samples\html\about - wmake -f makefile.wat clean - cd $(WXDIR)\samples\html\help - wmake -f makefile.wat clean - cd $(WXDIR)\samples\html\helpview - wmake -f makefile.wat clean - cd $(WXDIR)\samples\html\printing - wmake -f makefile.wat clean - cd $(WXDIR)\samples\html\test - wmake -f makefile.wat clean - cd $(WXDIR)\samples\html\virtual - wmake -f makefile.wat clean - cd $(WXDIR)\samples\html\widget - wmake -f makefile.wat clean - cd $(WXDIR)\samples\html\zip - wmake -f makefile.wat clean +# ========================================================================= +# This makefile was generated by +# Bakefile 0.1.4 (http://bakefile.sourceforge.net) +# Do not modify, all changes will be overwritten! +# ========================================================================= +!include ../../build/msw/config.wat + +# ------------------------------------------------------------------------- +# Do not modify the rest of this file! +# ------------------------------------------------------------------------- + +# Speed up compilation a bit: +!ifdef __LOADDLL__ +! loaddll wcc wccd +! loaddll wccaxp wccdaxp +! loaddll wcc386 wccd386 +! loaddll wpp wppdi86 +! loaddll wppaxp wppdaxp +! loaddll wpp386 wppd386 +! loaddll wlink wlink +! loaddll wlib wlibd +!endif + +# We need these variables in some bakefile-made rules: +WATCOM_CWD = $+ $(%cdrive):$(%cwd) $- + +### Conditionally set variables: ### + + +### Variables: ### + +MAKEARGS = CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" & + CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" SHARED="$(SHARED)" & + WXUNIV="$(WXUNIV)" UNICODE="$(UNICODE)" BUILD="$(BUILD)" & + DEBUG_INFO="$(DEBUG_INFO)" DEBUG_FLAG="$(DEBUG_FLAG)" & + MONOLITHIC="$(MONOLITHIC)" USE_GUI="$(USE_GUI)" USE_HTML="$(USE_HTML)" & + USE_XRC="$(USE_XRC)" USE_OPENGL="$(USE_OPENGL)" USE_ODBC="$(USE_ODBC)" & + USE_EXCEPTIONS="$(USE_EXCEPTIONS)" OFFICIAL_BUILD="$(OFFICIAL_BUILD)" & + VENDOR="$(VENDOR)" WX_FLAVOUR="$(WX_FLAVOUR)" & + WX_LIB_FLAVOUR="$(WX_LIB_FLAVOUR)" CFG="$(CFG)" & + CPPUNIT_CFLAGS="$(CPPUNIT_CFLAGS)" CPPUNIT_LIBS="$(CPPUNIT_LIBS)" & + RUNTIME_LIBS="$(RUNTIME_LIBS)" + + +### Targets: ### + +all : .SYMBOLIC about help helpview printing test virtual widget zip + +clean : .SYMBOLIC + -if exist .\*.obj del .\*.obj + -if exist .\*.res del .\*.res + -if exist .\*.lbc del .\*.lbc + -if exist .\*.ilk del .\*.ilk + cd about + wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean + cd $(WATCOM_CWD) + cd help + wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean + cd $(WATCOM_CWD) + cd helpview + wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean + cd $(WATCOM_CWD) + cd printing + wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean + cd $(WATCOM_CWD) + cd test + wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean + cd $(WATCOM_CWD) + cd virtual + wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean + cd $(WATCOM_CWD) + cd widget + wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean + cd $(WATCOM_CWD) + cd zip + wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean + cd $(WATCOM_CWD) + +about : .SYMBOLIC + cd about + wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all + cd $(WATCOM_CWD) + +help : .SYMBOLIC + cd help + wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all + cd $(WATCOM_CWD) + +helpview : .SYMBOLIC + cd helpview + wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all + cd $(WATCOM_CWD) + +printing : .SYMBOLIC + cd printing + wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all + cd $(WATCOM_CWD) + +test : .SYMBOLIC + cd test + wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all + cd $(WATCOM_CWD) + +virtual : .SYMBOLIC + cd virtual + wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all + cd $(WATCOM_CWD) + +widget : .SYMBOLIC + cd widget + wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all + cd $(WATCOM_CWD) + +zip : .SYMBOLIC + cd zip + wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all + cd $(WATCOM_CWD)