]> git.saurik.com Git - wxWidgets.git/blame - utils/HelpGen/src/makefile.gcc
overseeing the obvious, there is already a perfect scroll call for HIView...
[wxWidgets.git] / utils / HelpGen / src / makefile.gcc
CommitLineData
2ace0078
VS
1# =========================================================================
2# This makefile was generated by
c3255f5f 3# Bakefile 0.1.3 (http://bakefile.sourceforge.net)
2ace0078
VS
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
8ba95a18 7include ../../../build/msw/config.gcc
2ace0078
VS
8
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
12
13### Variables: ###
14
b17c1746
DE
15OBJS = \
16 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
17SETUPHDIR = \
18 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
9bfe7ad9 19HELPGEN_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG_2) $(GCCFLAGS) \
2ace0078 20 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
ec08d395 21 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -Wall -I. \
9bfe7ad9
VS
22 $(__DLLFLAG_p) $(__EXCEPTIONSFLAG_4) $(__EXCEPTIONSFLAG_5) $(CPPFLAGS) \
23 $(CXXFLAGS)
2ace0078
VS
24HELPGEN_OBJECTS = \
25 $(OBJS)\HelpGen_HelpGen.o \
26 $(OBJS)\HelpGen_cjparser.o \
27 $(OBJS)\HelpGen_docripper.o \
28 $(OBJS)\HelpGen_ifcontext.o \
29 $(OBJS)\HelpGen_markup.o \
30 $(OBJS)\HelpGen_scriptbinder.o \
31 $(OBJS)\HelpGen_sourcepainter.o \
75a0a7b7 32 $(OBJS)\HelpGen_srcparser.o
2ace0078
VS
33
34### Conditionally set variables: ###
35
36ifeq ($(GCC_VERSION),2.95)
37GCCFLAGS = -fvtable-thunks
38endif
39ifeq ($(USE_GUI),0)
40PORTNAME = base
41endif
42ifeq ($(USE_GUI),1)
43PORTNAME = msw
44endif
45ifeq ($(BUILD),debug)
46ifeq ($(DEBUG_FLAG),default)
47WXDEBUGFLAG = d
48endif
49endif
50ifeq ($(DEBUG_FLAG),1)
51WXDEBUGFLAG = d
52endif
2ace0078
VS
53ifeq ($(UNICODE),1)
54WXUNICODEFLAG = u
55endif
56ifeq ($(WXUNIV),1)
57WXUNIVNAME = univ
58endif
b17c1746
DE
59ifeq ($(SHARED),1)
60WXDLLFLAG = dll
2ace0078 61endif
b17c1746
DE
62ifeq ($(BUILD),debug)
63__OPTIMIZEFLAG_2 = -O0
2ace0078
VS
64endif
65ifeq ($(BUILD),release)
b17c1746 66__OPTIMIZEFLAG_2 = -O2
2ace0078 67endif
b17c1746
DE
68ifeq ($(USE_EXCEPTIONS),0)
69__EXCEPTIONSFLAG_4 = -fno-rtti
2ace0078 70endif
b17c1746
DE
71ifeq ($(USE_EXCEPTIONS),1)
72__EXCEPTIONSFLAG_4 =
2ace0078 73endif
b17c1746
DE
74ifeq ($(USE_EXCEPTIONS),0)
75__EXCEPTIONSFLAG_5 = -fno-exceptions
76endif
77ifeq ($(USE_EXCEPTIONS),1)
78__EXCEPTIONSFLAG_5 =
79endif
80ifeq ($(WXUNIV),1)
81__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
2ace0078
VS
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
b17c1746
DE
91ifeq ($(UNICODE),1)
92__UNICODE_DEFINE_p = -D_UNICODE
93endif
2ace0078
VS
94ifeq ($(SHARED),1)
95__DLLFLAG_p = -DWXUSINGDLL
96endif
b17c1746
DE
97ifeq ($(MONOLITHIC),0)
98__WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
b71531ad 99endif
b17c1746
DE
100ifeq ($(MONOLITHIC),1)
101__WXLIB_MONO_p = \
102 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
b71531ad 103endif
b17c1746
DE
104ifeq ($(USE_GUI),1)
105__LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
b71531ad 106endif
2ace0078
VS
107ifeq ($(USE_GUI),1)
108__LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
109endif
110ifeq ($(USE_GUI),1)
111__LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
112endif
b17c1746
DE
113ifeq ($(MSLU),1)
114__UNICOWS_LIB_p = -lunicows
2ace0078 115endif
b17c1746
DE
116ifeq ($(SHARED),0)
117LIBDIRNAME = .\..\..\..\lib\gcc_lib$(CFG)
2ace0078 118endif
b17c1746
DE
119ifeq ($(SHARED),1)
120LIBDIRNAME = .\..\..\..\lib\gcc_dll$(CFG)
2ace0078 121endif
b17c1746
DE
122ifeq ($(BUILD),debug)
123ifeq ($(DEBUG_INFO),default)
124__DEBUGINFO = -g
2ace0078 125endif
2ace0078 126endif
b17c1746
DE
127ifeq ($(BUILD),release)
128ifeq ($(DEBUG_INFO),default)
129__DEBUGINFO =
2ace0078 130endif
2ace0078 131endif
b17c1746
DE
132ifeq ($(DEBUG_INFO),0)
133__DEBUGINFO =
134endif
135ifeq ($(DEBUG_INFO),1)
136__DEBUGINFO = -g
2ace0078
VS
137endif
138
139
140all: $(OBJS)
141$(OBJS):
142 -if not exist $(OBJS) mkdir $(OBJS)
143
144### Targets: ###
145
146all: $(OBJS)\HelpGen.exe
147
b17c1746
DE
148clean:
149 -if exist $(OBJS)\*.o del $(OBJS)\*.o
150 -if exist $(OBJS)\HelpGen.exe del $(OBJS)\HelpGen.exe
151
152$(OBJS)\HelpGen.exe: $(HELPGEN_OBJECTS)
b92ca8cf 153 $(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$(WXUNICODEFLAG)$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32
b17c1746 154
204e4cd6 155$(OBJS)\HelpGen_HelpGen.o: ./HelpGen.cpp
2ace0078
VS
156 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
157
204e4cd6 158$(OBJS)\HelpGen_cjparser.o: ./cjparser.cpp
2ace0078
VS
159 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
160
204e4cd6 161$(OBJS)\HelpGen_docripper.o: ./docripper.cpp
2ace0078
VS
162 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
163
204e4cd6 164$(OBJS)\HelpGen_ifcontext.o: ./ifcontext.cpp
2ace0078
VS
165 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
166
204e4cd6 167$(OBJS)\HelpGen_markup.o: ./markup.cpp
2ace0078
VS
168 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
169
204e4cd6 170$(OBJS)\HelpGen_scriptbinder.o: ./scriptbinder.cpp
2ace0078
VS
171 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
172
204e4cd6 173$(OBJS)\HelpGen_sourcepainter.o: ./sourcepainter.cpp
2ace0078
VS
174 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
175
204e4cd6 176$(OBJS)\HelpGen_srcparser.o: ./srcparser.cpp
2ace0078
VS
177 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
178
2ace0078 179.PHONY: all clean