forked from PureMVC/puremvc-cpp-multicore-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.in
290 lines (244 loc) · 12.6 KB
/
Makefile.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
# =========================================================================
# This makefile was generated by
# Bakefile 0.2.9 (http://www.bakefile.org)
# Do not modify, all changes will be overwritten!
# =========================================================================
@MAKE_SET@
prefix = @prefix@
exec_prefix = @exec_prefix@
datarootdir = @datarootdir@
INSTALL = @INSTALL@
SHARED_LD_CXX = @SHARED_LD_CXX@
LIBEXT = @LIBEXT@
LIBPREFIX = @LIBPREFIX@
SO_SUFFIX = @SO_SUFFIX@
DLLIMP_SUFFIX = @DLLIMP_SUFFIX@
LN_S = @LN_S@
PIC_FLAG = @PIC_FLAG@
SONAME_FLAG = @SONAME_FLAG@
STRIP = @STRIP@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_DIR = @INSTALL_DIR@
BK_DEPS = @BK_DEPS@
srcdir = @srcdir@
libdir = @libdir@
DLLPREFIX = @DLLPREFIX@
LIBS = @LIBS@
AR = @AR@
AROPTIONS = @AROPTIONS@
RANLIB = @RANLIB@
CXX = @CXX@
CXXFLAGS = @CXXFLAGS@
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
### Variables: ###
DESTDIR =
PUREMVC_LIB_CXXFLAGS = $(____DEBUG) $(____DEBUG_1) -Iinclude $(CPPFLAGS) \
$(CXXFLAGS)
PUREMVC_LIB_OBJECTS = \
PureMVC_lib_PureMVC.o \
PureMVC_lib_Model.o \
PureMVC_lib_View.o \
PureMVC_lib_Controller.o \
PureMVC_lib_Notifier.o \
PureMVC_lib_Notification.o \
PureMVC_lib_SimpleCommand.o \
PureMVC_lib_MacroCommand.o \
PureMVC_lib_Mediator.o \
PureMVC_lib_Facade.o \
PureMVC_lib_Proxy.o
PUREMVC_CXXFLAGS = $(____DEBUG) $(____DEBUG_1) -Iinclude $(PIC_FLAG) $(CPPFLAGS) \
$(CXXFLAGS)
PUREMVC_OBJECTS = \
PureMVC_PureMVC.o \
PureMVC_Model.o \
PureMVC_View.o \
PureMVC_Controller.o \
PureMVC_Notifier.o \
PureMVC_Notification.o \
PureMVC_SimpleCommand.o \
PureMVC_MacroCommand.o \
PureMVC_Mediator.o \
PureMVC_Facade.o \
PureMVC_Proxy.o
### Conditionally set variables: ###
@COND_DEPS_TRACKING_0@CXXC = $(CXX)
@COND_DEPS_TRACKING_1@CXXC = $(BK_DEPS) $(CXX)
@COND_PLATFORM_OS2_1@__PureMVC___importlib = -import \
@COND_PLATFORM_OS2_1@ $(LIBPREFIX)PureMVC.$(DLLIMP_SUFFIX)
@COND_WINDOWS_IMPLIB_1@__PureMVC___importlib = \
@COND_WINDOWS_IMPLIB_1@ -Wl,--out-implib=$(LIBPREFIX)PureMVC.$(DLLIMP_SUFFIX)
@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@__PureMVC___targetsuf2 \
@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@ = .$(SO_SUFFIX).1
@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@__PureMVC___targetsuf2 \
@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@ = .1.$(SO_SUFFIX)
@COND_USE_SOVERSION_0@__PureMVC___targetsuf2 = .$(SO_SUFFIX)
@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@__PureMVC___targetsuf3 \
@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@ = \
@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@ .$(SO_SUFFIX).1.0.0
@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@__PureMVC___targetsuf3 \
@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@ = .1.0.0.$(SO_SUFFIX)
@COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1@__PureMVC___targetsuf3 \
@COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1@ = .$(SO_SUFFIX).1
@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@__PureMVC___targetsuf3 \
@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@ = -1.$(SO_SUFFIX)
@COND_USE_SOVERSION_0@__PureMVC___targetsuf3 = .$(SO_SUFFIX)
@COND_USE_SOVERLINUX_1@__PureMVC___soname_flags = \
@COND_USE_SOVERLINUX_1@ $(SONAME_FLAG)$(DLLPREFIX)PureMVC$(__PureMVC___targetsuf2)
@COND_USE_SOVERSOLARIS_1@__PureMVC___soname_flags \
@COND_USE_SOVERSOLARIS_1@ = \
@COND_USE_SOVERSOLARIS_1@ $(SONAME_FLAG)$(DLLPREFIX)PureMVC$(__PureMVC___targetsuf3)
COND_USE_SOTWOSYMLINKS_1___PureMVC___so_symlinks_cmd = (cd .; rm -f \
$(LIBPREFIX)PureMVC.$(DLLIMP_SUFFIX) \
$(DLLPREFIX)PureMVC$(__PureMVC___targetsuf2); $(LN_S) \
$(DLLPREFIX)PureMVC$(__PureMVC___targetsuf3) \
$(DLLPREFIX)PureMVC$(__PureMVC___targetsuf2); $(LN_S) \
$(DLLPREFIX)PureMVC$(__PureMVC___targetsuf2) \
$(LIBPREFIX)PureMVC.$(DLLIMP_SUFFIX))
@COND_USE_SOTWOSYMLINKS_1@__PureMVC___so_symlinks_cmd = $(COND_USE_SOTWOSYMLINKS_1___PureMVC___so_symlinks_cmd)
COND_USE_SOVERSOLARIS_1___PureMVC___so_symlinks_cmd = (cd .; rm -f \
$(LIBPREFIX)PureMVC.$(DLLIMP_SUFFIX); $(LN_S) \
$(DLLPREFIX)PureMVC$(__PureMVC___targetsuf3) \
$(LIBPREFIX)PureMVC.$(DLLIMP_SUFFIX))
@COND_USE_SOVERSOLARIS_1@__PureMVC___so_symlinks_cmd = $(COND_USE_SOVERSOLARIS_1___PureMVC___so_symlinks_cmd)
COND_USE_SOTWOSYMLINKS_1___PureMVC___so_symlinks_inst_cmd = rm -f \
$(LIBPREFIX)PureMVC.$(DLLIMP_SUFFIX) \
$(DLLPREFIX)PureMVC$(__PureMVC___targetsuf2); $(LN_S) \
$(DLLPREFIX)PureMVC$(__PureMVC___targetsuf3) \
$(DLLPREFIX)PureMVC$(__PureMVC___targetsuf2); $(LN_S) \
$(DLLPREFIX)PureMVC$(__PureMVC___targetsuf2) \
$(LIBPREFIX)PureMVC.$(DLLIMP_SUFFIX)
@COND_USE_SOTWOSYMLINKS_1@__PureMVC___so_symlinks_inst_cmd = $(COND_USE_SOTWOSYMLINKS_1___PureMVC___so_symlinks_inst_cmd)
COND_USE_SOVERSOLARIS_1___PureMVC___so_symlinks_inst_cmd = rm -f \
$(LIBPREFIX)PureMVC.$(DLLIMP_SUFFIX); $(LN_S) \
$(DLLPREFIX)PureMVC$(__PureMVC___targetsuf3) \
$(LIBPREFIX)PureMVC.$(DLLIMP_SUFFIX);
@COND_USE_SOVERSOLARIS_1@__PureMVC___so_symlinks_inst_cmd = $(COND_USE_SOVERSOLARIS_1___PureMVC___so_symlinks_inst_cmd)
COND_USE_SOTWOSYMLINKS_1___PureMVC___so_symlinks_uninst_cmd = rm -f \
$(DLLPREFIX)PureMVC$(__PureMVC___targetsuf2) \
$(LIBPREFIX)PureMVC.$(DLLIMP_SUFFIX)
@COND_USE_SOTWOSYMLINKS_1@__PureMVC___so_symlinks_uninst_cmd = $(COND_USE_SOTWOSYMLINKS_1___PureMVC___so_symlinks_uninst_cmd)
@COND_USE_SOVERSOLARIS_1@__PureMVC___so_symlinks_uninst_cmd \
@COND_USE_SOVERSOLARIS_1@ = rm -f $(LIBPREFIX)PureMVC.$(DLLIMP_SUFFIX)
@COND_PLATFORM_MACOSX_1@__PureMVC___macinstnamecmd \
@COND_PLATFORM_MACOSX_1@ = -install_name \
@COND_PLATFORM_MACOSX_1@ $(prefix)/lib/$(DLLPREFIX)PureMVC$(__PureMVC___targetsuf2)
@COND_DEBUG_0@____DEBUG = -DNDEBUG
@COND_DEBUG_1@____DEBUG = -D_DEBUG
@COND_DEBUG_0@____DEBUG_1 = -DNDEBUG
@COND_DEBUG_1@____DEBUG_1 = -DDEBUG
### Targets: ###
all: $(LIBPREFIX)PureMVCs$(LIBEXT) $(DLLPREFIX)PureMVC$(__PureMVC___targetsuf3)
install: install_PureMVC_lib install_PureMVC
$(INSTALL_DIR) $(DESTDIR)$(libdir)/pkgconfig
$(INSTALL_DATA) puremvc.pc $(DESTDIR)$(libdir)/pkgconfig
$(INSTALL_DIR) $(DESTDIR)$(libdir)/pkgconfig
$(INSTALL_DATA) puremvc-static.pc $(DESTDIR)$(libdir)/pkgconfig
echo "Creating header directory..."
mkdir -p $(prefix)/include/PureMVC
mkdir -p $(prefix)/include/PureMVC/Interfaces
mkdir -p $(prefix)/include/PureMVC/Core
mkdir -p $(prefix)/include/PureMVC/Patterns
mkdir -p $(prefix)/include/PureMVC/Patterns/Command
mkdir -p $(prefix)/include/PureMVC/Patterns/Facade
mkdir -p $(prefix)/include/PureMVC/Patterns/Iterator
mkdir -p $(prefix)/include/PureMVC/Patterns/Mediator
mkdir -p $(prefix)/include/PureMVC/Patterns/Observer
mkdir -p $(prefix)/include/PureMVC/Patterns/Proxy
echo "Moving header files..."
cp -f include/PureMVC/*.hpp $(prefix)/include/PureMVC
cp -f include/PureMVC/Core/*.hpp $(prefix)/include/PureMVC/Core
cp -f include/PureMVC/Interfaces/*.hpp $(prefix)/include/PureMVC/Interfaces
cp -f include/PureMVC/Patterns/Command/*.hpp $(prefix)/include/PureMVC/Patterns/Command
cp -f include/PureMVC/Patterns/Facade/*.hpp $(prefix)/include/PureMVC/Patterns/Facade
cp -f include/PureMVC/Patterns/Iterator/*.hpp $(prefix)/include/PureMVC/Patterns/Iterator
cp -f include/PureMVC/Patterns/Mediator/*.hpp $(prefix)/include/PureMVC/Patterns/Mediator
cp -f include/PureMVC/Patterns/Observer/*.hpp $(prefix)/include/PureMVC/Patterns/Observer
cp -f include/PureMVC/Patterns/Proxy/*.hpp $(prefix)/include/PureMVC/Patterns/Proxy
uninstall: uninstall_PureMVC_lib uninstall_PureMVC
rm -Rf $(prefix)/include/PureMVC
rm -f $(prefix)/lib/pkgconfig/puremvc.pc
rm -f $(prefix)/lib/pkgconfig/puremvc-static.pc
install-strip: install
$(STRIP) $(DESTDIR)$(prefix)/lib/$(DLLPREFIX)PureMVC$(__PureMVC___targetsuf3)
clean:
rm -rf ./.deps ./.pch
rm -f ./*.o
rm -f $(LIBPREFIX)PureMVCs$(LIBEXT)
rm -f $(DLLPREFIX)PureMVC$(__PureMVC___targetsuf3)
rm -f $(LIBPREFIX)PureMVC.$(DLLIMP_SUFFIX)
rm -f $(LIBPREFIX)PureMVC.$(DLLIMP_SUFFIX) $(DLLPREFIX)PureMVC$(__PureMVC___targetsuf2)
distclean: clean
rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
rm -f puremvc.pc
rm -f puremvc-static.pc
$(LIBPREFIX)PureMVCs$(LIBEXT): $(PUREMVC_LIB_OBJECTS) $(DLLPREFIX)PureMVC$(__PureMVC___targetsuf3)
rm -f $@
$(AR) $(AROPTIONS) $@ $(PUREMVC_LIB_OBJECTS)
$(RANLIB) $@
install_PureMVC_lib: $(LIBPREFIX)PureMVCs$(LIBEXT)
$(INSTALL_DIR) $(DESTDIR)$(prefix)/lib
$(INSTALL_DATA) $(LIBPREFIX)PureMVCs$(LIBEXT) $(DESTDIR)$(prefix)/lib
uninstall_PureMVC_lib:
rm -f $(DESTDIR)$(prefix)/lib/$(LIBPREFIX)PureMVCs$(LIBEXT)
$(DLLPREFIX)PureMVC$(__PureMVC___targetsuf3): $(PUREMVC_OBJECTS)
$(SHARED_LD_CXX) $@ $(PUREMVC_OBJECTS) $(__PureMVC___importlib) $(__PureMVC___soname_flags) -ldl -lpthread $(__PureMVC___macinstnamecmd) $(LDFLAGS) $(LIBS)
$(__PureMVC___so_symlinks_cmd)
install_PureMVC: $(DLLPREFIX)PureMVC$(__PureMVC___targetsuf3)
$(INSTALL_DIR) $(DESTDIR)$(prefix)/lib
$(INSTALL_DATA) $(LIBPREFIX)PureMVC.$(DLLIMP_SUFFIX) $(DESTDIR)$(prefix)/lib
$(INSTALL_PROGRAM) $(DLLPREFIX)PureMVC$(__PureMVC___targetsuf3) $(DESTDIR)$(prefix)/lib
(cd $(DESTDIR)$(prefix)/lib ; $(__PureMVC___so_symlinks_inst_cmd))
uninstall_PureMVC:
rm -f $(DESTDIR)$(prefix)/lib/$(LIBPREFIX)PureMVC.$(DLLIMP_SUFFIX)
rm -f $(DESTDIR)$(prefix)/lib/$(DLLPREFIX)PureMVC$(__PureMVC___targetsuf3)
(cd $(DESTDIR)$(prefix)/lib ; $(__PureMVC___so_symlinks_uninst_cmd))
PureMVC_lib_PureMVC.o: $(srcdir)/src/PureMVC/PureMVC.cpp
$(CXXC) -c -o $@ $(PUREMVC_LIB_CXXFLAGS) $(srcdir)/src/PureMVC/PureMVC.cpp
PureMVC_lib_Model.o: $(srcdir)/src/PureMVC/Core/Model.cpp
$(CXXC) -c -o $@ $(PUREMVC_LIB_CXXFLAGS) $(srcdir)/src/PureMVC/Core/Model.cpp
PureMVC_lib_View.o: $(srcdir)/src/PureMVC/Core/View.cpp
$(CXXC) -c -o $@ $(PUREMVC_LIB_CXXFLAGS) $(srcdir)/src/PureMVC/Core/View.cpp
PureMVC_lib_Controller.o: $(srcdir)/src/PureMVC/Core/Controller.cpp
$(CXXC) -c -o $@ $(PUREMVC_LIB_CXXFLAGS) $(srcdir)/src/PureMVC/Core/Controller.cpp
PureMVC_lib_Notifier.o: $(srcdir)/src/PureMVC/Patterns/Observer/Notifier.cpp
$(CXXC) -c -o $@ $(PUREMVC_LIB_CXXFLAGS) $(srcdir)/src/PureMVC/Patterns/Observer/Notifier.cpp
PureMVC_lib_Notification.o: $(srcdir)/src/PureMVC/Patterns/Observer/Notification.cpp
$(CXXC) -c -o $@ $(PUREMVC_LIB_CXXFLAGS) $(srcdir)/src/PureMVC/Patterns/Observer/Notification.cpp
PureMVC_lib_SimpleCommand.o: $(srcdir)/src/PureMVC/Patterns/Command/SimpleCommand.cpp
$(CXXC) -c -o $@ $(PUREMVC_LIB_CXXFLAGS) $(srcdir)/src/PureMVC/Patterns/Command/SimpleCommand.cpp
PureMVC_lib_MacroCommand.o: $(srcdir)/src/PureMVC/Patterns/Command/MacroCommand.cpp
$(CXXC) -c -o $@ $(PUREMVC_LIB_CXXFLAGS) $(srcdir)/src/PureMVC/Patterns/Command/MacroCommand.cpp
PureMVC_lib_Mediator.o: $(srcdir)/src/PureMVC/Patterns/Mediator/Mediator.cpp
$(CXXC) -c -o $@ $(PUREMVC_LIB_CXXFLAGS) $(srcdir)/src/PureMVC/Patterns/Mediator/Mediator.cpp
PureMVC_lib_Facade.o: $(srcdir)/src/PureMVC/Patterns/Facade/Facade.cpp
$(CXXC) -c -o $@ $(PUREMVC_LIB_CXXFLAGS) $(srcdir)/src/PureMVC/Patterns/Facade/Facade.cpp
PureMVC_lib_Proxy.o: $(srcdir)/src/PureMVC/Patterns/Proxy/Proxy.cpp
$(CXXC) -c -o $@ $(PUREMVC_LIB_CXXFLAGS) $(srcdir)/src/PureMVC/Patterns/Proxy/Proxy.cpp
PureMVC_PureMVC.o: $(srcdir)/src/PureMVC/PureMVC.cpp
$(CXXC) -c -o $@ $(PUREMVC_CXXFLAGS) $(srcdir)/src/PureMVC/PureMVC.cpp
PureMVC_Model.o: $(srcdir)/src/PureMVC/Core/Model.cpp
$(CXXC) -c -o $@ $(PUREMVC_CXXFLAGS) $(srcdir)/src/PureMVC/Core/Model.cpp
PureMVC_View.o: $(srcdir)/src/PureMVC/Core/View.cpp
$(CXXC) -c -o $@ $(PUREMVC_CXXFLAGS) $(srcdir)/src/PureMVC/Core/View.cpp
PureMVC_Controller.o: $(srcdir)/src/PureMVC/Core/Controller.cpp
$(CXXC) -c -o $@ $(PUREMVC_CXXFLAGS) $(srcdir)/src/PureMVC/Core/Controller.cpp
PureMVC_Notifier.o: $(srcdir)/src/PureMVC/Patterns/Observer/Notifier.cpp
$(CXXC) -c -o $@ $(PUREMVC_CXXFLAGS) $(srcdir)/src/PureMVC/Patterns/Observer/Notifier.cpp
PureMVC_Notification.o: $(srcdir)/src/PureMVC/Patterns/Observer/Notification.cpp
$(CXXC) -c -o $@ $(PUREMVC_CXXFLAGS) $(srcdir)/src/PureMVC/Patterns/Observer/Notification.cpp
PureMVC_SimpleCommand.o: $(srcdir)/src/PureMVC/Patterns/Command/SimpleCommand.cpp
$(CXXC) -c -o $@ $(PUREMVC_CXXFLAGS) $(srcdir)/src/PureMVC/Patterns/Command/SimpleCommand.cpp
PureMVC_MacroCommand.o: $(srcdir)/src/PureMVC/Patterns/Command/MacroCommand.cpp
$(CXXC) -c -o $@ $(PUREMVC_CXXFLAGS) $(srcdir)/src/PureMVC/Patterns/Command/MacroCommand.cpp
PureMVC_Mediator.o: $(srcdir)/src/PureMVC/Patterns/Mediator/Mediator.cpp
$(CXXC) -c -o $@ $(PUREMVC_CXXFLAGS) $(srcdir)/src/PureMVC/Patterns/Mediator/Mediator.cpp
PureMVC_Facade.o: $(srcdir)/src/PureMVC/Patterns/Facade/Facade.cpp
$(CXXC) -c -o $@ $(PUREMVC_CXXFLAGS) $(srcdir)/src/PureMVC/Patterns/Facade/Facade.cpp
PureMVC_Proxy.o: $(srcdir)/src/PureMVC/Patterns/Proxy/Proxy.cpp
$(CXXC) -c -o $@ $(PUREMVC_CXXFLAGS) $(srcdir)/src/PureMVC/Patterns/Proxy/Proxy.cpp
# Include dependency info, if present:
@IF_GNU_MAKE@-include ./.deps/*.d
.PHONY: all install uninstall clean distclean install_PureMVC_lib \
uninstall_PureMVC_lib install_PureMVC uninstall_PureMVC