]> git.saurik.com Git - wxWidgets.git/blame - samples/dialogs/makefile.vc
Added wxStringBufferLength: works like wxStringBuffer, except
[wxWidgets.git] / samples / dialogs / makefile.vc
CommitLineData
6f628073
VS
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# =========================================================================
48d1144b 6
48d1144b 7
6f628073
VS
8# -------------------------------------------------------------------------
9# These are configurable options:
10# -------------------------------------------------------------------------
48d1144b 11
6f628073
VS
12# Type of compiled binaries [debug,release]
13BUILD = release
14# Name of your custom configuration. This affects directory
15# where object files are stored as well as the location of
16# compiled .lib files and setup.h under the lib/ toplevel directory.
17CFG =
18# Standard preprocessor flags (common for CC and CXX)
19CPPFLAGS = /DWIN32 /D_WINDOWS
20# C++ compiler
21CXX = cl
22# Standard flags for C++
23CXXFLAGS =
24# Standard linker flags
25LDFLAGS =
26# Multiple libraries or single huge monolithic one? [0,1]
27MONOLITHIC = 1
28# Is this official build by wxWindows developers? [0,1]
29OFFICIAL_BUILD = 0
30# What type of library to build? [0,1]
31SHARED = 1
32# Compile Unicode build of wxWindows? [0,1]
33UNICODE = 0
34# Build GUI libraries? [0,1]
35USE_GUI = 1
36# Build wxUniversal instead of native port? [0,1]
37WXUNIV = 0
48d1144b 38
6f628073
VS
39# -------------------------------------------------------------------------
40# Do not modify the rest of this file!
41# -------------------------------------------------------------------------
42
43### Variables: ###
44
0706fb23 45OBJS = vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
ee5749a6 46DIALOGS_CXXFLAGS = $(CPPFLAGS) /MD$(__DEBUGFLAG_2) $(__DEBUGFLAG_0) /Fd$(OBJS)\dialogs.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)
6f628073
VS
47
48### Conditionally set variables: ###
49
50!if "$(USE_GUI)" == "0"
51PORTNAME = base
52!endif
53!if "$(USE_GUI)" == "1"
54PORTNAME = msw
55!endif
56!if "$(BUILD)" == "debug"
57WXDEBUGFLAG = d
58!endif
59!if "$(SHARED)" == "1"
60WXDLLFLAG = dll
61!endif
62!if "$(UNICODE)" == "1"
63WXUNICODEFLAG = u
64!endif
65!if "$(WXUNIV)" == "1"
66WXUNIVNAME = univ
67!endif
68!if "$(BUILD)" == "debug"
ee5749a6
VS
69__DEBUGFLAG_0 = /Zi
70!endif
71!if "$(BUILD)" == "release"
72__DEBUGFLAG_0 =
73!endif
74!if "$(BUILD)" == "debug"
75__DEBUGFLAG_1 = /DEBUG
76!endif
77!if "$(BUILD)" == "release"
78__DEBUGFLAG_1 =
79!endif
80!if "$(BUILD)" == "debug"
81__DEBUGFLAG_2 = d
82!endif
83!if "$(BUILD)" == "release"
84__DEBUGFLAG_2 =
85!endif
86!if "$(BUILD)" == "debug"
6f628073
VS
87__DEBUG_DEFINE_p = /D__WXDEBUG__
88!endif
89!if "$(BUILD)" == "debug"
90__DEBUG_DEFINE_p_1 = /d__WXDEBUG__
91!endif
92!if "$(SHARED)" == "1"
93__DLLFLAG_p = /DWXUSINGDLL
94!endif
95!if "$(SHARED)" == "1"
96__DLLFLAG_p_1 = /dWXUSINGDLL
97!endif
ee5749a6
VS
98!if "$(BUILD)" == "debug"
99__OPTIMIZEFLAG_3 = /Od
100!endif
101!if "$(BUILD)" == "release"
102__OPTIMIZEFLAG_3 = /O2
103!endif
6f628073
VS
104!if "$(UNICODE)" == "1"
105__UNICODE_DEFINE_p = /DwxUSE_UNICODE=1
106!endif
107!if "$(UNICODE)" == "1"
108__UNICODE_DEFINE_p_1 = /dwxUSE_UNICODE=1
109!endif
110!if "$(MONOLITHIC)" == "0"
0706fb23
VS
111__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
112!endif
113!if "$(MONOLITHIC)" == "0"
6f628073
VS
114__WXLIB_CORE_p = wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
115!endif
116!if "$(MONOLITHIC)" == "1"
117__WXLIB_MONO_p = wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
118!endif
119!if "$(WXUNIV)" == "1"
120__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
121!endif
122!if "$(WXUNIV)" == "1"
123__WXUNIV_DEFINE_p_1 = /d__WXUNIVERSAL__
124!endif
125
126
127all: $(OBJS)
128$(OBJS):
129 -if not exist $(OBJS) mkdir $(OBJS)
130
131### Targets: ###
132
133all: $(OBJS)\dialogs.exe data
134
135$(OBJS)\dialogs_dialogs.obj: .\dialogs.cpp
136 $(CXX) /c /nologo /TP /Fo$@ $(DIALOGS_CXXFLAGS) $**
137
138$(OBJS)\dialogs_dialogs.res: .\dialogs.rc
ee5749a6 139 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) $**
6f628073
VS
140
141clean:
142 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
143 -if exist $(OBJS)\*.res del $(OBJS)\*.res
144 -if exist $(OBJS)\dialogs.exe del $(OBJS)\dialogs.exe
6f628073
VS
145
146data:
0706fb23
VS
147 if not exist $(OBJS) mkdir $(OBJS)
148 for %f in (tips.txt) do if not exist $(OBJS)\%f copy .\%f $(OBJS)
6f628073
VS
149
150$(OBJS)\dialogs.exe: $(OBJS)\dialogs_dialogs.obj $(OBJS)\dialogs_dialogs.res
ee5749a6 151 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGFLAG_1) /LIBPATH:.\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) /SUBSYSTEM:WINDOWS @<<
0706fb23 152 $(OBJS)\dialogs_dialogs.obj $(OBJS)\dialogs_dialogs.res $(__WXLIB_MONO_p) $(__WXLIB_CORE_p) $(__WXLIB_BASE_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
6f628073
VS
153<<
154
155install: all
156
157uninstall: