X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/669f7a111f10417afb0b7ad3ead11bab301b20bb..485cd20763bbd61a70295f270a7add9949433e1f:/samples/makefile.vc diff --git a/samples/makefile.vc b/samples/makefile.vc index ca4931f5c3..5462e24157 100644 --- a/samples/makefile.vc +++ b/samples/makefile.vc @@ -1,281 +1,410 @@ -# -# File: makefile.vc -# Author: Julian Smart -# Created: 1993 -# Updated: -# Copyright: (c) 1993, AIAI, University of Edinburgh -# -# "%W% %G%" -# -# Makefile : Builds samples for Win95, MSVC++ 16-bit -# Use FINAL=1 argument to nmake to build final version with no debugging -# info - -# Set WXDIR for your system -WXDIR = $(WXWIN) - -THISDIR=$(WXDIR)\samples - -# -# Indicates kind of pb with samples -# -# No makefile.vc file -NOMAKE=1 -# No 16 bit version -#ONLY32=1 -# Misc. compilation errors -COMPIL=1 -# Need PNG -PNGSETUP= - -!include $(WXDIR)\src\makemsc.env - -# -# Please keep samples list up-to-date, in alphabetical order -# -all: - cd $(WXDIR)\samples\calendar - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\samples\caret - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\samples\checklst - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\samples\config - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\samples\controls - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\samples\db - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\samples\ipc - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\samples\dialogs - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\samples\dnd - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\samples\docview - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\samples\docvwmdi - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\samples\drawing - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\samples\dynamic - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\samples\font - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\samples\grid - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\samples\newgrid - nmake -f makefile.vc FINAL=$(FINAL) -!if "$(COMPIL)"=="" - cd $(WXDIR)\samples\help - nmake -f makefile.vc FINAL=$(FINAL) -!endif -!if "$(PNGSETUP)"=="" - cd $(WXDIR)\samples\html - nmake -f makefile.vc FINAL=$(FINAL) -!endif - cd $(WXDIR)\samples\image - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\samples\internat - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\samples\joytest - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\samples\layout - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\samples\listctrl - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\samples\mdi - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\samples\menu - nmake -f makefile.vc FINAL=$(FINAL) -!if "$(FINAL)" == "0" - cd $(WXDIR)\samples\memcheck - nmake -f makefile.vc FINAL=$(FINAL) -!endif -!if "$(COMPIL)"=="" - cd $(WXDIR)\samples\mfc - nmake -f makefile.vc FINAL=$(FINAL) -!endif - cd $(WXDIR)\samples\minifram - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\samples\minimal - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\samples\nativdlg - nmake -f makefile.vc FINAL=$(FINAL) -!if "$(COMPIL)"=="" - cd $(WXDIR)\samples\dialup - nmake -f makefile.vc FINAL=$(FINAL) -!endif - cd $(WXDIR)\samples\notebook - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\samples\oleauto - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\samples\ownerdrw - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\samples\png - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\samples\plot - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\samples\printing - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\samples\proplist - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\samples\regtest - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\samples\resource - nmake -f makefile.vc FINAL=$(FINAL) -!if "$(COMPIL)"=="" - cd $(WXDIR)\samples\richedit - nmake -f makefile.vc FINAL=$(FINAL) -!endif - cd $(WXDIR)\samples\rotate - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\samples\sashtest - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\samples\scroll - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\samples\scrollsub - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\samples\splitter - nmake -f makefile.vc FINAL=$(FINAL) -!if "$(COMPIL)"=="" - cd $(WXDIR)\samples\tab - nmake -f makefile.vc FINAL=$(FINAL) -!endif - cd $(WXDIR)\samples\taskbar - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\samples\text - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\samples\thread - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\samples\toolbar - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\samples\treectrl - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\samples\typetest - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\samples\validate - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\samples\wizard - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\samples\sockets - nmake -f makefile.vc FINAL=$(FINAL) - -clean: - cd $(WXDIR)\samples\calendar - nmake -f makefile.vc clean - cd $(WXDIR)\samples\caret - nmake -f makefile.vc clean - cd $(WXDIR)\samples\checklst - nmake -f makefile.vc clean - cd $(WXDIR)\samples\config - nmake -f makefile.vc clean - cd $(WXDIR)\samples\controls - nmake -f makefile.vc clean - cd $(WXDIR)\samples\db - nmake -f makefile.vc clean - cd $(WXDIR)\samples\ipc - nmake -f makefile.vc clean - cd $(WXDIR)\samples\dialogs - nmake -f makefile.vc clean - cd $(WXDIR)\samples\dnd - nmake -f makefile.vc clean - cd $(WXDIR)\samples\docview - nmake -f makefile.vc clean - cd $(WXDIR)\samples\docvwmdi - nmake -f makefile.vc clean - cd $(WXDIR)\samples\drawing - nmake -f makefile.vc clean - cd $(WXDIR)\samples\dynamic - nmake -f makefile.vc clean - cd $(WXDIR)\samples\font - nmake -f makefile.vc clean - cd $(WXDIR)\samples\grid - nmake -f makefile.vc clean - cd $(WXDIR)\samples\newgrid - nmake -f makefile.vc clean - cd $(WXDIR)\samples\help - nmake -f makefile.vc clean - cd $(WXDIR)\samples\html - nmake -f makefile.vc clean - cd $(WXDIR)\samples\image - nmake -f makefile.vc clean - cd $(WXDIR)\samples\internat - nmake -f makefile.vc clean - cd $(WXDIR)\samples\joytest - nmake -f makefile.vc clean - cd $(WXDIR)\samples\layout - nmake -f makefile.vc clean - cd $(WXDIR)\samples\listctrl - nmake -f makefile.vc clean - cd $(WXDIR)\samples\mdi - nmake -f makefile.vc clean -!if "$(FINAL)" == "0" - cd $(WXDIR)\samples\memcheck - nmake -f makefile.vc clean -!endif - cd $(WXDIR)\samples\mfc - nmake -f makefile.vc clean - cd $(WXDIR)\samples\menu - nmake -f makefile.vc clean - cd $(WXDIR)\samples\minifram - nmake -f makefile.vc clean - cd $(WXDIR)\samples\minimal - nmake -f makefile.vc clean - cd $(WXDIR)\samples\nativdlg - nmake -f makefile.vc clean - cd $(WXDIR)\samples\dialup - nmake -f makefile.vc clean - cd $(WXDIR)\samples\notebook - nmake -f makefile.vc clean - cd $(WXDIR)\samples\oleauto - nmake -f makefile.vc clean - cd $(WXDIR)\samples\ownerdrw - nmake -f makefile.vc clean - cd $(WXDIR)\samples\png - nmake -f makefile.vc clean - cd $(WXDIR)\samples\plot - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\samples\printing - nmake -f makefile.vc clean - cd $(WXDIR)\samples\proplist - nmake -f makefile.vc clean - cd $(WXDIR)\samples\regtest - nmake -f makefile.vc clean - cd $(WXDIR)\samples\resource - nmake -f makefile.vc clean - cd $(WXDIR)\samples\richedit - nmake -f makefile.vc clean - cd $(WXDIR)\samples\rotate - nmake -f makefile.vc clean - cd $(WXDIR)\samples\sashtest - nmake -f makefile.vc clean - cd $(WXDIR)\samples\scroll - nmake -f makefile.vc clean - cd $(WXDIR)\samples\scrollsub - nmake -f makefile.vc clean - cd $(WXDIR)\samples\splitter - nmake -f makefile.vc clean - cd $(WXDIR)\samples\tab - nmake -f makefile.vc clean - cd $(WXDIR)\samples\taskbar - nmake -f makefile.vc clean - cd $(WXDIR)\samples\text - nmake -f makefile.vc clean - cd $(WXDIR)\samples\thread - nmake -f makefile.vc clean - cd $(WXDIR)\samples\toolbar - nmake -f makefile.vc clean - cd $(WXDIR)\samples\treectrl - nmake -f makefile.vc clean - cd $(WXDIR)\samples\typetest - nmake -f makefile.vc clean - cd $(WXDIR)\samples\validate - nmake -f makefile.vc clean -!if "$(NOMAKE)"=="" - cd $(WXDIR)\samples\wizard - nmake -f makefile.vc clean -!endif - cd $(WXDIR)\samples\sockets - nmake -f makefile.vc clean +# ========================================================================= +# This makefile was generated by +# Bakefile 0.1.2 (http://bakefile.sourceforge.net) +# 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)" SHARED="$(SHARED)" \ + WXUNIV="$(WXUNIV)" UNICODE="$(UNICODE)" MSLU="$(MSLU)" BUILD="$(BUILD)" \ + 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_OPENGL="$(USE_OPENGL)" \ + USE_ODBC="$(USE_ODBC)" USE_EXCEPTIONS="$(USE_EXCEPTIONS)" \ + OFFICIAL_BUILD="$(OFFICIAL_BUILD)" VENDOR="$(VENDOR)" CFG="$(CFG)" \ + RUNTIME_LIBS="$(RUNTIME_LIBS)" + +### Conditionally set variables: ### + + + +### Targets: ### + +all: sub_access sub_artprov sub_calendar sub_caret sub_checklst sub_config sub_console sub_controls sub_db sub_dialogs sub_dialup sub_display sub_dnd sub_docview sub_docvwmdi sub_dragimag sub_drawing sub_dynamic sub_erase sub_event sub_exec sub_except sub_font sub_grid sub_help sub_htlbox sub_html sub_image sub_internat sub_ipc sub_joytest sub_keyboard sub_layout sub_listbox sub_listctrl sub_mdi sub_memcheck sub_menu sub_mfc sub_minifram sub_minimal sub_mobile sub_multimon sub_nativdlg sub_notebook sub_oleauto sub_opengl sub_ownerdrw sub_png sub_printing sub_propsize sub_regtest sub_render sub_richedit sub_rotate sub_sashtest sub_scroll sub_scrollsub sub_shaped sub_sockets sub_sound sub_splitter sub_statbar sub_tab sub_taskbar sub_text sub_thread sub_toolbar sub_treectrl sub_typetest sub_validate sub_vscroll sub_widgets sub_wizard sub_wxtest + +clean: + -if exist .\*.obj del .\*.obj + -if exist .\*.res del .\*.res + +sub_access: + cd access + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_artprov: + cd artprov + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_calendar: + cd calendar + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_caret: + cd caret + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_checklst: + cd checklst + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_config: + cd config + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_console: + cd console + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_controls: + cd controls + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_db: + cd db + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_dialogs: + cd dialogs + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_dialup: + cd dialup + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_display: + cd display + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_dnd: + cd dnd + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_docview: + cd docview + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_docvwmdi: + cd docvwmdi + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_dragimag: + cd dragimag + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_drawing: + cd drawing + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_dynamic: + cd dynamic + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_erase: + cd erase + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_event: + cd event + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_exec: + cd exec + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_except: + cd except + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_font: + cd font + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_grid: + cd grid + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_help: + cd help + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_htlbox: + cd htlbox + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_html: + cd html + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_image: + cd image + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_internat: + cd internat + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_ipc: + cd ipc + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_joytest: + cd joytest + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_keyboard: + cd keyboard + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_layout: + cd layout + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_listbox: + cd listbox + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_listctrl: + cd listctrl + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_mdi: + cd mdi + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_memcheck: + cd memcheck + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_menu: + cd menu + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_mfc: + cd mfc + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_minifram: + cd minifram + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_minimal: + cd minimal + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_mobile: + cd mobile + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_multimon: + cd multimon + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_nativdlg: + cd nativdlg + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_notebook: + cd notebook + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_oleauto: + cd oleauto + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_opengl: + cd opengl + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_ownerdrw: + cd ownerdrw + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_png: + cd png + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_printing: + cd printing + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_propsize: + cd propsize + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_regtest: + cd regtest + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_render: + cd render + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_richedit: + cd richedit + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_rotate: + cd rotate + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_sashtest: + cd sashtest + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_scroll: + cd scroll + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_scrollsub: + cd scrollsub + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_shaped: + cd shaped + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_sockets: + cd sockets + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_sound: + cd sound + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_splitter: + cd splitter + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_statbar: + cd statbar + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_tab: + cd tab + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_taskbar: + cd taskbar + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_text: + cd text + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_thread: + cd thread + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_toolbar: + cd toolbar + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_treectrl: + cd treectrl + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_typetest: + cd typetest + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_validate: + cd validate + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_vscroll: + cd vscroll + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_widgets: + cd widgets + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_wizard: + cd wizard + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_wxtest: + cd wxtest + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR)