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 # =========================================================================
7 include ../../../build/msw/config.gcc
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
16 .\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
19 WXRC_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)
28 ### Conditionally set variables: ###
30 ifeq ($(GCC_VERSION),2.95)
31 GCCFLAGS = -fvtable-thunks
40 ifeq ($(DEBUG_FLAG),default)
44 ifeq ($(DEBUG_FLAG),1)
57 ifeq ($(DEBUG_INFO),default)
61 ifeq ($(BUILD),release)
62 ifeq ($(DEBUG_INFO),default)
66 ifeq ($(DEBUG_INFO),0)
69 ifeq ($(DEBUG_INFO),1)
73 ifeq ($(DEBUG_FLAG),default)
74 __DEBUG_DEFINE_p = -D__WXDEBUG__
77 ifeq ($(DEBUG_FLAG),1)
78 __DEBUG_DEFINE_p = -D__WXDEBUG__
81 __DLLFLAG_p = -DWXUSINGDLL
84 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
87 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
90 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
93 __OPTIMIZEFLAG_2 = -O0
95 ifeq ($(BUILD),release)
96 __OPTIMIZEFLAG_2 = -O2
99 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
102 __UNICOWS_LIB_p = -lunicows
104 ifeq ($(MONOLITHIC),0)
105 __WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
107 ifeq ($(MONOLITHIC),1)
109 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
111 ifeq ($(MONOLITHIC),0)
112 __WXLIB_XML_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xml
115 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
121 -if not exist $(OBJS) mkdir $(OBJS)
125 all: $(OBJS)\wxrc.exe
127 $(OBJS)\wxrc_wxrc.o: .\wxrc.cpp
128 $(CXX) -c -o $@ $(WXRC_CXXFLAGS) $<
131 -if exist $(OBJS)\*.o del $(OBJS)\*.o
132 -if exist $(OBJS)\wxrc.exe del $(OBJS)\wxrc.exe
134 $(OBJS)\wxrc.exe: $(WXRC_OBJECTS)
135 $(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) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lodbc32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32