X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0706fb236cb838adb879a51b3134d5453b03612a..0d8b87ac8ae0ababd4c0d725142532f6d592fdb2:/samples/makefile.vc?ds=sidebyside diff --git a/samples/makefile.vc b/samples/makefile.vc index 127336e385..90fc5c6c44 100644 --- a/samples/makefile.vc +++ b/samples/makefile.vc @@ -4,13 +4,7 @@ # Do not modify, all changes will be overwritten! # ========================================================================= - -# ------------------------------------------------------------------------- -# These are configurable options: -# ------------------------------------------------------------------------- - -# Build GUI libraries? [0,1] -USE_GUI = 1 +!include <../build/msw/config.vc> # ------------------------------------------------------------------------- # Do not modify the rest of this file! @@ -18,79 +12,393 @@ USE_GUI = 1 ### Variables: ### +MAKEARGS = CPPFLAGS="$(CPPFLAGS)" DEBUG_FLAG="$(DEBUG_FLAG)" \ + LDFLAGS="$(LDFLAGS)" DEBUG_RUNTIME_LIBS="$(DEBUG_RUNTIME_LIBS)" CC="$(CC)" \ + USE_GUI="$(USE_GUI)" MONOLITHIC="$(MONOLITHIC)" CXXFLAGS="$(CXXFLAGS)" \ + USE_HTML="$(USE_HTML)" BUILD="$(BUILD)" DEBUG_INFO="$(DEBUG_INFO)" \ + USE_EXCEPTIONS="$(USE_EXCEPTIONS)" VENDOR="$(VENDOR)" UNICODE="$(UNICODE)" \ + OFFICIAL_BUILD="$(OFFICIAL_BUILD)" MSLU="$(MSLU)" WXUNIV="$(WXUNIV)" \ + RUNTIME_LIBS="$(RUNTIME_LIBS)" CXX="$(CXX)" CFG="$(CFG)" CFLAGS="$(CFLAGS)" \ + SHARED="$(SHARED)" USE_ODBC="$(USE_ODBC)" USE_OPENGL="$(USE_OPENGL)" ### Conditionally set variables: ### -!if "$(USE_GUI)" == "0" -__console___depname = console -!endif ### Targets: ### -all: artprov $(__console___depname) dialogs image minimal +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_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 -artprov: +sub_access: + cd access + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_artprov: cd artprov - $(MAKE) /$(MAKEFLAGS) all + $(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) clean: -if exist .\*.obj del .\*.obj -if exist .\*.res del .\*.res - cd artprov - $(MAKE) /$(MAKEFLAGS) clean + +sub_config: + cd config + $(MAKE) -f makefile.vc $(MAKEARGS) all cd $(MAKEDIR) + +sub_console: cd console - $(MAKE) /$(MAKEFLAGS) clean + $(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) /$(MAKEFLAGS) clean + $(MAKE) -f makefile.vc $(MAKEARGS) all cd $(MAKEDIR) - cd image - $(MAKE) /$(MAKEFLAGS) clean + +sub_dialup: + cd dialup + $(MAKE) -f makefile.vc $(MAKEARGS) all cd $(MAKEDIR) - cd minimal - $(MAKE) /$(MAKEFLAGS) clean + +sub_display: + cd display + $(MAKE) -f makefile.vc $(MAKEARGS) all cd $(MAKEDIR) -!if "$(USE_GUI)" == "0" -console: - cd console - $(MAKE) /$(MAKEFLAGS) all +sub_dnd: + cd dnd + $(MAKE) -f makefile.vc $(MAKEARGS) all cd $(MAKEDIR) -!endif -dialogs: - cd dialogs - $(MAKE) /$(MAKEFLAGS) all +sub_docview: + cd docview + $(MAKE) -f makefile.vc $(MAKEARGS) all cd $(MAKEDIR) -image: - cd image - $(MAKE) /$(MAKEFLAGS) all +sub_docvwmdi: + cd docvwmdi + $(MAKE) -f makefile.vc $(MAKEARGS) all cd $(MAKEDIR) -install: all - cd artprov - $(MAKE) /$(MAKEFLAGS) install +sub_dragimag: + cd dragimag + $(MAKE) -f makefile.vc $(MAKEARGS) all cd $(MAKEDIR) - cd console - $(MAKE) /$(MAKEFLAGS) install + +sub_drawing: + cd drawing + $(MAKE) -f makefile.vc $(MAKEARGS) all cd $(MAKEDIR) - cd dialogs - $(MAKE) /$(MAKEFLAGS) install + +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_except: + cd except + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd $(MAKEDIR) + +sub_exec: + cd exec + $(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) /$(MAKEFLAGS) install + $(MAKE) -f makefile.vc $(MAKEARGS) all cd $(MAKEDIR) - cd minimal - $(MAKE) /$(MAKEFLAGS) install + +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) -minimal: +sub_minimal: cd minimal - $(MAKE) /$(MAKEFLAGS) all + $(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) -uninstall: +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_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)