]>
Commit | Line | Data |
---|---|---|
cbd63f42 VS |
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 | # ========================================================================= | |
1987af7e | 6 | |
1987af7e | 7 | |
cbd63f42 | 8 | @MAKE_SET@ |
1987af7e | 9 | |
cbd63f42 VS |
10 | CPPFLAGS = @CPPFLAGS@ |
11 | INSTALL_DIR = @INSTALL_DIR@ | |
12 | DEREZ = @DEREZ@ | |
13 | wxUSE_ZLIB = @wxUSE_ZLIB@ | |
14 | MONOLITHIC = @MONOLITHIC@ | |
15 | SONAME_FLAG = @SONAME_FLAG@ | |
16 | CXXFLAGS = @CXXFLAGS@ | |
17 | prefix = @prefix@ | |
18 | INSTALL = @INSTALL@ | |
19 | EXEEXT = @EXEEXT@ | |
20 | RESCOMP = @RESCOMP@ | |
21 | PLATFORM_MAC = @PLATFORM_MAC@ | |
22 | USE_SOVERSION = @USE_SOVERSION@ | |
23 | SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@ | |
24 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
25 | wxUSE_LIBPNG = @wxUSE_LIBPNG@ | |
26 | wxUSE_LIBTIFF = @wxUSE_LIBTIFF@ | |
27 | exec_prefix = @exec_prefix@ | |
28 | libdir = @libdir@ | |
29 | TOOLKIT = @TOOLKIT@ | |
30 | EXTRALIBS = @EXTRALIBS@ | |
31 | CC = @CC@ | |
32 | datadir = @datadir@ | |
33 | PLATFORM_MSDOS = @PLATFORM_MSDOS@ | |
34 | SETFILE = @SETFILE@ | |
35 | UNICODE = @UNICODE@ | |
36 | STRIP = @STRIP@ | |
37 | USE_SOVERSOLARIS = @USE_SOVERSOLARIS@ | |
38 | srcdir = @srcdir@ | |
39 | wxUSE_ODBC = @wxUSE_ODBC@ | |
40 | wxUSE_REGEX = @wxUSE_REGEX@ | |
41 | bindir = @bindir@ | |
42 | PIC_FLAG = @PIC_FLAG@ | |
43 | USE_SOSYMLINKS = @USE_SOSYMLINKS@ | |
44 | wxUSE_LIBJPEG = @wxUSE_LIBJPEG@ | |
45 | INSTALL_DATA = @INSTALL_DATA@ | |
46 | USE_GUI = @USE_GUI@ | |
47 | PLATFORM_UNIX = @PLATFORM_UNIX@ | |
48 | RANLIB = @RANLIB@ | |
49 | SO_SUFFIX = @SO_SUFFIX@ | |
50 | top_srcdir = @top_srcdir@ | |
51 | AR = @AR@ | |
52 | BUILD = @BUILD@ | |
53 | PLATFORM_WIN32 = @PLATFORM_WIN32@ | |
54 | USE_MACVERSION = @USE_MACVERSION@ | |
55 | PLATFORM_MACOSX = @PLATFORM_MACOSX@ | |
49b0a3aa | 56 | DEPS_TRACKING = @DEPS_TRACKING@ |
cbd63f42 VS |
57 | TOOLKIT_VERSION = @TOOLKIT_VERSION@ |
58 | WXUNIV = @WXUNIV@ | |
59 | TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@ | |
cbd63f42 | 60 | CXX = @CXX@ |
49b0a3aa | 61 | SHARED_LD_CXX = @SHARED_LD_CXX@ |
cbd63f42 VS |
62 | includedir = @includedir@ |
63 | LN_S = @LN_S@ | |
64 | CFLAGS = @CFLAGS@ | |
65 | DLLPREFIX = @DLLPREFIX@ | |
66 | SHARED = @SHARED@ | |
67 | USE_SOVERLINUX = @USE_SOVERLINUX@ | |
68 | top_builddir = @top_builddir@ | |
69 | SHARED_LD_CC = @SHARED_LD_CC@ | |
1987af7e | 70 | |
cbd63f42 | 71 | ### Conditionally set variables: ### |
1987af7e | 72 | |
481290e2 VS |
73 | @COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = -lwxzlib |
74 | @COND_UNICODE_1@WXUNICODEFLAG = u | |
75 | @COND_BUILD_DEBUG@WXDEBUGFLAG = d | |
76 | @COND_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p = -lwxjpeg | |
c656b783 | 77 | @COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX) |
49b0a3aa | 78 | @COND_DEPS_TRACKING_0@CXXC = $(CXX) |
9747f85d | 79 | @COND_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p = -lwxpng |
481290e2 VS |
80 | @COND_WXUSE_LIBPNG_BUILTIN@LIB_PNG = wxpng |
81 | @COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = -lwxodbc | |
82 | @COND_MONOLITHIC_0@__WXLIB_CORE_p = -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core-2.5 | |
83 | @COND_WXUNIV_1@WXUNIVNAME = univ | |
84 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ | |
9747f85d | 85 | @COND_WXUSE_ODBC_BUILTIN@LIB_ODBC = wxodbc |
481290e2 VS |
86 | @COND_PLATFORM_WIN32_1@WXCOMPILER = _gcc |
87 | @COND_WXUSE_ZLIB_BUILTIN@LIB_ZLIB = wxzlib | |
88 | @COND_PLATFORM_MAC_1@__menu___mac_setfilecmd = $(SETFILE) -a C menu$(EXEEXT) | |
89 | @COND_PLATFORM_MAC_1@__menu___mac_rezcmd = $(__MACOSX_RESOURCES_p) | |
90 | @COND_PLATFORM_WIN32_1@__menu___win32rc = menu_rc.o | |
c656b783 | 91 | @COND_DEPS_TRACKING_1@CCC = $(top_builddir)./bk-deps $(CC) |
49b0a3aa | 92 | @COND_DEPS_TRACKING_0@CCC = $(CC) |
481290e2 | 93 | @COND_TOOLKIT_MAC@MACOSX_RESOURCES = Carbon.r ../../lib/libwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5.0.r |
9747f85d | 94 | @COND_MONOLITHIC_0@WXLIB_BASE = wx$(WXUNICODEFLAG)$(WXDEBUGFLAG)_base-2.5 |
481290e2 VS |
95 | @COND_PLATFORM_WIN32_1@DLLIMPEXT = .a |
96 | @COND_PLATFORM_WIN32_0@DLLIMPEXT = .$(SO_SUFFIX) | |
97 | @COND_WXUNIV_1@WXUNIV_DEFINE = __WXUNIVERSAL__ | |
98 | @COND_MONOLITHIC_1@WXLIB_MONO = wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5 | |
99 | @COND_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p = -lwxtiff | |
481290e2 | 100 | @COND_WXUSE_LIBJPEG_BUILTIN@LIB_JPEG = wxjpeg |
9747f85d VS |
101 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__ |
102 | @COND_MONOLITHIC_0@WXLIB_HTML = wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html-2.5 | |
103 | @COND_MONOLITHIC_1@__WXLIB_MONO_p = -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5 | |
104 | @COND_MONOLITHIC_0@WXLIB_CORE = wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core-2.5 | |
105 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p_1 = -d __WXUNIVERSAL__ | |
481290e2 VS |
106 | @COND_WXUSE_LIBTIFF_BUILTIN@LIB_TIFF = wxtiff |
107 | @COND_USE_GUI_0@PORTNAME = base | |
108 | @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION) | |
9747f85d | 109 | @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p = $(RESCOMP) -d __DARWIN__ -t APPL -d __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) -i $(srcdir)/../../include -i $(srcdir) -o menu$(EXEEXT) Carbon.r ../../lib/libwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5.0.r |
481290e2 VS |
110 | @COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = -lwxregex |
111 | @COND_WXUSE_REGEX_BUILTIN@LIB_REGEX = wxregex | |
cbd63f42 VS |
112 | |
113 | ### Targets: ### | |
114 | ||
115 | all: menu$(EXEEXT) | |
116 | ||
117 | install-strip: install | |
118 | ||
119 | clean: | |
c656b783 | 120 | rm -f ./*.o ./.deps/* |
cbd63f42 VS |
121 | rm -f menu$(EXEEXT) |
122 | ||
123 | install: all | |
124 | ||
125 | menu$(EXEEXT): menu.o $(__menu___win32rc) | |
481290e2 | 126 | $(CXX) -o $@ menu.o $(__menu___win32rc) -L$(top_builddir)lib $(__WXLIB_MONO_p) $(SAMPLES_RPATH_FLAG) $(__WXLIB_CORE_p) $(EXTRALIBS) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(__LIB_ZLIB_p) $(__LIB_TIFF_p) $(__LIB_ODBC_p) $(__LIB_REGEX_p) |
cbd63f42 VS |
127 | $(__menu___mac_rezcmd) |
128 | $(__menu___mac_setfilecmd) | |
129 | ||
49b0a3aa VS |
130 | distclean: clean |
131 | rm -f configure config.cache config.log config.status | |
132 | rm -f bk-deps shared-ld-sh | |
133 | ||
cbd63f42 | 134 | menu_rc.o: $(srcdir)/menu.rc |
9747f85d | 135 | $(RESCOMP) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_2) --include-dir $(srcdir)/../../include --include-dir $(srcdir) |
cbd63f42 VS |
136 | |
137 | menu.o: $(srcdir)/menu.cpp | |
49b0a3aa | 138 | $(CXXC) -c -o $@ $(CPPFLAGS) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -I$(srcdir)/../../include -I$(srcdir) $(CXXFLAGS) $< |
cbd63f42 VS |
139 | |
140 | uninstall: | |
141 | ||
142 | ||
143 | # Include dependency info, if present: | |
49b0a3aa | 144 | @IF_GNU_MAKE@-include .deps/*.d |
cbd63f42 VS |
145 | |
146 | .PHONY: all |