]>
Commit | Line | Data |
---|---|---|
187cf772 VS |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
b17c1746 | 3 | # Bakefile 0.1.2 (http://bakefile.sourceforge.net) |
187cf772 VS |
4 | # Do not modify, all changes will be overwritten! |
5 | # ========================================================================= | |
3373d6bf | 6 | |
3373d6bf | 7 | |
187cf772 | 8 | @MAKE_SET@ |
3373d6bf | 9 | |
187cf772 VS |
10 | prefix = @prefix@ |
11 | exec_prefix = @exec_prefix@ | |
12 | INSTALL = @INSTALL@ | |
b328fad3 | 13 | EXEEXT = @EXEEXT@ |
187cf772 VS |
14 | RESCOMP = @RESCOMP@ |
15 | SETFILE = @SETFILE@ | |
b17c1746 DE |
16 | NM = @NM@ |
17 | srcdir = @srcdir@ | |
18 | top_srcdir = @top_srcdir@ | |
19 | top_builddir = @top_builddir@ | |
20 | LDFLAGS_GUI = @LDFLAGS_GUI@ | |
21 | CXX = @CXX@ | |
22 | CXXFLAGS = @CXXFLAGS@ | |
23 | CPPFLAGS = @CPPFLAGS@ | |
24 | LDFLAGS = @LDFLAGS@ | |
187cf772 VS |
25 | TOOLKIT = @TOOLKIT@ |
26 | TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@ | |
27 | TOOLKIT_VERSION = @TOOLKIT_VERSION@ | |
b17c1746 DE |
28 | TOOLCHAIN_NAME = @TOOLCHAIN_NAME@ |
29 | EXTRALIBS = @EXTRALIBS@ | |
30 | EXTRALIBS_GUI = @EXTRALIBS_GUI@ | |
31 | HOST_SUFFIX = @HOST_SUFFIX@ | |
46e87167 | 32 | |
187cf772 | 33 | ### Variables: ### |
3373d6bf | 34 | |
a4ad36cd | 35 | DESTDIR = |
187cf772 | 36 | LIBDIRNAME = $(top_builddir)lib |
9bfe7ad9 VS |
37 | WXEMULATOR_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -I$(srcdir) \ |
38 | $(__DLLFLAG_p) -I$(srcdir)/../../../samples $(CPPFLAGS) $(CXXFLAGS) | |
187cf772 VS |
39 | WXEMULATOR_OBJECTS = \ |
40 | $(__wxemulator___win32rc) \ | |
a4ad36cd | 41 | $(__wxemulator_os2_lib_res) \ |
187cf772 | 42 | wxemulator_emulator.o |
3373d6bf | 43 | |
187cf772 VS |
44 | ### Conditionally set variables: ### |
45 | ||
b328fad3 VS |
46 | @COND_DEPS_TRACKING_0@CXXC = $(CXX) |
47 | @COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX) | |
187cf772 VS |
48 | @COND_USE_GUI_0@PORTNAME = base |
49 | @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION) | |
50 | @COND_TOOLKIT_MAC@WXBASEPORT = _carbon | |
51 | @COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d | |
52 | @COND_DEBUG_FLAG_1@WXDEBUGFLAG = d | |
53 | @COND_UNICODE_1@WXUNICODEFLAG = u | |
54 | @COND_WXUNIV_1@WXUNIVNAME = univ | |
b17c1746 DE |
55 | @COND_PLATFORM_MAC_1@__wxemulator___mac_setfilecmd = \ |
56 | @COND_PLATFORM_MAC_1@ $(SETFILE) -a C wxemulator$(EXEEXT) | |
57 | @COND_PLATFORM_MAC_1@__wxemulator___mac_rezcmd = $(__MACOSX_RESOURCES_p_1) | |
58 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ | |
59 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p_1 = -d __WXUNIVERSAL__ | |
60 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__ | |
187cf772 VS |
61 | @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL |
62 | @COND_SHARED_1@__DLLFLAG_p_1 = -d WXUSINGDLL | |
63 | @COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL | |
b17c1746 DE |
64 | COND_PLATFORM_OS2_1___wxemulator___os2_emxbindcmd = $(NM) wxemulator$(EXEEXT) \ |
65 | | if grep -q pmwin.763 ; then emxbind -ep wxemulator$(EXEEXT) ; fi | |
66 | @COND_PLATFORM_OS2_1@__wxemulator___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___wxemulator___os2_emxbindcmd) | |
67 | @COND_PLATFORM_WIN32_1@__wxemulator___win32rc = wxemulator_sample_rc.o | |
68 | @COND_PLATFORM_OS2_1@__wxemulator_os2_lib_res = \ | |
69 | @COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res | |
70 | COND_MONOLITHIC_0___WXLIB_CORE_p = \ | |
71 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core-2.5$(HOST_SUFFIX) | |
72 | @COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p) | |
73 | @COND_MONOLITHIC_0@__WXLIB_BASE_p = \ | |
74 | @COND_MONOLITHIC_0@ -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX) | |
75 | COND_MONOLITHIC_1___WXLIB_MONO_p = \ | |
76 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX) | |
77 | @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p) | |
78 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \ | |
79 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \ | |
80 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
187cf772 VS |
81 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \ |
82 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \ | |
83 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
187cf772 VS |
84 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \ |
85 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \ | |
86 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
187cf772 VS |
87 | @COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \ |
88 | @COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
b17c1746 DE |
89 | @COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \ |
90 | @COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
91 | @COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = \ | |
92 | @COND_WXUSE_REGEX_BUILTIN@ -lwxregex$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
93 | @COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \ | |
94 | @COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
187cf772 | 95 | COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(RESCOMP) -d __DARWIN__ -t APPL -d \ |
9bfe7ad9 VS |
96 | __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) -i $(srcdir) $(__DLLFLAG_p_1) -i \ |
97 | $(srcdir)/../../../samples -o wxemulator$(EXEEXT) Carbon.r \ | |
98 | $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.r sample.r | |
187cf772 | 99 | @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1) |
187cf772 VS |
100 | |
101 | ### Targets: ### | |
102 | ||
b328fad3 | 103 | all: wxemulator$(EXEEXT) data |
187cf772 | 104 | |
b17c1746 DE |
105 | install: all |
106 | ||
107 | uninstall: | |
108 | ||
109 | install-strip: install | |
110 | ||
187cf772 VS |
111 | clean: |
112 | rm -rf ./.deps ./.pch | |
113 | rm -f ./*.o | |
b328fad3 | 114 | rm -f wxemulator$(EXEEXT) |
187cf772 | 115 | |
187cf772 VS |
116 | distclean: clean |
117 | rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile | |
118 | ||
b328fad3 | 119 | wxemulator$(EXEEXT): $(WXEMULATOR_OBJECTS) $(__wxemulator___win32rc) |
ec08d395 | 120 | $(CXX) -o $@ $(WXEMULATOR_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(__LIB_ZLIB_p) $(__LIB_ODBC_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS) $(EXTRALIBS_GUI) |
187cf772 VS |
121 | $(__wxemulator___mac_rezcmd) |
122 | $(__wxemulator___mac_setfilecmd) | |
ec08d395 | 123 | $(__wxemulator___os2_emxbindcmd) |
187cf772 | 124 | |
b17c1746 DE |
125 | data: |
126 | @mkdir -p . | |
127 | @for f in default.wxe ipaq.wxe bluegradient.jpg ipaq01.jpg; do \ | |
128 | if test \( ! -s ./$$f \) -o \( $(srcdir)/$$f -nt ./$$f \) ; then \ | |
129 | cp -pRf $(srcdir)/$$f . ; \ | |
130 | fi; \ | |
131 | done | |
187cf772 VS |
132 | |
133 | wxemulator_sample_rc.o: $(srcdir)/../../../samples/sample.rc | |
9bfe7ad9 | 134 | $(RESCOMP) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_2) --include-dir $(srcdir) $(__DLLFLAG_p_2) --include-dir $(srcdir)/../../../samples |
187cf772 | 135 | |
b17c1746 DE |
136 | wxemulator_emulator.o: $(srcdir)/emulator.cpp |
137 | $(CXXC) -c -o $@ $(WXEMULATOR_CXXFLAGS) $< | |
138 | ||
187cf772 VS |
139 | |
140 | # Include dependency info, if present: | |
141 | @IF_GNU_MAKE@-include .deps/*.d | |
142 | ||
b17c1746 | 143 | .PHONY: all install uninstall clean distclean data |