1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.1 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
7 !include <../../../build/config.vc>
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
15 OBJS = vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
16 XRCDEMO_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS_6)$(__DEBUGFLAG_2) $(__DEBUGFLAG_0) /Fd$(OBJS)\xrcdemo.pdb $(__OPTIMIZEFLAG_3) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I.\..\..\..\include /I.\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) /I.\..\..\..\src\tiff /I.\..\..\..\src\jpeg /I.\..\..\..\src\png /I.\..\..\..\src\zlib /I.\..\..\..\src\regex /I. $(__DLLFLAG_p) /I.\..\..\include $(CXXFLAGS)
18 ### Conditionally set variables: ###
20 !if "$(USE_GUI)" == "0"
23 !if "$(USE_GUI)" == "1"
26 !if "$(BUILD)" == "debug"
29 !if "$(SHARED)" == "1"
32 !if "$(UNICODE)" == "1"
35 !if "$(WXUNIV)" == "1"
38 !if "$(BUILD)" == "debug"
41 !if "$(BUILD)" == "release"
44 !if "$(BUILD)" == "debug"
45 __DEBUGFLAG_1 = /DEBUG
47 !if "$(BUILD)" == "release"
50 !if "$(BUILD)" == "debug"
53 !if "$(BUILD)" == "release"
56 !if "$(BUILD)" == "debug"
57 __DEBUG_DEFINE_p = /D__WXDEBUG__
59 !if "$(BUILD)" == "debug"
60 __DEBUG_DEFINE_p_1 = /d__WXDEBUG__
62 !if "$(SHARED)" == "1"
63 __DLLFLAG_p = /DWXUSINGDLL
65 !if "$(SHARED)" == "1"
66 __DLLFLAG_p_1 = /dWXUSINGDLL
68 !if "$(BUILD)" == "debug"
69 __OPTIMIZEFLAG_3 = /Od
71 !if "$(BUILD)" == "release"
72 __OPTIMIZEFLAG_3 = /O2
74 !if "$(RUNTIME_LIBS)" == "dynamic"
77 !if "$(RUNTIME_LIBS)" == "static"
80 !if "$(UNICODE)" == "1"
81 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=1
83 !if "$(UNICODE)" == "1"
84 __UNICODE_DEFINE_p_1 = /dwxUSE_UNICODE=1
86 !if "$(MONOLITHIC)" == "0"
87 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
89 !if "$(MONOLITHIC)" == "0"
90 __WXLIB_CORE_p = wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
92 !if "$(MONOLITHIC)" == "0"
93 __WXLIB_HTML_p = wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html.lib
95 !if "$(MONOLITHIC)" == "1"
96 __WXLIB_MONO_p = wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
98 !if "$(WXUNIV)" == "1"
99 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
101 !if "$(WXUNIV)" == "1"
102 __WXUNIV_DEFINE_p_1 = /d__WXUNIVERSAL__
108 -if not exist $(OBJS) mkdir $(OBJS)
112 all: $(OBJS)\xrcdemo.exe data
114 $(OBJS)\xrcdemo_custclas.obj: .\custclas.cpp
115 $(CXX) /c /nologo /TP /Fo$@ $(XRCDEMO_CXXFLAGS) $**
117 $(OBJS)\xrcdemo_derivdlg.obj: .\derivdlg.cpp
118 $(CXX) /c /nologo /TP /Fo$@ $(XRCDEMO_CXXFLAGS) $**
120 $(OBJS)\xrcdemo_myframe.obj: .\myframe.cpp
121 $(CXX) /c /nologo /TP /Fo$@ $(XRCDEMO_CXXFLAGS) $**
123 $(OBJS)\xrcdemo_xrcdemo.obj: .\xrcdemo.cpp
124 $(CXX) /c /nologo /TP /Fo$@ $(XRCDEMO_CXXFLAGS) $**
126 $(OBJS)\xrcdemo_xrcdemo.res: .\xrcdemo.rc
127 rc /fo$@ /d__WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) /i.\..\..\..\include /i.\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) /i.\..\..\..\src\tiff /i.\..\..\..\src\jpeg /i.\..\..\..\src\png /i.\..\..\..\src\zlib /i.\..\..\..\src\regex /i. $(__DLLFLAG_p_1) /i.\..\..\include $**
130 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
131 -if exist $(OBJS)\*.res del $(OBJS)\*.res
132 -if exist $(OBJS)\xrcdemo.exe del $(OBJS)\xrcdemo.exe
135 if not exist $(OBJS)/rc mkdir $(OBJS)/rc
136 for %f in (appicon.ico appicon.xpm artprov.xpm artprov.xrc basicdlg.xpm basicdlg.xrc controls.xpm controls.xrc custclas.xpm custclas.xrc derivdlg.xpm derivdlg.xrc fileopen.gif filesave.gif frame.xrc fuzzy.gif menu.xrc platform.xpm platform.xrc quotes.gif resource.xrc scanning.gif sppicon.ico toolbar.xrc uncenter.xpm uncenter.xrc update.gif variable.xpm variable.xrc) do if not exist $(OBJS)/rc\%f copy ./rc\%f $(OBJS)/rc
138 $(OBJS)\xrcdemo.exe: $(OBJS)\xrcdemo_xrcdemo.obj $(OBJS)\xrcdemo_myframe.obj $(OBJS)\xrcdemo_derivdlg.obj $(OBJS)\xrcdemo_custclas.obj $(OBJS)\xrcdemo_xrcdemo.res
139 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGFLAG_1) /LIBPATH:.\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) /SUBSYSTEM:WINDOWS @<<
140 $(OBJS)\xrcdemo_xrcdemo.obj $(OBJS)\xrcdemo_myframe.obj $(OBJS)\xrcdemo_derivdlg.obj $(OBJS)\xrcdemo_custclas.obj $(OBJS)\xrcdemo_xrcdemo.res wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc.lib $(__WXLIB_HTML_p) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) wxtiff$(WXDEBUGFLAG).lib wxjpeg$(WXDEBUGFLAG).lib wxpng$(WXDEBUGFLAG).lib wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib