]> git.saurik.com Git - wxWidgets.git/blame - contrib/samples/xrc/makefile.vc
fixed weird error
[wxWidgets.git] / contrib / samples / xrc / makefile.vc
CommitLineData
250700e4
RD
1# =========================================================================
2# This makefile was generated by
f509d00d 3# Bakefile 0.1.1 (http://bakefile.sourceforge.net)
250700e4
RD
4# Do not modify, all changes will be overwritten!
5# =========================================================================
64d452a8 6
250700e4 7!include <../../../build/config.vc>
64d452a8 8
250700e4
RD
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
af1337b0 12
250700e4 13### Variables: ###
64d452a8 14
250700e4 15OBJS = vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
bdc408c4 16XRCDEMO_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS_7)$(__DEBUGFLAG_2) /DWIN32 $(__DEBUGFLAG_0) /Fd$(OBJS)\xrcdemo.pdb $(____DEBUGFLAG_3_p) $(__OPTIMIZEFLAG_4) /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.\..\..\..\src\expat\lib /I. $(__DLLFLAG_p) /D_WINDOWS /I.\..\..\include $(CXXFLAGS)
64d452a8 17
250700e4 18### Conditionally set variables: ###
af1337b0 19
250700e4
RD
20!if "$(USE_GUI)" == "0"
21PORTNAME = base
22!endif
23!if "$(USE_GUI)" == "1"
24PORTNAME = msw
25!endif
26!if "$(BUILD)" == "debug"
27WXDEBUGFLAG = d
28!endif
29!if "$(SHARED)" == "1"
30WXDLLFLAG = dll
31!endif
32!if "$(UNICODE)" == "1"
33WXUNICODEFLAG = u
34!endif
35!if "$(WXUNIV)" == "1"
36WXUNIVNAME = univ
37!endif
38!if "$(BUILD)" == "debug"
39__DEBUGFLAG_0 = /Zi
40!endif
41!if "$(BUILD)" == "release"
42__DEBUGFLAG_0 =
43!endif
44!if "$(BUILD)" == "debug"
45__DEBUGFLAG_1 = /DEBUG
46!endif
47!if "$(BUILD)" == "release"
48__DEBUGFLAG_1 =
49!endif
50!if "$(BUILD)" == "debug"
51__DEBUGFLAG_2 = d
52!endif
53!if "$(BUILD)" == "release"
54__DEBUGFLAG_2 =
55!endif
56!if "$(BUILD)" == "debug"
57__DEBUG_DEFINE_p = /D__WXDEBUG__
58!endif
59!if "$(BUILD)" == "debug"
60__DEBUG_DEFINE_p_1 = /d__WXDEBUG__
61!endif
62!if "$(SHARED)" == "1"
63__DLLFLAG_p = /DWXUSINGDLL
64!endif
65!if "$(SHARED)" == "1"
66__DLLFLAG_p_1 = /dWXUSINGDLL
67!endif
68!if "$(BUILD)" == "debug"
bdc408c4 69__OPTIMIZEFLAG_4 = /Od
250700e4
RD
70!endif
71!if "$(BUILD)" == "release"
bdc408c4 72__OPTIMIZEFLAG_4 = /O2
250700e4
RD
73!endif
74!if "$(RUNTIME_LIBS)" == "dynamic"
bdc408c4 75__RUNTIME_LIBS_7 = D
250700e4
RD
76!endif
77!if "$(RUNTIME_LIBS)" == "static"
bdc408c4 78__RUNTIME_LIBS_7 = T
250700e4
RD
79!endif
80!if "$(UNICODE)" == "1"
81__UNICODE_DEFINE_p = /DwxUSE_UNICODE=1
82!endif
83!if "$(UNICODE)" == "1"
84__UNICODE_DEFINE_p_1 = /dwxUSE_UNICODE=1
85!endif
86!if "$(MONOLITHIC)" == "0"
87__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
88!endif
89!if "$(MONOLITHIC)" == "0"
90__WXLIB_CORE_p = wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
91!endif
92!if "$(MONOLITHIC)" == "0"
93__WXLIB_HTML_p = wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html.lib
94!endif
95!if "$(MONOLITHIC)" == "1"
96__WXLIB_MONO_p = wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
97!endif
98!if "$(WXUNIV)" == "1"
99__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
100!endif
101!if "$(WXUNIV)" == "1"
102__WXUNIV_DEFINE_p_1 = /d__WXUNIVERSAL__
103!endif
bdc408c4
VS
104!if "$(BUILD)" == "debug"
105____DEBUGFLAG_3_p = /D_DEBUG
106!endif
107!if "$(BUILD)" == "release"
108____DEBUGFLAG_3_p = /DNDEBUG
109!endif
110!if "$(BUILD)" == "debug"
111____DEBUGFLAG_3_p_1 = /d_DEBUG
112!endif
113!if "$(BUILD)" == "release"
114____DEBUGFLAG_3_p_1 = /dNDEBUG
115!endif
250700e4
RD
116
117
118all: $(OBJS)
119$(OBJS):
120 -if not exist $(OBJS) mkdir $(OBJS)
121
122### Targets: ###
123
124all: $(OBJS)\xrcdemo.exe data
125
126$(OBJS)\xrcdemo_custclas.obj: .\custclas.cpp
127 $(CXX) /c /nologo /TP /Fo$@ $(XRCDEMO_CXXFLAGS) $**
128
129$(OBJS)\xrcdemo_derivdlg.obj: .\derivdlg.cpp
130 $(CXX) /c /nologo /TP /Fo$@ $(XRCDEMO_CXXFLAGS) $**
131
132$(OBJS)\xrcdemo_myframe.obj: .\myframe.cpp
133 $(CXX) /c /nologo /TP /Fo$@ $(XRCDEMO_CXXFLAGS) $**
134
135$(OBJS)\xrcdemo_xrcdemo.obj: .\xrcdemo.cpp
136 $(CXX) /c /nologo /TP /Fo$@ $(XRCDEMO_CXXFLAGS) $**
137
138$(OBJS)\xrcdemo_xrcdemo.res: .\xrcdemo.rc
bdc408c4 139 rc /fo$@ /dWIN32 $(____DEBUGFLAG_3_p_1) /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.\..\..\..\src\expat\lib /i. $(__DLLFLAG_p_1) /d_WINDOWS /i.\..\..\include $**
250700e4
RD
140
141clean:
142 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
143 -if exist $(OBJS)\*.res del $(OBJS)\*.res
144 -if exist $(OBJS)\xrcdemo.exe del $(OBJS)\xrcdemo.exe
145
146data:
147 if not exist $(OBJS)/rc mkdir $(OBJS)/rc
148 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
149
150$(OBJS)\xrcdemo.exe: $(OBJS)\xrcdemo_xrcdemo.obj $(OBJS)\xrcdemo_myframe.obj $(OBJS)\xrcdemo_derivdlg.obj $(OBJS)\xrcdemo_custclas.obj $(OBJS)\xrcdemo_xrcdemo.res
bdc408c4
VS
151 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGFLAG_1) /LIBPATH:.\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) /SUBSYSTEM:WINDOWS @<<
152 $(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 wxexpat$(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
250700e4 153<<