1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.6 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
7 include ../../build/msw/config.gcc
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
17 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 LIBDIRNAME = .\..\..\lib\gcc_$(LIBTYPE_SUFFIX)$(CFG)
20 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
21 WXRC_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG_2) $(GCCFLAGS) -DHAVE_W32API_H \
22 -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
23 -I.\..\..\include -I$(SETUPHDIR) -W -Wall -I. $(__DLLFLAG_p) -DwxUSE_GUI=0 \
24 $(__EXCEPTIONSFLAG_4) $(__EXCEPTIONSFLAG_5) -Wno-ctor-dtor-privacy \
25 $(CPPFLAGS) $(CXXFLAGS)
29 ### Conditionally set variables: ###
31 ifeq ($(GCC_VERSION),2.95)
32 GCCFLAGS = -fvtable-thunks
41 ifeq ($(DEBUG_FLAG),default)
45 ifeq ($(DEBUG_FLAG),1)
63 ifeq ($(MONOLITHIC),0)
66 ifeq ($(MONOLITHIC),1)
70 __wxrc___depname = $(OBJS)\wxrc.exe
73 __OPTIMIZEFLAG_2 = -O0
75 ifeq ($(BUILD),release)
76 __OPTIMIZEFLAG_2 = -O2
78 ifeq ($(USE_EXCEPTIONS),0)
79 __EXCEPTIONSFLAG_4 = -fno-rtti
81 ifeq ($(USE_EXCEPTIONS),1)
84 ifeq ($(USE_EXCEPTIONS),0)
85 __EXCEPTIONSFLAG_5 = -fno-exceptions
87 ifeq ($(USE_EXCEPTIONS),1)
91 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
94 ifeq ($(DEBUG_FLAG),default)
95 __DEBUG_DEFINE_p = -D__WXDEBUG__
98 ifeq ($(DEBUG_FLAG),1)
99 __DEBUG_DEFINE_p = -D__WXDEBUG__
102 __UNICODE_DEFINE_p = -D_UNICODE
105 __DLLFLAG_p = -DWXUSINGDLL
107 ifeq ($(MONOLITHIC),0)
109 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml
111 ifeq ($(MONOLITHIC),0)
113 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
115 ifeq ($(MONOLITHIC),1)
117 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
120 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
123 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
126 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
129 __UNICOWS_LIB_p = -lunicows
131 ifeq ($(BUILD),debug)
132 ifeq ($(DEBUG_INFO),default)
136 ifeq ($(BUILD),release)
137 ifeq ($(DEBUG_INFO),default)
141 ifeq ($(DEBUG_INFO),0)
144 ifeq ($(DEBUG_INFO),1)
151 -if not exist $(OBJS) mkdir $(OBJS)
155 all: $(__wxrc___depname)
158 -if exist $(OBJS)\*.o del $(OBJS)\*.o
159 -if exist $(OBJS)\wxrc.exe del $(OBJS)\wxrc.exe
162 $(OBJS)\wxrc.exe: $(WXRC_OBJECTS)
163 $(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$(WXUNICODEFLAG)$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32
166 $(OBJS)\wxrc_wxrc.o: ./wxrc.cpp
167 $(CXX) -c -o $@ $(WXRC_CXXFLAGS) $<