-
# =========================================================================
# This makefile was generated by
-# Bakefile 0.1.1 (http://bakefile.sourceforge.net)
+# Bakefile 0.2.2 (http://bakefile.sourceforge.net)
# Do not modify, all changes will be overwritten!
# =========================================================================
-
-# -------------------------------------------------------------------------
-# These are configurable options:
-# -------------------------------------------------------------------------
-
-# Set the version of your Mingw installation here.
-# "3" ...... this is for Mingw 2.0 or newer that cames with gcc3
-# "2.95" ... for Mingw 1.1 or any of the older versions [3,2.95]
-GCC_VERSION = 3
-# Build GUI libraries? [0,1]
-USE_GUI = 1
+include ../build/msw/config.gcc
# -------------------------------------------------------------------------
# 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)" \
+ 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_STC="$(USE_STC)" \
+ 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)" GCC_VERSION="$(GCC_VERSION)"
### Conditionally set variables: ###
-ifeq ($(USE_GUI),0)
-__console___depname = console
-endif
### Targets: ###
-all: artprov $(__console___depname) dialogs image minimal
-
-artprov:
- (cd artprov && $(MAKE) all)
+all: access animate artprov aui calendar caret checklst collpane config combo console controls dataview db dialogs dialup display dnd docview docvwmdi dragimag drawing dynamic erase event exec except font grid help htlbox html image internat ipc joytest keyboard layout listbox listctrl mdi mediaplayer memcheck menu minifram minimal mobile multimon nativdlg notebook oleauto opengl ownerdrw png popup printing propsize regtest render richtext rotate sashtest scroll scrollsub shaped sockets sound splash splitter statbar stc taskbar text thread toolbar treectrl typetest validate vscroll widgets wizard mfc
clean:
-if exist .\*.o del .\*.o
- (cd artprov && $(MAKE) clean)
- (cd console && $(MAKE) clean)
- (cd dialogs && $(MAKE) clean)
- (cd image && $(MAKE) clean)
- (cd minimal && $(MAKE) clean)
+ -if exist .\*.d del .\*.d
+ $(MAKE) -C access -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C animate -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C artprov -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C aui -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C calendar -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C caret -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C checklst -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C collpane -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C config -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C combo -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C console -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C controls -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C dataview -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C db -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C dialogs -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C dialup -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C display -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C dnd -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C docview -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C docvwmdi -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C dragimag -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C drawing -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C dynamic -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C erase -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C event -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C exec -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C except -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C font -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C grid -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C help -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C htlbox -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C html -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C image -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C internat -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C ipc -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C joytest -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C keyboard -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C layout -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C listbox -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C listctrl -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C mdi -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C mediaplayer -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C memcheck -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C menu -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C minifram -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C minimal -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C mobile -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C multimon -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C nativdlg -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C notebook -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C oleauto -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C opengl -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C ownerdrw -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C png -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C popup -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C printing -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C propsize -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C regtest -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C render -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C richtext -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C rotate -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C sashtest -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C scroll -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C scrollsub -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C shaped -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C sockets -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C sound -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C splash -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C splitter -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C statbar -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C stc -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C taskbar -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C text -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C thread -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C toolbar -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C treectrl -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C typetest -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C validate -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C vscroll -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C widgets -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C wizard -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C mfc -f makefile.gcc $(MAKEARGS) clean
+
+access:
+ $(MAKE) -C access -f makefile.gcc $(MAKEARGS) all
+
+animate:
+ $(MAKE) -C animate -f makefile.gcc $(MAKEARGS) all
+
+artprov:
+ $(MAKE) -C artprov -f makefile.gcc $(MAKEARGS) all
+
+aui:
+ $(MAKE) -C aui -f makefile.gcc $(MAKEARGS) all
+
+calendar:
+ $(MAKE) -C calendar -f makefile.gcc $(MAKEARGS) all
+
+caret:
+ $(MAKE) -C caret -f makefile.gcc $(MAKEARGS) all
+
+checklst:
+ $(MAKE) -C checklst -f makefile.gcc $(MAKEARGS) all
+
+collpane:
+ $(MAKE) -C collpane -f makefile.gcc $(MAKEARGS) all
+
+config:
+ $(MAKE) -C config -f makefile.gcc $(MAKEARGS) all
+
+combo:
+ $(MAKE) -C combo -f makefile.gcc $(MAKEARGS) all
-ifeq ($(USE_GUI),0)
console:
- (cd console && $(MAKE) all)
-endif
+ $(MAKE) -C console -f makefile.gcc $(MAKEARGS) all
+
+controls:
+ $(MAKE) -C controls -f makefile.gcc $(MAKEARGS) all
+
+dataview:
+ $(MAKE) -C dataview -f makefile.gcc $(MAKEARGS) all
+
+db:
+ $(MAKE) -C db -f makefile.gcc $(MAKEARGS) all
dialogs:
- (cd dialogs && $(MAKE) all)
+ $(MAKE) -C dialogs -f makefile.gcc $(MAKEARGS) all
+
+dialup:
+ $(MAKE) -C dialup -f makefile.gcc $(MAKEARGS) all
+
+display:
+ $(MAKE) -C display -f makefile.gcc $(MAKEARGS) all
+
+dnd:
+ $(MAKE) -C dnd -f makefile.gcc $(MAKEARGS) all
+
+docview:
+ $(MAKE) -C docview -f makefile.gcc $(MAKEARGS) all
+
+docvwmdi:
+ $(MAKE) -C docvwmdi -f makefile.gcc $(MAKEARGS) all
+
+dragimag:
+ $(MAKE) -C dragimag -f makefile.gcc $(MAKEARGS) all
+
+drawing:
+ $(MAKE) -C drawing -f makefile.gcc $(MAKEARGS) all
+
+dynamic:
+ $(MAKE) -C dynamic -f makefile.gcc $(MAKEARGS) all
+
+erase:
+ $(MAKE) -C erase -f makefile.gcc $(MAKEARGS) all
+
+event:
+ $(MAKE) -C event -f makefile.gcc $(MAKEARGS) all
+
+exec:
+ $(MAKE) -C exec -f makefile.gcc $(MAKEARGS) all
+
+except:
+ $(MAKE) -C except -f makefile.gcc $(MAKEARGS) all
+
+font:
+ $(MAKE) -C font -f makefile.gcc $(MAKEARGS) all
+
+grid:
+ $(MAKE) -C grid -f makefile.gcc $(MAKEARGS) all
+
+help:
+ $(MAKE) -C help -f makefile.gcc $(MAKEARGS) all
+
+htlbox:
+ $(MAKE) -C htlbox -f makefile.gcc $(MAKEARGS) all
+
+html:
+ $(MAKE) -C html -f makefile.gcc $(MAKEARGS) all
image:
- (cd image && $(MAKE) all)
+ $(MAKE) -C image -f makefile.gcc $(MAKEARGS) all
+
+internat:
+ $(MAKE) -C internat -f makefile.gcc $(MAKEARGS) all
+
+ipc:
+ $(MAKE) -C ipc -f makefile.gcc $(MAKEARGS) all
+
+joytest:
+ $(MAKE) -C joytest -f makefile.gcc $(MAKEARGS) all
+
+keyboard:
+ $(MAKE) -C keyboard -f makefile.gcc $(MAKEARGS) all
+
+layout:
+ $(MAKE) -C layout -f makefile.gcc $(MAKEARGS) all
-install: all
- (cd artprov && $(MAKE) install)
- (cd console && $(MAKE) install)
- (cd dialogs && $(MAKE) install)
- (cd image && $(MAKE) install)
- (cd minimal && $(MAKE) install)
+listbox:
+ $(MAKE) -C listbox -f makefile.gcc $(MAKEARGS) all
+
+listctrl:
+ $(MAKE) -C listctrl -f makefile.gcc $(MAKEARGS) all
+
+mdi:
+ $(MAKE) -C mdi -f makefile.gcc $(MAKEARGS) all
+
+mediaplayer:
+ $(MAKE) -C mediaplayer -f makefile.gcc $(MAKEARGS) all
+
+memcheck:
+ $(MAKE) -C memcheck -f makefile.gcc $(MAKEARGS) all
+
+menu:
+ $(MAKE) -C menu -f makefile.gcc $(MAKEARGS) all
+
+minifram:
+ $(MAKE) -C minifram -f makefile.gcc $(MAKEARGS) all
minimal:
- (cd minimal && $(MAKE) all)
+ $(MAKE) -C minimal -f makefile.gcc $(MAKEARGS) all
+
+mobile:
+ $(MAKE) -C mobile -f makefile.gcc $(MAKEARGS) all
+
+multimon:
+ $(MAKE) -C multimon -f makefile.gcc $(MAKEARGS) all
+
+nativdlg:
+ $(MAKE) -C nativdlg -f makefile.gcc $(MAKEARGS) all
+
+notebook:
+ $(MAKE) -C notebook -f makefile.gcc $(MAKEARGS) all
+
+oleauto:
+ $(MAKE) -C oleauto -f makefile.gcc $(MAKEARGS) all
+
+opengl:
+ $(MAKE) -C opengl -f makefile.gcc $(MAKEARGS) all
+
+ownerdrw:
+ $(MAKE) -C ownerdrw -f makefile.gcc $(MAKEARGS) all
+
+png:
+ $(MAKE) -C png -f makefile.gcc $(MAKEARGS) all
+
+popup:
+ $(MAKE) -C popup -f makefile.gcc $(MAKEARGS) all
+
+printing:
+ $(MAKE) -C printing -f makefile.gcc $(MAKEARGS) all
+
+propsize:
+ $(MAKE) -C propsize -f makefile.gcc $(MAKEARGS) all
+
+regtest:
+ $(MAKE) -C regtest -f makefile.gcc $(MAKEARGS) all
+
+render:
+ $(MAKE) -C render -f makefile.gcc $(MAKEARGS) all
+
+richtext:
+ $(MAKE) -C richtext -f makefile.gcc $(MAKEARGS) all
+
+rotate:
+ $(MAKE) -C rotate -f makefile.gcc $(MAKEARGS) all
+
+sashtest:
+ $(MAKE) -C sashtest -f makefile.gcc $(MAKEARGS) all
+
+scroll:
+ $(MAKE) -C scroll -f makefile.gcc $(MAKEARGS) all
+
+scrollsub:
+ $(MAKE) -C scrollsub -f makefile.gcc $(MAKEARGS) all
+
+shaped:
+ $(MAKE) -C shaped -f makefile.gcc $(MAKEARGS) all
+
+sockets:
+ $(MAKE) -C sockets -f makefile.gcc $(MAKEARGS) all
+
+sound:
+ $(MAKE) -C sound -f makefile.gcc $(MAKEARGS) all
+
+splash:
+ $(MAKE) -C splash -f makefile.gcc $(MAKEARGS) all
+
+splitter:
+ $(MAKE) -C splitter -f makefile.gcc $(MAKEARGS) all
+
+statbar:
+ $(MAKE) -C statbar -f makefile.gcc $(MAKEARGS) all
+
+stc:
+ $(MAKE) -C stc -f makefile.gcc $(MAKEARGS) all
+
+taskbar:
+ $(MAKE) -C taskbar -f makefile.gcc $(MAKEARGS) all
+
+text:
+ $(MAKE) -C text -f makefile.gcc $(MAKEARGS) all
+
+thread:
+ $(MAKE) -C thread -f makefile.gcc $(MAKEARGS) all
+
+toolbar:
+ $(MAKE) -C toolbar -f makefile.gcc $(MAKEARGS) all
+
+treectrl:
+ $(MAKE) -C treectrl -f makefile.gcc $(MAKEARGS) all
+
+typetest:
+ $(MAKE) -C typetest -f makefile.gcc $(MAKEARGS) all
+
+validate:
+ $(MAKE) -C validate -f makefile.gcc $(MAKEARGS) all
+
+vscroll:
+ $(MAKE) -C vscroll -f makefile.gcc $(MAKEARGS) all
+
+widgets:
+ $(MAKE) -C widgets -f makefile.gcc $(MAKEARGS) all
+
+wizard:
+ $(MAKE) -C wizard -f makefile.gcc $(MAKEARGS) all
+
+mfc:
+ $(MAKE) -C mfc -f makefile.gcc $(MAKEARGS) all
+
+.PHONY: all clean access animate artprov aui calendar caret checklst collpane config combo console controls dataview db dialogs dialup display dnd docview docvwmdi dragimag drawing dynamic erase event exec except font grid help htlbox html image internat ipc joytest keyboard layout listbox listctrl mdi mediaplayer memcheck menu minifram minimal mobile multimon nativdlg notebook oleauto opengl ownerdrw png popup printing propsize regtest render richtext rotate sashtest scroll scrollsub shaped sockets sound splash splitter statbar stc taskbar text thread toolbar treectrl typetest validate vscroll widgets wizard mfc
-uninstall:
-.PHONY: all artprov console dialogs image minimal
+# Dependencies tracking:
+-include ./*.d