]> git.saurik.com Git - wxWidgets.git/blame_incremental - utils/wxrc/makefile.gcc
regenerated makefiles
[wxWidgets.git] / utils / wxrc / makefile.gcc
... / ...
CommitLineData
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/config.gcc
8
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
12
13### Variables: ###
14
15LIBDIRNAME = \
16 .\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
17OBJS = \
18 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
19WXRC_CXXFLAGS = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG_2) $(GCCFLAGS) \
20 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
21 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(LIBDIRNAME) \
22 -I.\..\..\..\src\tiff -I.\..\..\..\src\jpeg -I.\..\..\..\src\png \
23 -I.\..\..\..\src\zlib -I.\..\..\..\src\regex -I.\..\..\..\src\expat\lib -I. \
24 $(__DLLFLAG_p) $(CXXFLAGS)
25WXRC_OBJECTS = \
26 $(OBJS)\wxrc_wxrc.o
27
28### Conditionally set variables: ###
29
30ifeq ($(GCC_VERSION),2.95)
31GCCFLAGS = -fvtable-thunks
32endif
33ifeq ($(USE_GUI),0)
34PORTNAME = base
35endif
36ifeq ($(USE_GUI),1)
37PORTNAME = msw
38endif
39ifeq ($(BUILD),debug)
40ifeq ($(DEBUG_FLAG),default)
41WXDEBUGFLAG = d
42endif
43endif
44ifeq ($(DEBUG_FLAG),1)
45WXDEBUGFLAG = d
46endif
47ifeq ($(SHARED),1)
48WXDLLFLAG = dll
49endif
50ifeq ($(UNICODE),1)
51WXUNICODEFLAG = u
52endif
53ifeq ($(WXUNIV),1)
54WXUNIVNAME = univ
55endif
56ifeq ($(BUILD),debug)
57ifeq ($(DEBUG_INFO),default)
58__DEBUGINFO = -g
59endif
60endif
61ifeq ($(BUILD),release)
62ifeq ($(DEBUG_INFO),default)
63__DEBUGINFO =
64endif
65endif
66ifeq ($(DEBUG_INFO),0)
67__DEBUGINFO =
68endif
69ifeq ($(DEBUG_INFO),1)
70__DEBUGINFO = -g
71endif
72ifeq ($(BUILD),debug)
73ifeq ($(DEBUG_FLAG),default)
74__DEBUG_DEFINE_p = -D__WXDEBUG__
75endif
76endif
77ifeq ($(DEBUG_FLAG),1)
78__DEBUG_DEFINE_p = -D__WXDEBUG__
79endif
80ifeq ($(SHARED),1)
81__DLLFLAG_p = -DWXUSINGDLL
82endif
83ifeq ($(USE_GUI),1)
84__LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
85endif
86ifeq ($(USE_GUI),1)
87__LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
88endif
89ifeq ($(USE_GUI),1)
90__LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
91endif
92ifeq ($(BUILD),debug)
93__OPTIMIZEFLAG_2 = -O0
94endif
95ifeq ($(BUILD),release)
96__OPTIMIZEFLAG_2 = -O2
97endif
98ifeq ($(UNICODE),1)
99__UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
100endif
101ifeq ($(MONOLITHIC),0)
102__WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
103endif
104ifeq ($(MONOLITHIC),1)
105__WXLIB_MONO_p = \
106 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
107endif
108ifeq ($(MONOLITHIC),0)
109__WXLIB_XML_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xml
110endif
111ifeq ($(WXUNIV),1)
112__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
113endif
114
115
116all: $(OBJS)
117$(OBJS):
118 -if not exist $(OBJS) mkdir $(OBJS)
119
120### Targets: ###
121
122all: $(OBJS)\wxrc.exe
123
124$(OBJS)\wxrc_wxrc.o: .\wxrc.cpp
125 $(CXX) -c -o $@ $(WXRC_CXXFLAGS) $<
126
127clean:
128 -if exist $(OBJS)\*.o del $(OBJS)\*.o
129 -if exist $(OBJS)\wxrc.exe del $(OBJS)\wxrc.exe
130
131$(OBJS)\wxrc.exe: $(WXRC_OBJECTS)
132 $(CXX) -o $@ $(WXRC_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -L$(LIBDIRNAME) $(__WXLIB_XML_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lodbc32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32
133
134.PHONY: all clean