]>
Commit | Line | Data |
---|---|---|
22e05272 | 1 | # Makefile.in generated by automake 1.15.1 from Makefile.am. |
9d73ec14 IV |
2 | # @configure_input@ |
3 | ||
22e05272 JM |
4 | # Copyright (C) 1994-2017 Free Software Foundation, Inc. |
5 | ||
9d73ec14 IV |
6 | # This Makefile.in is free software; the Free Software Foundation |
7 | # gives unlimited permission to copy and/or distribute it, | |
8 | # with or without modifications, as long as this notice is preserved. | |
9 | ||
10 | # This program is distributed in the hope that it will be useful, | |
11 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | |
12 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | |
13 | # PARTICULAR PURPOSE. | |
14 | ||
15 | @SET_MAKE@ | |
16 | ||
17 | # Plugin for offload execution on Intel MIC devices. | |
18 | # | |
73aa401e | 19 | # Copyright (C) 2014-2017 Free Software Foundation, Inc. |
9d73ec14 IV |
20 | # |
21 | # Contributed by Ilya Verbin <ilya.verbin@intel.com> and | |
22 | # Andrey Turetskiy <andrey.turetskiy@intel.com>. | |
23 | # | |
f1f3453e TS |
24 | # This file is part of the GNU Offloading and Multi Processing Library |
25 | # (libgomp). | |
9d73ec14 IV |
26 | # |
27 | # Libgomp is free software; you can redistribute it and/or modify it | |
28 | # under the terms of the GNU General Public License as published by | |
29 | # the Free Software Foundation; either version 3, or (at your option) | |
30 | # any later version. | |
31 | # | |
32 | # Libgomp is distributed in the hope that it will be useful, but WITHOUT ANY | |
33 | # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | |
34 | # FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
35 | # more details. | |
36 | # | |
37 | # Under Section 7 of GPL version 3, you are granted additional | |
38 | # permissions described in the GCC Runtime Library Exception, version | |
39 | # 3.1, as published by the Free Software Foundation. | |
40 | # | |
41 | # You should have received a copy of the GNU General Public License and | |
42 | # a copy of the GCC Runtime Library Exception along with this program; | |
43 | # see the files COPYING3 and COPYING.RUNTIME respectively. If not, see | |
44 | # <http://www.gnu.org/licenses/>. | |
45 | ||
46 | ||
47 | VPATH = @srcdir@ | |
22e05272 JM |
48 | am__is_gnu_make = { \ |
49 | if test -z '$(MAKELEVEL)'; then \ | |
50 | false; \ | |
51 | elif test -n '$(MAKE_HOST)'; then \ | |
52 | true; \ | |
53 | elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ | |
54 | true; \ | |
55 | else \ | |
56 | false; \ | |
57 | fi; \ | |
58 | } | |
59 | am__make_running_with_option = \ | |
60 | case $${target_option-} in \ | |
61 | ?) ;; \ | |
62 | *) echo "am__make_running_with_option: internal error: invalid" \ | |
63 | "target option '$${target_option-}' specified" >&2; \ | |
64 | exit 1;; \ | |
65 | esac; \ | |
66 | has_opt=no; \ | |
67 | sane_makeflags=$$MAKEFLAGS; \ | |
68 | if $(am__is_gnu_make); then \ | |
69 | sane_makeflags=$$MFLAGS; \ | |
70 | else \ | |
735aacba MH |
71 | case $$MAKEFLAGS in \ |
72 | *\\[\ \ ]*) \ | |
22e05272 JM |
73 | bs=\\; \ |
74 | sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | |
75 | | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ | |
735aacba | 76 | esac; \ |
22e05272 JM |
77 | fi; \ |
78 | skip_next=no; \ | |
79 | strip_trailopt () \ | |
80 | { \ | |
81 | flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ | |
82 | }; \ | |
83 | for flg in $$sane_makeflags; do \ | |
84 | test $$skip_next = yes && { skip_next=no; continue; }; \ | |
85 | case $$flg in \ | |
86 | *=*|--*) continue;; \ | |
87 | -*I) strip_trailopt 'I'; skip_next=yes;; \ | |
88 | -*I?*) strip_trailopt 'I';; \ | |
89 | -*O) strip_trailopt 'O'; skip_next=yes;; \ | |
90 | -*O?*) strip_trailopt 'O';; \ | |
91 | -*l) strip_trailopt 'l'; skip_next=yes;; \ | |
92 | -*l?*) strip_trailopt 'l';; \ | |
93 | -[dEDm]) skip_next=yes;; \ | |
94 | -[JT]) skip_next=yes;; \ | |
95 | esac; \ | |
96 | case $$flg in \ | |
97 | *$$target_option*) has_opt=yes; break;; \ | |
98 | esac; \ | |
99 | done; \ | |
100 | test $$has_opt = yes | |
101 | am__make_dryrun = (target_option=n; $(am__make_running_with_option)) | |
102 | am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) | |
9d73ec14 IV |
103 | pkgdatadir = $(datadir)/@PACKAGE@ |
104 | pkgincludedir = $(includedir)/@PACKAGE@ | |
105 | pkglibdir = $(libdir)/@PACKAGE@ | |
106 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | |
107 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | |
108 | install_sh_DATA = $(install_sh) -c -m 644 | |
109 | install_sh_PROGRAM = $(install_sh) -c | |
110 | install_sh_SCRIPT = $(install_sh) -c | |
111 | INSTALL_HEADER = $(INSTALL_DATA) | |
112 | transform = $(program_transform_name) | |
113 | NORMAL_INSTALL = : | |
114 | PRE_INSTALL = : | |
115 | POST_INSTALL = : | |
116 | NORMAL_UNINSTALL = : | |
117 | PRE_UNINSTALL = : | |
118 | POST_UNINSTALL = : | |
119 | build_triplet = @build@ | |
120 | host_triplet = @host@ | |
121 | target_triplet = @target@ | |
122 | subdir = . | |
9d73ec14 | 123 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
73aa401e JJ |
124 | am__aclocal_m4_deps = $(top_srcdir)/../../config/acx.m4 \ |
125 | $(top_srcdir)/../../config/depstand.m4 \ | |
9d73ec14 IV |
126 | $(top_srcdir)/../../config/lead-dot.m4 \ |
127 | $(top_srcdir)/../../config/multi.m4 \ | |
128 | $(top_srcdir)/../../config/override.m4 \ | |
129 | $(top_srcdir)/../../libtool.m4 \ | |
130 | $(top_srcdir)/../../ltoptions.m4 \ | |
131 | $(top_srcdir)/../../ltsugar.m4 \ | |
132 | $(top_srcdir)/../../ltversion.m4 \ | |
133 | $(top_srcdir)/../../lt~obsolete.m4 $(top_srcdir)/configure.ac | |
134 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | |
135 | $(ACLOCAL_M4) | |
22e05272 JM |
136 | DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ |
137 | $(am__configure_deps) $(am__plugin_include_HEADERS_DIST) | |
9d73ec14 IV |
138 | am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ |
139 | configure.lineno config.status.lineno | |
140 | mkinstalldirs = $(SHELL) $(top_srcdir)/../../mkinstalldirs | |
141 | CONFIG_CLEAN_FILES = | |
142 | CONFIG_CLEAN_VPATH_FILES = | |
143 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; | |
144 | am__vpath_adj = case $$p in \ | |
145 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ | |
146 | *) f=$$p;; \ | |
147 | esac; | |
148 | am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; | |
149 | am__install_max = 40 | |
150 | am__nobase_strip_setup = \ | |
151 | srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` | |
152 | am__nobase_strip = \ | |
153 | for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" | |
154 | am__nobase_list = $(am__nobase_strip_setup); \ | |
155 | for p in $$list; do echo "$$p $$p"; done | \ | |
156 | sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ | |
157 | $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ | |
158 | if (++n[$$2] == $(am__install_max)) \ | |
159 | { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ | |
160 | END { for (dir in files) print dir, files[dir] }' | |
161 | am__base_list = \ | |
162 | sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ | |
163 | sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | |
735aacba MH |
164 | am__uninstall_files_from_dir = { \ |
165 | test -z "$$files" \ | |
166 | || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ | |
167 | || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ | |
168 | $(am__cd) "$$dir" && rm -f $$files; }; \ | |
169 | } | |
9d73ec14 IV |
170 | am__installdirs = "$(DESTDIR)$(toolexeclibdir)" \ |
171 | "$(DESTDIR)$(plugin_includedir)" | |
172 | LTLIBRARIES = $(toolexeclib_LTLIBRARIES) | |
173 | libgomp_plugin_intelmic_la_LIBADD = | |
174 | @PLUGIN_HOST_TRUE@am_libgomp_plugin_intelmic_la_OBJECTS = libgomp_plugin_intelmic_la-libgomp-plugin-intelmic.lo | |
175 | libgomp_plugin_intelmic_la_OBJECTS = \ | |
176 | $(am_libgomp_plugin_intelmic_la_OBJECTS) | |
22e05272 JM |
177 | AM_V_lt = $(am__v_lt_@AM_V@) |
178 | am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) | |
179 | am__v_lt_0 = --silent | |
180 | am__v_lt_1 = | |
181 | libgomp_plugin_intelmic_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \ | |
9d73ec14 IV |
182 | $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \ |
183 | $(AM_CXXFLAGS) $(CXXFLAGS) \ | |
184 | $(libgomp_plugin_intelmic_la_LDFLAGS) $(LDFLAGS) -o $@ | |
185 | @PLUGIN_HOST_TRUE@am_libgomp_plugin_intelmic_la_rpath = -rpath \ | |
186 | @PLUGIN_HOST_TRUE@ $(toolexeclibdir) | |
22e05272 JM |
187 | AM_V_P = $(am__v_P_@AM_V@) |
188 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | |
189 | am__v_P_0 = false | |
190 | am__v_P_1 = : | |
191 | AM_V_GEN = $(am__v_GEN_@AM_V@) | |
192 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) | |
193 | am__v_GEN_0 = @echo " GEN " $@; | |
194 | am__v_GEN_1 = | |
195 | AM_V_at = $(am__v_at_@AM_V@) | |
196 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) | |
197 | am__v_at_0 = @ | |
198 | am__v_at_1 = | |
9d73ec14 IV |
199 | DEFAULT_INCLUDES = -I.@am__isrc@ |
200 | depcomp = $(SHELL) $(top_srcdir)/../../depcomp | |
201 | am__depfiles_maybe = depfiles | |
202 | am__mv = mv -f | |
203 | CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ | |
204 | $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) | |
22e05272 JM |
205 | LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ |
206 | $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \ | |
207 | $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ | |
208 | $(AM_CXXFLAGS) $(CXXFLAGS) | |
209 | AM_V_CXX = $(am__v_CXX_@AM_V@) | |
210 | am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@) | |
211 | am__v_CXX_0 = @echo " CXX " $@; | |
212 | am__v_CXX_1 = | |
9d73ec14 | 213 | CXXLD = $(CXX) |
22e05272 JM |
214 | CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ |
215 | $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ | |
216 | $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ | |
217 | AM_V_CXXLD = $(am__v_CXXLD_@AM_V@) | |
218 | am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@) | |
219 | am__v_CXXLD_0 = @echo " CXXLD " $@; | |
220 | am__v_CXXLD_1 = | |
9d73ec14 | 221 | SOURCES = $(libgomp_plugin_intelmic_la_SOURCES) |
735aacba MH |
222 | am__can_run_installinfo = \ |
223 | case $$AM_UPDATE_INFO_DIR in \ | |
224 | n|no|NO) false;; \ | |
225 | *) (install-info --version) >/dev/null 2>&1;; \ | |
226 | esac | |
9d73ec14 IV |
227 | am__plugin_include_HEADERS_DIST = main_target_image.h |
228 | HEADERS = $(plugin_include_HEADERS) | |
22e05272 JM |
229 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) |
230 | # Read a list of newline-separated strings from the standard input, | |
231 | # and print each of them once, without duplicates. Input order is | |
232 | # *not* preserved. | |
233 | am__uniquify_input = $(AWK) '\ | |
234 | BEGIN { nonempty = 0; } \ | |
235 | { items[$$0] = 1; nonempty = 1; } \ | |
236 | END { if (nonempty) { for (i in items) print i; }; } \ | |
237 | ' | |
238 | # Make sure the list of sources is unique. This is necessary because, | |
239 | # e.g., the same source file might be shared among _SOURCES variables | |
240 | # for different programs/libraries. | |
241 | am__define_uniq_tagged_files = \ | |
242 | list='$(am__tagged_files)'; \ | |
243 | unique=`for i in $$list; do \ | |
244 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
245 | done | $(am__uniquify_input)` | |
9d73ec14 IV |
246 | ETAGS = etags |
247 | CTAGS = ctags | |
22e05272 JM |
248 | CSCOPE = cscope |
249 | AM_RECURSIVE_TARGETS = cscope | |
9d73ec14 IV |
250 | ACLOCAL = @ACLOCAL@ |
251 | AMTAR = @AMTAR@ | |
22e05272 | 252 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ |
9d73ec14 IV |
253 | AR = @AR@ |
254 | AUTOCONF = @AUTOCONF@ | |
255 | AUTOHEADER = @AUTOHEADER@ | |
256 | AUTOMAKE = @AUTOMAKE@ | |
257 | AWK = @AWK@ | |
258 | CC = @CC@ | |
259 | CCDEPMODE = @CCDEPMODE@ | |
260 | CFLAGS = @CFLAGS@ | |
261 | CPP = @CPP@ | |
262 | CPPFLAGS = @CPPFLAGS@ | |
263 | CXX = @CXX@ | |
264 | CXXCPP = @CXXCPP@ | |
265 | CXXDEPMODE = @CXXDEPMODE@ | |
266 | CXXFLAGS = @CXXFLAGS@ | |
267 | CYGPATH_W = @CYGPATH_W@ | |
268 | DEFS = @DEFS@ | |
269 | DEPDIR = @DEPDIR@ | |
270 | DSYMUTIL = @DSYMUTIL@ | |
271 | DUMPBIN = @DUMPBIN@ | |
272 | ECHO_C = @ECHO_C@ | |
273 | ECHO_N = @ECHO_N@ | |
274 | ECHO_T = @ECHO_T@ | |
275 | EGREP = @EGREP@ | |
276 | EXEEXT = @EXEEXT@ | |
277 | FGREP = @FGREP@ | |
278 | GREP = @GREP@ | |
279 | INSTALL = @INSTALL@ | |
280 | INSTALL_DATA = @INSTALL_DATA@ | |
281 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
282 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | |
283 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | |
284 | LD = @LD@ | |
285 | LDFLAGS = @LDFLAGS@ | |
286 | LIBOBJS = @LIBOBJS@ | |
287 | LIBS = @LIBS@ | |
288 | LIBTOOL = @LIBTOOL@ | |
289 | LIPO = @LIPO@ | |
290 | LN_S = @LN_S@ | |
291 | LTLIBOBJS = @LTLIBOBJS@ | |
292 | MAINT = @MAINT@ | |
293 | MAKEINFO = @MAKEINFO@ | |
294 | MKDIR_P = @MKDIR_P@ | |
295 | NM = @NM@ | |
296 | NMEDIT = @NMEDIT@ | |
297 | OBJDUMP = @OBJDUMP@ | |
298 | OBJEXT = @OBJEXT@ | |
299 | OTOOL = @OTOOL@ | |
300 | OTOOL64 = @OTOOL64@ | |
301 | PACKAGE = @PACKAGE@ | |
302 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | |
303 | PACKAGE_NAME = @PACKAGE_NAME@ | |
304 | PACKAGE_STRING = @PACKAGE_STRING@ | |
305 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | |
306 | PACKAGE_URL = @PACKAGE_URL@ | |
307 | PACKAGE_VERSION = @PACKAGE_VERSION@ | |
308 | PATH_SEPARATOR = @PATH_SEPARATOR@ | |
309 | RANLIB = @RANLIB@ | |
310 | SED = @SED@ | |
311 | SET_MAKE = @SET_MAKE@ | |
312 | SHELL = @SHELL@ | |
313 | STRIP = @STRIP@ | |
314 | VERSION = @VERSION@ | |
315 | abs_builddir = @abs_builddir@ | |
316 | abs_srcdir = @abs_srcdir@ | |
317 | abs_top_builddir = @abs_top_builddir@ | |
318 | abs_top_srcdir = @abs_top_srcdir@ | |
319 | ac_ct_CC = @ac_ct_CC@ | |
320 | ac_ct_CXX = @ac_ct_CXX@ | |
321 | ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ | |
322 | accel_search_dir = @accel_search_dir@ | |
323 | accel_target = @accel_target@ | |
324 | am__include = @am__include@ | |
325 | am__leading_dot = @am__leading_dot@ | |
326 | am__quote = @am__quote@ | |
327 | am__tar = @am__tar@ | |
328 | am__untar = @am__untar@ | |
329 | bindir = @bindir@ | |
330 | build = @build@ | |
331 | build_alias = @build_alias@ | |
332 | build_cpu = @build_cpu@ | |
333 | build_os = @build_os@ | |
334 | build_vendor = @build_vendor@ | |
335 | builddir = @builddir@ | |
336 | datadir = @datadir@ | |
337 | datarootdir = @datarootdir@ | |
338 | docdir = @docdir@ | |
339 | dvidir = @dvidir@ | |
340 | exec_prefix = @exec_prefix@ | |
73aa401e | 341 | get_gcc_base_ver = @get_gcc_base_ver@ |
9d73ec14 IV |
342 | host = @host@ |
343 | host_alias = @host_alias@ | |
344 | host_cpu = @host_cpu@ | |
345 | host_os = @host_os@ | |
346 | host_vendor = @host_vendor@ | |
347 | htmldir = @htmldir@ | |
348 | includedir = @includedir@ | |
349 | infodir = @infodir@ | |
350 | install_sh = @install_sh@ | |
351 | libdir = @libdir@ | |
352 | libexecdir = @libexecdir@ | |
353 | localedir = @localedir@ | |
354 | localstatedir = @localstatedir@ | |
355 | mandir = @mandir@ | |
356 | mkdir_p = @mkdir_p@ | |
357 | multi_basedir = @multi_basedir@ | |
358 | oldincludedir = @oldincludedir@ | |
359 | pdfdir = @pdfdir@ | |
360 | prefix = @prefix@ | |
361 | program_transform_name = @program_transform_name@ | |
362 | psdir = @psdir@ | |
363 | sbindir = @sbindir@ | |
364 | sharedstatedir = @sharedstatedir@ | |
365 | srcdir = @srcdir@ | |
366 | sysconfdir = @sysconfdir@ | |
367 | target = @target@ | |
368 | target_alias = @target_alias@ | |
369 | target_cpu = @target_cpu@ | |
370 | target_os = @target_os@ | |
371 | target_vendor = @target_vendor@ | |
372 | toolexecdir = @toolexecdir@ | |
373 | toolexeclibdir = @toolexeclibdir@ | |
374 | top_build_prefix = @top_build_prefix@ | |
375 | top_builddir = @top_builddir@ | |
376 | top_srcdir = @top_srcdir@ | |
377 | AUTOMAKE_OPTIONS = foreign | |
378 | ACLOCAL_AMFLAGS = -I ../.. -I ../../config | |
379 | ||
380 | # Directories | |
381 | build_dir = $(top_builddir) | |
382 | source_dir = $(top_srcdir) | |
383 | coi_inc_dir = $(top_srcdir)/../include/coi | |
8e87588a | 384 | include_src_dir = $(top_srcdir)/../../include |
9d73ec14 IV |
385 | libgomp_src_dir = $(top_srcdir)/../../libgomp |
386 | libgomp_dir = $(build_dir)/../../libgomp | |
387 | liboffload_src_dir = $(top_srcdir)/../runtime | |
388 | liboffload_dir = $(top_builddir)/.. | |
389 | ||
390 | # May be used by toolexeclibdir. | |
73aa401e | 391 | gcc_version := $(shell @get_gcc_base_ver@ $(top_srcdir)/../../gcc/BASE-VER) |
9d73ec14 IV |
392 | libsubincludedir = $(libdir)/gcc/$(target_alias)/$(gcc_version)$(MULTISUBDIR)/include |
393 | # Search for main_target_image.h in these directories | |
394 | target_prefix_dir = $(libdir)/gcc/$(accel_target)/$(gcc_version)$(MULTISUBDIR) | |
395 | target_build_dir = $(accel_search_dir)/$(accel_target)$(MULTISUBDIR)/liboffloadmic/plugin | |
396 | target_install_dir = $(accel_search_dir)/lib/gcc/$(accel_target)/$(gcc_version)$(MULTISUBDIR) | |
397 | @PLUGIN_HOST_TRUE@toolexeclib_LTLIBRARIES = libgomp-plugin-intelmic.la | |
398 | @PLUGIN_HOST_TRUE@libgomp_plugin_intelmic_la_SOURCES = libgomp-plugin-intelmic.cpp | |
2eab9666 | 399 | @PLUGIN_HOST_TRUE@libgomp_plugin_intelmic_la_CPPFLAGS = $(CPPFLAGS) -DLINUX -DCOI_LIBRARY_VERSION=2 -DOFFLOAD_DEBUG=1 -DSEP_SUPPORT -DTIMING_SUPPORT -DHOST_LIBRARY=1 -I$(coi_inc_dir) -I$(liboffload_src_dir) -I$(libgomp_src_dir) -I$(libgomp_dir) -I$(include_src_dir) -I$(target_prefix_dir)/include -I$(target_build_dir) -I$(target_install_dir)/include |
9d73ec14 IV |
400 | @PLUGIN_HOST_TRUE@libgomp_plugin_intelmic_la_LDFLAGS = -L$(liboffload_dir)/.libs -loffloadmic_host -version-info 1:0:0 |
401 | @PLUGIN_HOST_FALSE@plugin_includedir = $(libsubincludedir) | |
402 | @PLUGIN_HOST_FALSE@plugin_include_HEADERS = main_target_image.h | |
2eab9666 | 403 | @PLUGIN_HOST_FALSE@AM_CPPFLAGS = $(CPPFLAGS) -DLINUX -DCOI_LIBRARY_VERSION=2 -DOFFLOAD_DEBUG=1 -DSEP_SUPPORT -DTIMING_SUPPORT -DHOST_LIBRARY=0 -I$(coi_inc_dir) -I$(liboffload_src_dir) -I$(libgomp_dir) |
9d73ec14 | 404 | @PLUGIN_HOST_FALSE@AM_CXXFLAGS = $(CXXFLAGS) |
df26a50d | 405 | @PLUGIN_HOST_FALSE@AM_LDFLAGS = -L$(liboffload_dir)/.libs -L$(libgomp_dir)/.libs -loffloadmic_target -lcoi_device -lgomp -rdynamic |
9d73ec14 IV |
406 | |
407 | # Work around what appears to be a GNU make bug handling MAKEFLAGS | |
408 | # values defined in terms of make variables, as is the case for CC and | |
409 | # friends when we are called from the top level Makefile. | |
410 | AM_MAKEFLAGS = \ | |
411 | "AR_FLAGS=$(AR_FLAGS)" \ | |
412 | "CC_FOR_BUILD=$(CC_FOR_BUILD)" \ | |
413 | "CFLAGS=$(CFLAGS)" \ | |
414 | "CXXFLAGS=$(CXXFLAGS)" \ | |
415 | "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \ | |
416 | "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \ | |
417 | "INSTALL=$(INSTALL)" \ | |
418 | "INSTALL_DATA=$(INSTALL_DATA)" \ | |
419 | "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \ | |
420 | "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \ | |
421 | "JC1FLAGS=$(JC1FLAGS)" \ | |
422 | "LDFLAGS=$(LDFLAGS)" \ | |
423 | "LIBCFLAGS=$(LIBCFLAGS)" \ | |
424 | "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \ | |
425 | "MAKE=$(MAKE)" \ | |
426 | "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \ | |
427 | "PICFLAG=$(PICFLAG)" \ | |
428 | "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \ | |
429 | "SHELL=$(SHELL)" \ | |
430 | "RUNTESTFLAGS=$(RUNTESTFLAGS)" \ | |
431 | "exec_prefix=$(exec_prefix)" \ | |
432 | "infodir=$(infodir)" \ | |
433 | "libdir=$(libdir)" \ | |
434 | "prefix=$(prefix)" \ | |
435 | "includedir=$(includedir)" \ | |
436 | "AR=$(AR)" \ | |
437 | "AS=$(AS)" \ | |
438 | "LD=$(LD)" \ | |
439 | "LIBCFLAGS=$(LIBCFLAGS)" \ | |
440 | "NM=$(NM)" \ | |
441 | "PICFLAG=$(PICFLAG)" \ | |
442 | "RANLIB=$(RANLIB)" \ | |
443 | "DESTDIR=$(DESTDIR)" | |
444 | ||
445 | MAKEOVERRIDES = | |
22e05272 JM |
446 | MULTISRCTOP = |
447 | MULTIBUILDTOP = | |
448 | MULTIDIRS = | |
449 | MULTISUBDIR = | |
450 | MULTIDO = true | |
451 | MULTICLEAN = true | |
9d73ec14 IV |
452 | all: all-am |
453 | ||
454 | .SUFFIXES: | |
455 | .SUFFIXES: .cpp .lo .o .obj | |
735aacba | 456 | am--refresh: Makefile |
9d73ec14 | 457 | @: |
22e05272 | 458 | $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/../../multilib.am $(am__configure_deps) |
9d73ec14 IV |
459 | @for dep in $?; do \ |
460 | case '$(am__configure_deps)' in \ | |
461 | *$$dep*) \ | |
462 | echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \ | |
463 | $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \ | |
464 | && exit 0; \ | |
465 | exit 1;; \ | |
466 | esac; \ | |
467 | done; \ | |
468 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ | |
469 | $(am__cd) $(top_srcdir) && \ | |
470 | $(AUTOMAKE) --foreign Makefile | |
9d73ec14 IV |
471 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
472 | @case '$?' in \ | |
473 | *config.status*) \ | |
474 | echo ' $(SHELL) ./config.status'; \ | |
475 | $(SHELL) ./config.status;; \ | |
476 | *) \ | |
477 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ | |
478 | cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ | |
479 | esac; | |
22e05272 | 480 | $(top_srcdir)/../../multilib.am $(am__empty): |
9d73ec14 IV |
481 | |
482 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | |
483 | $(SHELL) ./config.status --recheck | |
484 | ||
485 | $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) | |
486 | $(am__cd) $(srcdir) && $(AUTOCONF) | |
487 | $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) | |
488 | $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) | |
489 | $(am__aclocal_m4_deps): | |
22e05272 | 490 | |
9d73ec14 IV |
491 | install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES) |
492 | @$(NORMAL_INSTALL) | |
9d73ec14 IV |
493 | @list='$(toolexeclib_LTLIBRARIES)'; test -n "$(toolexeclibdir)" || list=; \ |
494 | list2=; for p in $$list; do \ | |
495 | if test -f $$p; then \ | |
496 | list2="$$list2 $$p"; \ | |
497 | else :; fi; \ | |
498 | done; \ | |
499 | test -z "$$list2" || { \ | |
735aacba MH |
500 | echo " $(MKDIR_P) '$(DESTDIR)$(toolexeclibdir)'"; \ |
501 | $(MKDIR_P) "$(DESTDIR)$(toolexeclibdir)" || exit 1; \ | |
9d73ec14 IV |
502 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(toolexeclibdir)'"; \ |
503 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(toolexeclibdir)"; \ | |
504 | } | |
505 | ||
506 | uninstall-toolexeclibLTLIBRARIES: | |
507 | @$(NORMAL_UNINSTALL) | |
508 | @list='$(toolexeclib_LTLIBRARIES)'; test -n "$(toolexeclibdir)" || list=; \ | |
509 | for p in $$list; do \ | |
510 | $(am__strip_dir) \ | |
511 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(toolexeclibdir)/$$f'"; \ | |
512 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(toolexeclibdir)/$$f"; \ | |
513 | done | |
514 | ||
515 | clean-toolexeclibLTLIBRARIES: | |
516 | -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES) | |
22e05272 JM |
517 | @list='$(toolexeclib_LTLIBRARIES)'; \ |
518 | locs=`for p in $$list; do echo $$p; done | \ | |
519 | sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ | |
520 | sort -u`; \ | |
521 | test -z "$$locs" || { \ | |
522 | echo rm -f $${locs}; \ | |
523 | rm -f $${locs}; \ | |
524 | } | |
525 | ||
735aacba | 526 | libgomp-plugin-intelmic.la: $(libgomp_plugin_intelmic_la_OBJECTS) $(libgomp_plugin_intelmic_la_DEPENDENCIES) $(EXTRA_libgomp_plugin_intelmic_la_DEPENDENCIES) |
22e05272 | 527 | $(AM_V_CXXLD)$(libgomp_plugin_intelmic_la_LINK) $(am_libgomp_plugin_intelmic_la_rpath) $(libgomp_plugin_intelmic_la_OBJECTS) $(libgomp_plugin_intelmic_la_LIBADD) $(LIBS) |
9d73ec14 IV |
528 | |
529 | mostlyclean-compile: | |
530 | -rm -f *.$(OBJEXT) | |
531 | ||
532 | distclean-compile: | |
533 | -rm -f *.tab.c | |
534 | ||
535 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgomp_plugin_intelmic_la-libgomp-plugin-intelmic.Plo@am__quote@ | |
536 | ||
537 | .cpp.o: | |
22e05272 JM |
538 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< |
539 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
540 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
9d73ec14 | 541 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
22e05272 | 542 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $< |
9d73ec14 IV |
543 | |
544 | .cpp.obj: | |
22e05272 JM |
545 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` |
546 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
547 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
9d73ec14 | 548 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
22e05272 | 549 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` |
9d73ec14 IV |
550 | |
551 | .cpp.lo: | |
22e05272 JM |
552 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< |
553 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo | |
554 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ | |
9d73ec14 | 555 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
22e05272 | 556 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LTCXXCOMPILE) -c -o $@ $< |
9d73ec14 IV |
557 | |
558 | libgomp_plugin_intelmic_la-libgomp-plugin-intelmic.lo: libgomp-plugin-intelmic.cpp | |
22e05272 JM |
559 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgomp_plugin_intelmic_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libgomp_plugin_intelmic_la-libgomp-plugin-intelmic.lo -MD -MP -MF $(DEPDIR)/libgomp_plugin_intelmic_la-libgomp-plugin-intelmic.Tpo -c -o libgomp_plugin_intelmic_la-libgomp-plugin-intelmic.lo `test -f 'libgomp-plugin-intelmic.cpp' || echo '$(srcdir)/'`libgomp-plugin-intelmic.cpp |
560 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libgomp_plugin_intelmic_la-libgomp-plugin-intelmic.Tpo $(DEPDIR)/libgomp_plugin_intelmic_la-libgomp-plugin-intelmic.Plo | |
561 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='libgomp-plugin-intelmic.cpp' object='libgomp_plugin_intelmic_la-libgomp-plugin-intelmic.lo' libtool=yes @AMDEPBACKSLASH@ | |
9d73ec14 | 562 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
22e05272 | 563 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgomp_plugin_intelmic_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libgomp_plugin_intelmic_la-libgomp-plugin-intelmic.lo `test -f 'libgomp-plugin-intelmic.cpp' || echo '$(srcdir)/'`libgomp-plugin-intelmic.cpp |
9d73ec14 IV |
564 | |
565 | mostlyclean-libtool: | |
566 | -rm -f *.lo | |
567 | ||
568 | clean-libtool: | |
569 | -rm -rf .libs _libs | |
570 | ||
571 | distclean-libtool: | |
572 | -rm -f libtool config.lt | |
9d73ec14 IV |
573 | install-plugin_includeHEADERS: $(plugin_include_HEADERS) |
574 | @$(NORMAL_INSTALL) | |
9d73ec14 | 575 | @list='$(plugin_include_HEADERS)'; test -n "$(plugin_includedir)" || list=; \ |
735aacba MH |
576 | if test -n "$$list"; then \ |
577 | echo " $(MKDIR_P) '$(DESTDIR)$(plugin_includedir)'"; \ | |
578 | $(MKDIR_P) "$(DESTDIR)$(plugin_includedir)" || exit 1; \ | |
579 | fi; \ | |
9d73ec14 IV |
580 | for p in $$list; do \ |
581 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | |
582 | echo "$$d$$p"; \ | |
583 | done | $(am__base_list) | \ | |
584 | while read files; do \ | |
585 | echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(plugin_includedir)'"; \ | |
586 | $(INSTALL_HEADER) $$files "$(DESTDIR)$(plugin_includedir)" || exit $$?; \ | |
587 | done | |
588 | ||
589 | uninstall-plugin_includeHEADERS: | |
590 | @$(NORMAL_UNINSTALL) | |
591 | @list='$(plugin_include_HEADERS)'; test -n "$(plugin_includedir)" || list=; \ | |
592 | files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ | |
735aacba | 593 | dir='$(DESTDIR)$(plugin_includedir)'; $(am__uninstall_files_from_dir) |
9d73ec14 | 594 | |
22e05272 JM |
595 | ID: $(am__tagged_files) |
596 | $(am__define_uniq_tagged_files); mkid -fID $$unique | |
597 | tags: tags-am | |
598 | TAGS: tags | |
599 | ||
600 | tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | |
9d73ec14 IV |
601 | set x; \ |
602 | here=`pwd`; \ | |
22e05272 | 603 | $(am__define_uniq_tagged_files); \ |
9d73ec14 IV |
604 | shift; \ |
605 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | |
606 | test -n "$$unique" || unique=$$empty_fix; \ | |
607 | if test $$# -gt 0; then \ | |
608 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | |
609 | "$$@" $$unique; \ | |
610 | else \ | |
611 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | |
612 | $$unique; \ | |
613 | fi; \ | |
614 | fi | |
22e05272 JM |
615 | ctags: ctags-am |
616 | ||
617 | CTAGS: ctags | |
618 | ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | |
619 | $(am__define_uniq_tagged_files); \ | |
9d73ec14 IV |
620 | test -z "$(CTAGS_ARGS)$$unique" \ |
621 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | |
622 | $$unique | |
623 | ||
624 | GTAGS: | |
625 | here=`$(am__cd) $(top_builddir) && pwd` \ | |
626 | && $(am__cd) $(top_srcdir) \ | |
627 | && gtags -i $(GTAGS_ARGS) "$$here" | |
22e05272 JM |
628 | cscope: cscope.files |
629 | test ! -s cscope.files \ | |
630 | || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) | |
631 | clean-cscope: | |
632 | -rm -f cscope.files | |
633 | cscope.files: clean-cscope cscopelist | |
634 | cscopelist: cscopelist-am | |
635 | ||
636 | cscopelist-am: $(am__tagged_files) | |
637 | list='$(am__tagged_files)'; \ | |
638 | case "$(srcdir)" in \ | |
639 | [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ | |
640 | *) sdir=$(subdir)/$(srcdir) ;; \ | |
641 | esac; \ | |
642 | for i in $$list; do \ | |
643 | if test -f "$$i"; then \ | |
644 | echo "$(subdir)/$$i"; \ | |
645 | else \ | |
646 | echo "$$sdir/$$i"; \ | |
647 | fi; \ | |
648 | done >> $(top_builddir)/cscope.files | |
9d73ec14 IV |
649 | |
650 | distclean-tags: | |
651 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | |
22e05272 | 652 | -rm -f cscope.out cscope.in.out cscope.po.out cscope.files |
9d73ec14 IV |
653 | check-am: all-am |
654 | check: check-am | |
22e05272 | 655 | all-am: Makefile $(LTLIBRARIES) $(HEADERS) all-local |
9d73ec14 IV |
656 | installdirs: |
657 | for dir in "$(DESTDIR)$(toolexeclibdir)" "$(DESTDIR)$(plugin_includedir)"; do \ | |
658 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | |
659 | done | |
660 | install: install-am | |
661 | install-exec: install-exec-am | |
662 | install-data: install-data-am | |
663 | uninstall: uninstall-am | |
664 | ||
665 | install-am: all-am | |
666 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | |
667 | ||
668 | installcheck: installcheck-am | |
669 | install-strip: | |
735aacba MH |
670 | if test -z '$(STRIP)'; then \ |
671 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
672 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
673 | install; \ | |
674 | else \ | |
675 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
676 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
677 | "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ | |
678 | fi | |
9d73ec14 IV |
679 | mostlyclean-generic: |
680 | ||
681 | clean-generic: | |
682 | ||
683 | distclean-generic: | |
684 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | |
685 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | |
686 | ||
687 | maintainer-clean-generic: | |
688 | @echo "This command is intended for maintainers to use" | |
689 | @echo "it deletes files that may require special tools to rebuild." | |
22e05272 | 690 | clean: clean-am |
9d73ec14 | 691 | |
22e05272 JM |
692 | clean-am: clean-generic clean-libtool clean-local \ |
693 | clean-toolexeclibLTLIBRARIES mostlyclean-am | |
9d73ec14 | 694 | |
22e05272 | 695 | distclean: distclean-am |
9d73ec14 IV |
696 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
697 | -rm -rf ./$(DEPDIR) | |
698 | -rm -f Makefile | |
699 | distclean-am: clean-am distclean-compile distclean-generic \ | |
22e05272 | 700 | distclean-libtool distclean-local distclean-tags |
9d73ec14 IV |
701 | |
702 | dvi: dvi-am | |
703 | ||
704 | dvi-am: | |
705 | ||
706 | html: html-am | |
707 | ||
708 | html-am: | |
709 | ||
710 | info: info-am | |
711 | ||
712 | info-am: | |
713 | ||
714 | install-data-am: install-plugin_includeHEADERS | |
715 | ||
716 | install-dvi: install-dvi-am | |
717 | ||
718 | install-dvi-am: | |
719 | ||
22e05272 | 720 | install-exec-am: install-exec-local install-toolexeclibLTLIBRARIES |
9d73ec14 IV |
721 | |
722 | install-html: install-html-am | |
723 | ||
724 | install-html-am: | |
725 | ||
726 | install-info: install-info-am | |
727 | ||
728 | install-info-am: | |
729 | ||
730 | install-man: | |
731 | ||
732 | install-pdf: install-pdf-am | |
733 | ||
734 | install-pdf-am: | |
735 | ||
736 | install-ps: install-ps-am | |
737 | ||
738 | install-ps-am: | |
739 | ||
740 | installcheck-am: | |
741 | ||
22e05272 | 742 | maintainer-clean: maintainer-clean-am |
9d73ec14 IV |
743 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
744 | -rm -rf $(top_srcdir)/autom4te.cache | |
745 | -rm -rf ./$(DEPDIR) | |
746 | -rm -f Makefile | |
22e05272 JM |
747 | maintainer-clean-am: distclean-am maintainer-clean-generic \ |
748 | maintainer-clean-local | |
9d73ec14 | 749 | |
22e05272 | 750 | mostlyclean: mostlyclean-am |
9d73ec14 IV |
751 | |
752 | mostlyclean-am: mostlyclean-compile mostlyclean-generic \ | |
22e05272 | 753 | mostlyclean-libtool mostlyclean-local |
9d73ec14 IV |
754 | |
755 | pdf: pdf-am | |
756 | ||
757 | pdf-am: | |
758 | ||
759 | ps: ps-am | |
760 | ||
761 | ps-am: | |
762 | ||
763 | uninstall-am: uninstall-plugin_includeHEADERS \ | |
764 | uninstall-toolexeclibLTLIBRARIES | |
765 | ||
22e05272 | 766 | .MAKE: install-am install-strip |
9d73ec14 | 767 | |
22e05272 JM |
768 | .PHONY: CTAGS GTAGS TAGS all all-am all-local am--refresh check \ |
769 | check-am clean clean-cscope clean-generic clean-libtool \ | |
770 | clean-local clean-toolexeclibLTLIBRARIES cscope cscopelist-am \ | |
771 | ctags ctags-am distclean distclean-compile distclean-generic \ | |
772 | distclean-libtool distclean-local distclean-tags dvi dvi-am \ | |
773 | html html-am info info-am install install-am install-data \ | |
774 | install-data-am install-dvi install-dvi-am install-exec \ | |
775 | install-exec-am install-exec-local install-html \ | |
9d73ec14 | 776 | install-html-am install-info install-info-am install-man \ |
22e05272 JM |
777 | install-pdf install-pdf-am install-plugin_includeHEADERS \ |
778 | install-ps install-ps-am install-strip \ | |
779 | install-toolexeclibLTLIBRARIES installcheck installcheck-am \ | |
780 | installdirs maintainer-clean maintainer-clean-generic \ | |
781 | maintainer-clean-local mostlyclean mostlyclean-compile \ | |
782 | mostlyclean-generic mostlyclean-libtool mostlyclean-local pdf \ | |
783 | pdf-am ps ps-am tags tags-am uninstall uninstall-am \ | |
784 | uninstall-plugin_includeHEADERS \ | |
9d73ec14 IV |
785 | uninstall-toolexeclibLTLIBRARIES |
786 | ||
22e05272 JM |
787 | .PRECIOUS: Makefile |
788 | ||
9d73ec14 IV |
789 | |
790 | main_target_image.h: offload_target_main | |
791 | @echo -n "const int image_size = " > $@ | |
792 | @stat -c '%s' $< >> $@ | |
793 | @echo ";" >> $@ | |
794 | @echo "struct MainTargetImage {" >> $@ | |
795 | @echo " int64_t size;" >> $@ | |
796 | @echo " char name[sizeof \"offload_target_main\"];" >> $@ | |
bb927664 | 797 | @echo " uint8_t data[image_size];" >> $@ |
9d73ec14 IV |
798 | @echo "};" >> $@ |
799 | @echo "extern \"C\" const MainTargetImage main_target_image = {" >> $@ | |
800 | @echo " image_size, \"offload_target_main\"," >> $@ | |
801 | @cat $< | xxd -include >> $@ | |
802 | @echo "};" >> $@ | |
803 | ||
804 | offload_target_main: $(liboffload_dir)/ofldbegin.o offload_target_main.o $(liboffload_dir)/ofldend.o | |
805 | $(CXX) $(AM_LDFLAGS) $^ -o $@ | |
806 | ||
807 | offload_target_main.o: offload_target_main.cpp | |
808 | $(CXX) $(AM_CXXFLAGS) $(AM_CPPFLAGS) -c $< -o $@ | |
809 | ||
22e05272 JM |
810 | # GNU Make needs to see an explicit $(MAKE) variable in the command it |
811 | # runs to enable its job server during parallel builds. Hence the | |
812 | # comments below. | |
813 | all-multi: | |
814 | $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do # $(MAKE) | |
815 | install-multi: | |
816 | $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do # $(MAKE) | |
817 | mostlyclean-multi: | |
818 | $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean # $(MAKE) | |
819 | clean-multi: | |
820 | $(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean # $(MAKE) | |
821 | distclean-multi: | |
822 | $(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean # $(MAKE) | |
823 | maintainer-clean-multi: | |
824 | $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean # $(MAKE) | |
825 | ||
826 | .MAKE .PHONY: all-multi clean-multi distclean-multi install-am \ | |
827 | install-multi maintainer-clean-multi mostlyclean-multi | |
828 | ||
829 | install-exec-local: install-multi | |
830 | ||
831 | all-local: all-multi | |
832 | mostlyclean-local: mostlyclean-multi | |
833 | clean-local: clean-multi | |
834 | distclean-local: distclean-multi | |
835 | maintainer-clean-local: maintainer-clean-multi | |
836 | ||
9d73ec14 IV |
837 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
838 | # Otherwise a system limit (for SysV at least) may be exceeded. | |
839 | .NOEXPORT: |