]> git.saurik.com Git - wxWidgets.git/blame - utils/HelpGen/makefile.gcc
added the process-only option
[wxWidgets.git] / utils / HelpGen / makefile.gcc
CommitLineData
a4ad36cd
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# =========================================================================
6
7include ../../build/msw/config.gcc
8
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
12
13### Variables: ###
14
15HELPGEN_CXXFLAGS = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG_2) $(GCCFLAGS) \
16 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
17 $(__UNICODE_DEFINE_p) -I.\..\..\include -I$(SETUPHDIR) -Wall -I. \
18 $(__DLLFLAG_p) $(CXXFLAGS)
19HELPGEN_OBJECTS = \
20 $(OBJS)\HelpGen_HelpGen.o \
21 $(OBJS)\HelpGen_cjparser.o \
22 $(OBJS)\HelpGen_docripper.o \
23 $(OBJS)\HelpGen_ifcontext.o \
24 $(OBJS)\HelpGen_markup.o \
25 $(OBJS)\HelpGen_scriptbinder.o \
26 $(OBJS)\HelpGen_sourcepainter.o \
27 $(OBJS)\HelpGen_srcparser.o
28OBJS = \
29 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
30SETUPHDIR = \
31 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
32
33### Conditionally set variables: ###
34
35ifeq ($(GCC_VERSION),2.95)
36GCCFLAGS = -fvtable-thunks
37endif
38ifeq ($(SHARED),0)
39LIBDIRNAME = .\..\..\lib\gcc_lib$(CFG)
40endif
41ifeq ($(SHARED),1)
42LIBDIRNAME = .\..\..\lib\gcc_dll$(CFG)
43endif
44ifeq ($(USE_GUI),0)
45PORTNAME = base
46endif
47ifeq ($(USE_GUI),1)
48PORTNAME = msw
49endif
50ifeq ($(BUILD),debug)
51ifeq ($(DEBUG_FLAG),default)
52WXDEBUGFLAG = d
53endif
54endif
55ifeq ($(DEBUG_FLAG),1)
56WXDEBUGFLAG = d
57endif
58ifeq ($(SHARED),1)
59WXDLLFLAG = dll
60endif
61ifeq ($(UNICODE),1)
62WXUNICODEFLAG = u
63endif
64ifeq ($(WXUNIV),1)
65WXUNIVNAME = univ
66endif
67ifeq ($(BUILD),debug)
68ifeq ($(DEBUG_INFO),default)
69__DEBUGINFO = -g
70endif
71endif
72ifeq ($(BUILD),release)
73ifeq ($(DEBUG_INFO),default)
74__DEBUGINFO =
75endif
76endif
77ifeq ($(DEBUG_INFO),0)
78__DEBUGINFO =
79endif
80ifeq ($(DEBUG_INFO),1)
81__DEBUGINFO = -g
82endif
83ifeq ($(BUILD),debug)
84ifeq ($(DEBUG_FLAG),default)
85__DEBUG_DEFINE_p = -D__WXDEBUG__
86endif
87endif
88ifeq ($(DEBUG_FLAG),1)
89__DEBUG_DEFINE_p = -D__WXDEBUG__
90endif
91ifeq ($(SHARED),1)
92__DLLFLAG_p = -DWXUSINGDLL
93endif
94ifeq ($(USE_GUI),1)
95__LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
96endif
97ifeq ($(USE_GUI),1)
98__LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
99endif
100ifeq ($(USE_GUI),1)
101__LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
102endif
103ifeq ($(BUILD),debug)
104__OPTIMIZEFLAG_2 = -O0
105endif
106ifeq ($(BUILD),release)
107__OPTIMIZEFLAG_2 = -O2
108endif
109ifeq ($(UNICODE),1)
110__UNICODE_DEFINE_p = -D_UNICODE
111endif
112ifeq ($(MSLU),1)
113__UNICOWS_LIB_p = -lunicows
114endif
115ifeq ($(MONOLITHIC),0)
116__WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
117endif
118ifeq ($(MONOLITHIC),1)
119__WXLIB_MONO_p = \
120 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
121endif
122ifeq ($(WXUNIV),1)
123__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
124endif
125
126
127all: $(OBJS)
128$(OBJS):
129 -if not exist $(OBJS) mkdir $(OBJS)
130
131### Targets: ###
132
133all: $(OBJS)\HelpGen.exe
134
135$(OBJS)\HelpGen_HelpGen.o: ./src/HelpGen.cpp
136 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
137
138$(OBJS)\HelpGen_cjparser.o: ./src/cjparser.cpp
139 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
140
141$(OBJS)\HelpGen_docripper.o: ./src/docripper.cpp
142 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
143
144$(OBJS)\HelpGen_ifcontext.o: ./src/ifcontext.cpp
145 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
146
147$(OBJS)\HelpGen_markup.o: ./src/markup.cpp
148 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
149
150$(OBJS)\HelpGen_scriptbinder.o: ./src/scriptbinder.cpp
151 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
152
153$(OBJS)\HelpGen_sourcepainter.o: ./src/sourcepainter.cpp
154 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
155
156$(OBJS)\HelpGen_srcparser.o: ./src/srcparser.cpp
157 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
158
159$(OBJS)\HelpGen.exe: $(HELPGEN_OBJECTS)
160 $(CXX) -o $@ $(HELPGEN_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -L$(LIBDIRNAME) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lodbc32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32
161
162clean:
163 -if exist $(OBJS)\*.o del $(OBJS)\*.o
164 -if exist $(OBJS)\HelpGen.exe del $(OBJS)\HelpGen.exe
165
166.PHONY: all clean