X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aeab10d07c1f4ef78c0c9152de115fa216922e6c..2439f1d96880ed2fd1551b85795ccee1704dc29c:/utils/makefile.vc?ds=sidebyside diff --git a/utils/makefile.vc b/utils/makefile.vc index ece8395fe1..96c73adcfc 100644 --- a/utils/makefile.vc +++ b/utils/makefile.vc @@ -1,92 +1,101 @@ -# -# File: makefile.vc -# Author: Julian Smart -# Created: 1993 -# Updated: -# Copyright: (c) 1993, AIAI, University of Edinburgh -# -# "%W% %G%" -# -# Makefile : Builds utilities for Win95, VC++ 4.0 -# Use FINAL=1 argument to nmake to build final version with no debugging -# info - -# Set WXDIR for your system -WXDIR = $(WXWIN) - -THISDIR=$(WXDIR)\utils - -!include $(WXDIR)\src\ntwxwin.mak - -DEBUG_FLAGS="/Zi /FR" -LINK_DEBUG_FLAGS="/RELEASE" - -all: - cd $(WXDIR)\utils\dialoged\src - nmake -f makefile.vc DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) -# cd $(WXDIR)\utils\hytext\src -# nmake -f makefile.vc DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) -# cd $(WXDIR)\utils\mfutils\src -# nmake -f makefile.vc DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) -# cd $(WXDIR)\utils\tex2rtf\src -# nmake -f makefile.vc DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) -# cd $(WXDIR)\utils\wxbuild\src -# nmake -f makefile.vc DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) -# cd $(WXDIR)\utils\wxgraph\src -# nmake -f makefile.vc test DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) -# cd $(WXDIR)\utils\wxtree\src -# nmake -f makefile.vc test DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) -# cd $(WXDIR)\utils\wxhelp\src -# nmake -f makefile.vc DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) -# cd $(WXDIR)\utils\wximage\win -# nmake -f makefile.vc DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) -# cd $(WXDIR)\utils\wxweb\src -# nmake -f makefile.vc DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) -# cd $(WXDIR)\utils\wxhelp2\src -# nmake -f makefile.vc DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) -# cd $(WXDIR)\utils\clockwrk\src -# nmake -f makefile.vc DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) -# cd $(WXDIR)\utils\wxanim\src -# nmake -f makefile.vc DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) -# cd $(WXDIR)\utils\colours -# nmake -f makefile.vc DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) -# cd $(WXDIR)\utils\ogl\src -# nmake -f makefile.vc DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) -# cd $(WXDIR)\utils\wxchart\src -# nmake -f makefile.vc test DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) - -clean: - cd $(WXDIR)\utils\dialoged\src - nmake -f makefile.vc clean - cd $(WXDIR)\utils\nplugin - nmake -f makefile.vc clean -# cd $(WXDIR)\utils\hytext\src -# nmake -f makefile.vc clean -# cd $(WXDIR)\utils\mfutils\src -# nmake -f makefile.vc clean -# cd $(WXDIR)\utils\tex2rtf\src -# nmake -f makefile.vc clean -# cd $(WXDIR)\utils\wxbuild\src -# nmake -f makefile.vc clean -# cd $(WXDIR)\utils\wxgraph\src -# nmake -f makefile.vc clean -# cd $(WXDIR)\utils\wxtree\src -# nmake -f makefile.vc clean -# cd $(WXDIR)\utils\wxhelp\src -# nmake -f makefile.vc clean -# cd $(WXDIR)\utils\wxhelp2\src -# nmake -f makefile.vc clean -# cd $(WXDIR)\utils\clockwrk\src -# nmake -f makefile.vc clean -# cd $(WXDIR)\utils\wxanim\src -# nmake -f makefile.vc clean -# cd $(WXDIR)\utils\colours -# nmake -f makefile.vc clean -# cd $(WXDIR)\utils\ogl\src -# nmake -f makefile.vc clean -# cd $(WXDIR)\utils\wxchart\src -# nmake -f makefile.vc clean -# cd $(WXDIR)\utils\wxweb\src -# nmake -f makefile.vc clean -# cd $(WXDIR)\utils\wximage\win -# nmake -f makefile.vc clean +# ========================================================================= +# This makefile was generated by +# Bakefile 0.2.8 (http://www.bakefile.org) +# Do not modify, all changes will be overwritten! +# ========================================================================= + +!include <../build/msw/config.vc> + +# ------------------------------------------------------------------------- +# Do not modify the rest of this file! +# ------------------------------------------------------------------------- + +### Variables: ### + +MAKEARGS = CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" \ + CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" CPP="$(CPP)" SHARED="$(SHARED)" \ + WXUNIV="$(WXUNIV)" UNICODE="$(UNICODE)" MSLU="$(MSLU)" BUILD="$(BUILD)" \ + TARGET_CPU="$(TARGET_CPU)" DEBUG_INFO="$(DEBUG_INFO)" \ + DEBUG_FLAG="$(DEBUG_FLAG)" DEBUG_RUNTIME_LIBS="$(DEBUG_RUNTIME_LIBS)" \ + MONOLITHIC="$(MONOLITHIC)" USE_GUI="$(USE_GUI)" USE_HTML="$(USE_HTML)" \ + USE_MEDIA="$(USE_MEDIA)" USE_XRC="$(USE_XRC)" USE_AUI="$(USE_AUI)" \ + USE_RIBBON="$(USE_RIBBON)" USE_PROPGRID="$(USE_PROPGRID)" \ + USE_RICHTEXT="$(USE_RICHTEXT)" USE_STC="$(USE_STC)" \ + USE_OPENGL="$(USE_OPENGL)" USE_QA="$(USE_QA)" \ + USE_EXCEPTIONS="$(USE_EXCEPTIONS)" USE_RTTI="$(USE_RTTI)" \ + USE_THREADS="$(USE_THREADS)" USE_CAIRO="$(USE_CAIRO)" \ + 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)" + +### Conditionally set variables: ### + + + +### Targets: ### + +all: sub_emulator sub_execmon sub_helpview sub_hhp2cached sub_ifacecheck sub_screenshotgen sub_wxrc + +clean: + -if exist .\*.obj del .\*.obj + -if exist .\*.res del .\*.res + -if exist .\*.pch del .\*.pch + cd emulator\src + $(MAKE) -f makefile.vc $(MAKEARGS) clean + cd "$(MAKEDIR)" + cd execmon + $(MAKE) -f makefile.vc $(MAKEARGS) clean + cd "$(MAKEDIR)" + cd helpview\src + $(MAKE) -f makefile.vc $(MAKEARGS) clean + cd "$(MAKEDIR)" + cd hhp2cached + $(MAKE) -f makefile.vc $(MAKEARGS) clean + cd "$(MAKEDIR)" + cd ifacecheck\src + $(MAKE) -f makefile.vc $(MAKEARGS) clean + cd "$(MAKEDIR)" + cd screenshotgen\src + $(MAKE) -f makefile.vc $(MAKEARGS) clean + cd "$(MAKEDIR)" + cd wxrc + $(MAKE) -f makefile.vc $(MAKEARGS) clean + cd "$(MAKEDIR)" + +sub_emulator: + cd emulator\src + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd "$(MAKEDIR)" + +sub_execmon: + cd execmon + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd "$(MAKEDIR)" + +sub_helpview: + cd helpview\src + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd "$(MAKEDIR)" + +sub_hhp2cached: + cd hhp2cached + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd "$(MAKEDIR)" + +sub_ifacecheck: + cd ifacecheck\src + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd "$(MAKEDIR)" + +sub_screenshotgen: + cd screenshotgen\src + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd "$(MAKEDIR)" + +sub_wxrc: + cd wxrc + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd "$(MAKEDIR)" +