]> git.saurik.com Git - wxWidgets.git/blob - contrib/build/gizmos/makefile.gcc
removed old expat
[wxWidgets.git] / contrib / build / gizmos / makefile.gcc
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.1.20030719 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
6
7 include ../../../build/config.gcc
8
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
12
13 ### Variables: ###
14
15 GIZMOSDLL_CXXFLAGS = $(CPPFLAGS) $(__DEBUGFLAG) $(__OPTIMIZEFLAG) $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -I..\..\src\gizmos\..\..\..\include -I..\..\src\gizmos\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -I..\..\src\gizmos\..\..\..\src\tiff -I..\..\src\gizmos\..\..\..\src\jpeg -I..\..\src\gizmos\..\..\..\src\png -I..\..\src\gizmos\..\..\..\src\zlib -I..\..\src\gizmos\..\..\..\src\regex -I..\..\src\gizmos\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_GIZMOS $(CXXFLAGS)
16 GIZMOSLIB_CXXFLAGS = $(CPPFLAGS) $(__DEBUGFLAG) $(__OPTIMIZEFLAG) $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -I..\..\src\gizmos\..\..\..\include -I..\..\src\gizmos\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -I..\..\src\gizmos\..\..\..\src\tiff -I..\..\src\gizmos\..\..\..\src\jpeg -I..\..\src\gizmos\..\..\..\src\png -I..\..\src\gizmos\..\..\..\src\zlib -I..\..\src\gizmos\..\..\..\src\regex -I..\..\src\gizmos\..\..\include $(CXXFLAGS)
17 OBJS = gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18
19 ### Conditionally set variables: ###
20
21 ifeq ($(GCC_VERSION),2.95)
22 GCCFLAGS = -fvtable-thunks
23 endif
24 ifeq ($(USE_GUI),0)
25 PORTNAME = base
26 endif
27 ifeq ($(USE_GUI),1)
28 PORTNAME = msw
29 endif
30 ifeq ($(OFFICIAL_BUILD),0)
31 VENDORTAG = _$(VENDOR)
32 endif
33 ifeq ($(OFFICIAL_BUILD),1)
34 VENDORTAG =
35 endif
36 ifeq ($(BUILD),debug)
37 WXDEBUGFLAG = d
38 endif
39 ifeq ($(SHARED),1)
40 WXDLLFLAG = dll
41 endif
42 ifeq ($(UNICODE),1)
43 WXUNICODEFLAG = u
44 endif
45 ifeq ($(WXUNIV),1)
46 WXUNIVNAME = univ
47 endif
48 ifeq ($(BUILD),debug)
49 __DEBUGFLAG = -g
50 endif
51 ifeq ($(BUILD),release)
52 __DEBUGFLAG =
53 endif
54 ifeq ($(BUILD),debug)
55 __DEBUG_DEFINE_p = -D__WXDEBUG__
56 endif
57 ifeq ($(BUILD),debug)
58 __OPTIMIZEFLAG = -O0
59 endif
60 ifeq ($(BUILD),release)
61 __OPTIMIZEFLAG = -O2
62 endif
63 ifeq ($(UNICODE),1)
64 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
65 endif
66 ifeq ($(MONOLITHIC),0)
67 __WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
68 endif
69 ifeq ($(MONOLITHIC),0)
70 __WXLIB_CORE_p = -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core
71 endif
72 ifeq ($(MONOLITHIC),1)
73 __WXLIB_MONO_p = -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
74 endif
75 ifeq ($(WXUNIV),1)
76 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
77 endif
78 ifeq ($(SHARED),1)
79 __gizmosdll___depname = ..\..\src\gizmos\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_gcc$(VENDORTAG).dll
80 endif
81 ifeq ($(SHARED),0)
82 __gizmoslib___depname = ..\..\src\gizmos\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.a
83 endif
84
85
86 all: $(OBJS)
87 $(OBJS):
88 -if not exist $(OBJS) mkdir $(OBJS)
89
90 ### Targets: ###
91
92 all: $(__gizmosdll___depname) $(__gizmoslib___depname)
93
94 $(OBJS)\gizmosdll_dummy.o: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
95 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
96
97 $(OBJS)\gizmosdll_dynamicsash.o: ../../src/gizmos\dynamicsash.cpp
98 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
99
100 $(OBJS)\gizmosdll_editlbox.o: ../../src/gizmos\editlbox.cpp
101 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
102
103 $(OBJS)\gizmosdll_ledctrl.o: ../../src/gizmos\ledctrl.cpp
104 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
105
106 $(OBJS)\gizmosdll_multicell.o: ../../src/gizmos\multicell.cpp
107 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
108
109 $(OBJS)\gizmosdll_splittree.o: ../../src/gizmos\splittree.cpp
110 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
111
112 $(OBJS)\gizmosdll_statpict.o: ../../src/gizmos\statpict.cpp
113 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
114
115 $(OBJS)\gizmoslib_dummy.o: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
116 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
117
118 $(OBJS)\gizmoslib_dynamicsash.o: ../../src/gizmos\dynamicsash.cpp
119 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
120
121 $(OBJS)\gizmoslib_editlbox.o: ../../src/gizmos\editlbox.cpp
122 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
123
124 $(OBJS)\gizmoslib_ledctrl.o: ../../src/gizmos\ledctrl.cpp
125 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
126
127 $(OBJS)\gizmoslib_multicell.o: ../../src/gizmos\multicell.cpp
128 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
129
130 $(OBJS)\gizmoslib_splittree.o: ../../src/gizmos\splittree.cpp
131 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
132
133 $(OBJS)\gizmoslib_statpict.o: ../../src/gizmos\statpict.cpp
134 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
135
136 clean:
137 -if exist $(OBJS)\*.o del $(OBJS)\*.o
138 -if exist ..\..\src\gizmos\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_gcc$(VENDORTAG).dll del ..\..\src\gizmos\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_gcc$(VENDORTAG).dll
139 -if exist ..\..\src\gizmos\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.a del ..\..\src\gizmos\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.a
140 -if exist ..\..\src\gizmos\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.a del ..\..\src\gizmos\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.a
141
142 ifeq ($(SHARED),1)
143 ..\..\src\gizmos\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_gcc$(VENDORTAG).dll: $(OBJS)\gizmosdll_dummy.o $(OBJS)\gizmosdll_dynamicsash.o $(OBJS)\gizmosdll_editlbox.o $(OBJS)\gizmosdll_ledctrl.o $(OBJS)\gizmosdll_multicell.o $(OBJS)\gizmosdll_splittree.o $(OBJS)\gizmosdll_statpict.o
144 $(CXX) -shared -o $@ $(OBJS)\gizmosdll_dummy.o $(OBJS)\gizmosdll_dynamicsash.o $(OBJS)\gizmosdll_editlbox.o $(OBJS)\gizmosdll_ledctrl.o $(OBJS)\gizmosdll_multicell.o $(OBJS)\gizmosdll_splittree.o $(OBJS)\gizmosdll_statpict.o $(LDFLAGS) $(__DEBUGFLAG) -mthreads -L..\..\src\gizmos\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -Wl,--out-implib,..\..\src\gizmos\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.a $(__WXLIB_MONO_p) -lwxtiff$(WXDEBUGFLAG) -lwxjpeg$(WXDEBUGFLAG) -lwxpng$(WXDEBUGFLAG) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXDEBUGFLAG) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lodbc32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 $(__WXLIB_BASE_p) $(__WXLIB_CORE_p)
145 endif
146
147 ifeq ($(SHARED),0)
148 ..\..\src\gizmos\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.a: $(OBJS)\gizmoslib_dummy.o $(OBJS)\gizmoslib_dynamicsash.o $(OBJS)\gizmoslib_editlbox.o $(OBJS)\gizmoslib_ledctrl.o $(OBJS)\gizmoslib_multicell.o $(OBJS)\gizmoslib_splittree.o $(OBJS)\gizmoslib_statpict.o
149 if exist $@ del $@
150 ar rcu $@ $(OBJS)\gizmoslib_dummy.o $(OBJS)\gizmoslib_dynamicsash.o $(OBJS)\gizmoslib_editlbox.o $(OBJS)\gizmoslib_ledctrl.o $(OBJS)\gizmoslib_multicell.o $(OBJS)\gizmoslib_splittree.o $(OBJS)\gizmoslib_statpict.o
151 ranlib $@
152 endif
153
154 .PHONY: all clean