]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/html/makefile.wat
SetTextColor --> SetTextColour, to be consistent with the rest of the lib
[wxWidgets.git] / samples / html / makefile.wat
index f152f07330b2e8a72880b2883899ea2f77eecce4..7dbd8a872db3aa537025379b954fdf94a756e864 100644 (file)
-#
-# 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.2.0 (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)" CPP="$(CPP)" 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_MEDIA="$(USE_MEDIA)" USE_XRC="$(USE_XRC)" USE_AUI="$(USE_AUI)" &
+       USE_RICHTEXT="$(USE_RICHTEXT)" USE_OPENGL="$(USE_OPENGL)" &
+       USE_ODBC="$(USE_ODBC)" USE_QA="$(USE_QA)" &
+       USE_EXCEPTIONS="$(USE_EXCEPTIONS)" USE_RTTI="$(USE_RTTI)" &
+       USE_THREADS="$(USE_THREADS)" USE_GDIPLUS="$(USE_GDIPLUS)" &
+       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
+       -if exist .\*.pch del .\*.pch
+       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)