]> git.saurik.com Git - wxWidgets.git/blob - samples/html/helpview/makefile.vc
fixed /Mxx flag when using static RTL
[wxWidgets.git] / samples / html / helpview / makefile.vc
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 # =========================================================================
6
7 !include <../../../build/config.vc>
8
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
12
13 ### Variables: ###
14
15 HELPVIEW_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS_6)$(__DEBUGFLAG_2) $(__DEBUGFLAG_0) /Fd$(OBJS)\helpview.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) $(CXXFLAGS)
16 OBJS = vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
17
18 ### Conditionally set variables: ###
19
20 !if "$(USE_GUI)" == "0"
21 PORTNAME = base
22 !endif
23 !if "$(USE_GUI)" == "1"
24 PORTNAME = msw
25 !endif
26 !if "$(BUILD)" == "debug"
27 WXDEBUGFLAG = d
28 !endif
29 !if "$(SHARED)" == "1"
30 WXDLLFLAG = dll
31 !endif
32 !if "$(UNICODE)" == "1"
33 WXUNICODEFLAG = u
34 !endif
35 !if "$(WXUNIV)" == "1"
36 WXUNIVNAME = 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"
69 __OPTIMIZEFLAG_3 = /Od
70 !endif
71 !if "$(BUILD)" == "release"
72 __OPTIMIZEFLAG_3 = /O2
73 !endif
74 !if "$(RUNTIME_LIBS)" == "dynamic"
75 __RUNTIME_LIBS_6 = D
76 !endif
77 !if "$(RUNTIME_LIBS)" == "static"
78 __RUNTIME_LIBS_6 = T
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
104
105
106 all: $(OBJS)
107 $(OBJS):
108 -if not exist $(OBJS) mkdir $(OBJS)
109
110 ### Targets: ###
111
112 all: $(OBJS)\helpview.exe data
113
114 $(OBJS)\helpview_helpview.obj: .\helpview.cpp
115 $(CXX) /c /nologo /TP /Fo$@ $(HELPVIEW_CXXFLAGS) $**
116
117 $(OBJS)\helpview_helpview.res: .\helpview.rc
118 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) $**
119
120 clean:
121 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
122 -if exist $(OBJS)\*.res del $(OBJS)\*.res
123 -if exist $(OBJS)\helpview.exe del $(OBJS)\helpview.exe
124
125 data:
126 if not exist $(OBJS) mkdir $(OBJS)
127 for %f in (test.zip) do if not exist $(OBJS)\%f copy .\%f $(OBJS)
128
129 $(OBJS)\helpview.exe: $(OBJS)\helpview_helpview.obj $(OBJS)\helpview_helpview.res
130 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGFLAG_1) /LIBPATH:.\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) /SUBSYSTEM:WINDOWS @<<
131 $(OBJS)\helpview_helpview.obj $(OBJS)\helpview_helpview.res $(__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
132 <<