1
# Makefile.in generated by automake 1.9.6 from Makefile.am.
4
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
# 2003, 2004, 2005 Free Software Foundation, Inc.
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.
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
18
# Copyright (c) 2004 Mellanox Technologies LTD. All rights reserved.
20
# This software is available to you under a choice of one of two
21
# licenses. You may choose to be licensed under the terms of the GNU
22
# General Public License (GPL) Version 2, available from the file
23
# COPYING in the main directory of this source tree, or the
24
# OpenIB.org BSD license below:
26
# Redistribution and use in source and binary forms, with or
27
# without modification, are permitted provided that the following
30
# - Redistributions of source code must retain the above
31
# copyright notice, this list of conditions and the following
34
# - Redistributions in binary form must reproduce the above
35
# copyright notice, this list of conditions and the following
36
# disclaimer in the documentation and/or other materials
37
# provided with the distribution.
39
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
40
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
41
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
42
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
43
# BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
44
# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
45
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
54
top_srcdir = @top_srcdir@
56
pkgdatadir = $(datadir)/@PACKAGE@
57
pkglibdir = $(libdir)/@PACKAGE@
58
pkgincludedir = $(includedir)/@PACKAGE@
60
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
62
install_sh_DATA = $(install_sh) -c -m 644
63
install_sh_PROGRAM = $(install_sh) -c
64
install_sh_SCRIPT = $(install_sh) -c
65
INSTALL_HEADER = $(INSTALL_DATA)
66
transform = $(program_transform_name)
73
build_triplet = @build@
75
bin_PROGRAMS = ibdmsh$(EXEEXT)
77
DIST_COMMON = $(pkginclude_HEADERS) $(srcdir)/Makefile.am \
79
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
80
am__aclocal_m4_deps = $(top_srcdir)/config/regex.m4 \
81
$(top_srcdir)/config/swig.m4 $(top_srcdir)/config/tcl.m4 \
82
$(top_srcdir)/configure.in
83
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
85
mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
86
CONFIG_HEADER = $(top_builddir)/config.h
88
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
89
am__vpath_adj = case $$p in \
90
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
93
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
94
am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" \
95
"$(DESTDIR)$(pkgincludedir)"
96
libLTLIBRARIES_INSTALL = $(INSTALL)
97
LTLIBRARIES = $(lib_LTLIBRARIES)
99
libibdm_la_DEPENDENCIES = $(am__DEPENDENCIES_1)
100
am__objects_1 = Fabric.lo RouteSys.lo Bipartite.lo SubnMgt.lo \
101
TraceRoute.lo CredLoops.lo TopoMatch.lo SysDef.lo LinkCover.lo \
102
Congestion.lo ibnl_parser.lo ibnl_scanner.lo FatTree.lo
103
am_libibdm_la_OBJECTS = ibdm_wrap.lo $(am__objects_1)
104
libibdm_la_OBJECTS = $(am_libibdm_la_OBJECTS)
105
libibdmcom_la_DEPENDENCIES =
106
am_libibdmcom_la_OBJECTS = $(am__objects_1)
107
libibdmcom_la_OBJECTS = $(am_libibdmcom_la_OBJECTS)
108
binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
109
PROGRAMS = $(bin_PROGRAMS)
110
am_ibdmsh_OBJECTS = ibdmsh_wrap.$(OBJEXT)
111
ibdmsh_OBJECTS = $(am_ibdmsh_OBJECTS)
112
ibdmsh_DEPENDENCIES = $(am__DEPENDENCIES_1)
113
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
114
depcomp = $(SHELL) $(top_srcdir)/config/depcomp
115
am__depfiles_maybe = depfiles
116
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
117
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
118
LTCXXCOMPILE = $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) \
119
$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
120
$(AM_CXXFLAGS) $(CXXFLAGS)
122
CXXLINK = $(LIBTOOL) --tag=CXX --mode=link $(CXXLD) $(AM_CXXFLAGS) \
123
$(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
124
SOURCES = $(libibdm_la_SOURCES) $(libibdmcom_la_SOURCES) \
126
DIST_SOURCES = $(libibdm_la_SOURCES) $(libibdmcom_la_SOURCES) \
128
pkgincludeHEADERS_INSTALL = $(INSTALL_HEADER)
129
HEADERS = $(pkginclude_HEADERS)
132
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
134
AMDEP_FALSE = @AMDEP_FALSE@
135
AMDEP_TRUE = @AMDEP_TRUE@
138
AUTOCONF = @AUTOCONF@
139
AUTOHEADER = @AUTOHEADER@
140
AUTOMAKE = @AUTOMAKE@
143
CCDEPMODE = @CCDEPMODE@
146
CPPFLAGS = @CPPFLAGS@
149
CXXDEPMODE = @CXXDEPMODE@
150
CXXFLAGS = @CXXFLAGS@
151
CYGPATH_W = @CYGPATH_W@
152
DEBUG_FALSE = @DEBUG_FALSE@
153
DEBUG_TRUE = @DEBUG_TRUE@
164
HAS_SWIG_FALSE = @HAS_SWIG_FALSE@
165
HAS_SWIG_TRUE = @HAS_SWIG_TRUE@
166
INSTALL_DATA = @INSTALL_DATA@
167
INSTALL_PROGRAM = @INSTALL_PROGRAM@
168
INSTALL_SCRIPT = @INSTALL_SCRIPT@
169
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
173
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
178
LTLIBOBJS = @LTLIBOBJS@
180
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
181
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
182
MAKEINFO = @MAKEINFO@
185
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
186
PACKAGE_NAME = @PACKAGE_NAME@
187
PACKAGE_STRING = @PACKAGE_STRING@
188
PACKAGE_TARNAME = @PACKAGE_TARNAME@
189
PACKAGE_VERSION = @PACKAGE_VERSION@
190
PATH_SEPARATOR = @PATH_SEPARATOR@
192
REGEXP_INCLUDE = @REGEXP_INCLUDE@
193
SET_MAKE = @SET_MAKE@
197
SWIG_LIB = @SWIG_LIB@
199
TCL_CPPFLAGS = @TCL_CPPFLAGS@
200
TCL_DEFS = @TCL_DEFS@
201
TCL_LIBS = @TCL_LIBS@
202
TCL_PREFIX = @TCL_PREFIX@
203
USE_FINAL_PREFIX_FALSE = @USE_FINAL_PREFIX_FALSE@
204
USE_FINAL_PREFIX_TRUE = @USE_FINAL_PREFIX_TRUE@
207
ac_ct_AR = @ac_ct_AR@
208
ac_ct_CC = @ac_ct_CC@
209
ac_ct_CXX = @ac_ct_CXX@
210
ac_ct_F77 = @ac_ct_F77@
211
ac_ct_RANLIB = @ac_ct_RANLIB@
212
ac_ct_STRIP = @ac_ct_STRIP@
213
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
214
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
215
am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
216
am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
217
am__include = @am__include@
218
am__leading_dot = @am__leading_dot@
219
am__quote = @am__quote@
221
am__untar = @am__untar@
224
build_alias = @build_alias@
225
build_cpu = @build_cpu@
226
build_os = @build_os@
227
build_vendor = @build_vendor@
229
exec_prefix = @exec_prefix@
231
host_alias = @host_alias@
232
host_cpu = @host_cpu@
234
host_vendor = @host_vendor@
235
includedir = @includedir@
237
install_sh = @install_sh@
239
libexecdir = @libexecdir@
240
localstatedir = @localstatedir@
243
oldincludedir = @oldincludedir@
245
program_transform_name = @program_transform_name@
247
sharedstatedir = @sharedstatedir@
248
sysconfdir = @sysconfdir@
249
target_alias = @target_alias@
250
with_final_prefix = @with_final_prefix@
252
# we would like to export these headers during install
253
pkginclude_HEADERS = git_version.h Fabric.h RouteSys.h Bipartite.h \
254
SubnMgt.h TraceRoute.h CredLoops.h Regexp.h \
255
TopoMatch.h SysDef.h Congestion.h ibnl_parser.h ibdm.i
258
# ibdm shared library version triplet is:
259
# API_ID:API_VER:NUM_PREV_API_SUP = x:y:z
260
# * change of API_ID means new API
261
# * change of AGE means how many API backward compt
262
# * change of API_VER is required every version
263
# Results with SO version: x-z:z:y
264
LIB_VER_TRIPLET = "2:1:1"
265
LIB_FILE_TRIPLET = 1.1.1
268
# we are going to have here 3 targets:
269
# libibdmcom - common convinient library of objects
270
# libibdm - the TCL shared lib to be used as a package
271
# ibdmsh - the TCL shell
272
common_SOURCES = Fabric.cpp RouteSys.cc Bipartite.cc \
273
SubnMgt.cpp TraceRoute.cpp CredLoops.cpp TopoMatch.cpp SysDef.cpp \
274
LinkCover.cpp Congestion.cpp ibnl_parser.cc ibnl_scanner.cc FatTree.cpp
276
@DEBUG_FALSE@DBG = -O2
278
# Support debug mode through config variable
279
@DEBUG_TRUE@DBG = -O0 -g
280
@USE_FINAL_PREFIX_FALSE@IBNL_PATH = -DIBDM_IBNL_DIR='"$(libdir)/ibdm$(VERSION)"'
282
# We have a special mode where we know the package will be eventually moved
283
# to $with_final_prefix
284
@USE_FINAL_PREFIX_TRUE@IBNL_PATH = -DIBDM_IBNL_DIR='"$(with_final_prefix)/lib/ibdm$(VERSION)"'
285
AM_CXXFLAGS = $(DBG) $(IBNL_PATH) $(TCL_CPPFLAGS) $(REGEXP_INCLUDE)
286
AM_CFLAGS = $(DBG) $(IBNL_PATH) $(TCL_CFLAGS) $(REGEXP_INCLUDE)
287
lib_LTLIBRARIES = libibdmcom.la libibdm.la
288
libibdmcom_la_SOURCES = $(common_SOURCES)
289
libibdmcom_la_LIBADD = -L../replace -lreplace
290
libibdmcom_la_LDFLAGS = -version-info $(LIB_VER_TRIPLET)
291
libibdm_la_SOURCES = ibdm_wrap.cpp ibdm.i $(common_SOURCES)
292
libibdm_la_LIBADD = $(TCL_LIBS) -L../replace -lreplace
293
libibdm_la_LDFLAGS = -Wl,-rpath -Wl,$(TCL_PREFIX)/lib -version-info $(LIB_VER_TRIPLET) -no-undefined
294
ibdmsh_SOURCES = ibdmsh_wrap.cpp
295
ibdmsh_LDADD = -libdmcom $(TCL_LIBS)
296
ibdmsh_LDFLAGS = -static -Wl,-rpath -Wl,$(TCL_PREFIX)/lib
298
# track latest GIT version for this tree:
299
GIT = $(shell which git)
301
# we need there extra in the distribution as their dependency is not defined
302
EXTRA_DIST = swig_alternate_mangling.cpp fixSwigWrapper pkgIndex.tcl ibdm.i
306
.SUFFIXES: .cc .cpp .lo .o .obj
307
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
309
case '$(am__configure_deps)' in \
311
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
316
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu ibdm/Makefile'; \
317
cd $(top_srcdir) && \
318
$(AUTOMAKE) --gnu ibdm/Makefile
320
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
323
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
325
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
326
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
329
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
330
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
332
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
333
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
334
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
335
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
336
install-libLTLIBRARIES: $(lib_LTLIBRARIES)
338
test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
339
@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
340
if test -f $$p; then \
342
echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
343
$(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
347
uninstall-libLTLIBRARIES:
349
@set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \
351
echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
352
$(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
355
clean-libLTLIBRARIES:
356
-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
357
@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
358
dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
359
test "$$dir" != "$$p" || dir=.; \
360
echo "rm -f \"$${dir}/so_locations\""; \
361
rm -f "$${dir}/so_locations"; \
363
libibdm.la: $(libibdm_la_OBJECTS) $(libibdm_la_DEPENDENCIES)
364
$(CXXLINK) -rpath $(libdir) $(libibdm_la_LDFLAGS) $(libibdm_la_OBJECTS) $(libibdm_la_LIBADD) $(LIBS)
365
libibdmcom.la: $(libibdmcom_la_OBJECTS) $(libibdmcom_la_DEPENDENCIES)
366
$(CXXLINK) -rpath $(libdir) $(libibdmcom_la_LDFLAGS) $(libibdmcom_la_OBJECTS) $(libibdmcom_la_LIBADD) $(LIBS)
367
install-binPROGRAMS: $(bin_PROGRAMS)
369
test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
370
@list='$(bin_PROGRAMS)'; for p in $$list; do \
371
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
375
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
376
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
377
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
381
uninstall-binPROGRAMS:
383
@list='$(bin_PROGRAMS)'; for p in $$list; do \
384
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
385
echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
386
rm -f "$(DESTDIR)$(bindir)/$$f"; \
390
@list='$(bin_PROGRAMS)'; for p in $$list; do \
391
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
392
echo " rm -f $$p $$f"; \
395
ibdmsh$(EXEEXT): $(ibdmsh_OBJECTS) $(ibdmsh_DEPENDENCIES)
396
@rm -f ibdmsh$(EXEEXT)
397
$(CXXLINK) $(ibdmsh_LDFLAGS) $(ibdmsh_OBJECTS) $(ibdmsh_LDADD) $(LIBS)
405
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Bipartite.Plo@am__quote@
406
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Congestion.Plo@am__quote@
407
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CredLoops.Plo@am__quote@
408
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Fabric.Plo@am__quote@
409
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/FatTree.Plo@am__quote@
410
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/LinkCover.Plo@am__quote@
411
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/RouteSys.Plo@am__quote@
412
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SubnMgt.Plo@am__quote@
413
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SysDef.Plo@am__quote@
414
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/TopoMatch.Plo@am__quote@
415
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/TraceRoute.Plo@am__quote@
416
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ibdm_wrap.Plo@am__quote@
417
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ibdmsh_wrap.Po@am__quote@
418
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ibnl_parser.Plo@am__quote@
419
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ibnl_scanner.Plo@am__quote@
422
@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
423
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
424
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
425
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
426
@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
429
@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
430
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
431
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
432
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
433
@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
436
@am__fastdepCXX_TRUE@ if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
437
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
438
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
439
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
440
@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
443
@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
444
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
445
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
446
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
447
@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
450
@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
451
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
452
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
453
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
454
@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
457
@am__fastdepCXX_TRUE@ if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
458
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
459
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
460
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
461
@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
472
install-pkgincludeHEADERS: $(pkginclude_HEADERS)
474
test -z "$(pkgincludedir)" || $(mkdir_p) "$(DESTDIR)$(pkgincludedir)"
475
@list='$(pkginclude_HEADERS)'; for p in $$list; do \
476
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
478
echo " $(pkgincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgincludedir)/$$f'"; \
479
$(pkgincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgincludedir)/$$f"; \
482
uninstall-pkgincludeHEADERS:
484
@list='$(pkginclude_HEADERS)'; for p in $$list; do \
486
echo " rm -f '$(DESTDIR)$(pkgincludedir)/$$f'"; \
487
rm -f "$(DESTDIR)$(pkgincludedir)/$$f"; \
490
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
491
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
492
unique=`for i in $$list; do \
493
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
495
$(AWK) ' { files[$$0] = 1; } \
496
END { for (i in files) print i; }'`; \
500
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
501
$(TAGS_FILES) $(LISP)
504
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
505
unique=`for i in $$list; do \
506
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
508
$(AWK) ' { files[$$0] = 1; } \
509
END { for (i in files) print i; }'`; \
510
if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
511
test -n "$$unique" || unique=$$empty_fix; \
512
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
516
CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
517
$(TAGS_FILES) $(LISP)
520
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
521
unique=`for i in $$list; do \
522
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
524
$(AWK) ' { files[$$0] = 1; } \
525
END { for (i in files) print i; }'`; \
526
test -z "$(CTAGS_ARGS)$$tags$$unique" \
527
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
531
here=`$(am__cd) $(top_builddir) && pwd` \
532
&& cd $(top_srcdir) \
533
&& gtags -i $(GTAGS_ARGS) $$here
536
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
538
distdir: $(DISTFILES)
539
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
540
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
541
list='$(DISTFILES)'; for file in $$list; do \
543
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
544
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
546
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
547
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
548
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
550
$(mkdir_p) "$(distdir)$$dir"; \
554
if test -d $$d/$$file; then \
555
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
556
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
558
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
560
test -f $(distdir)/$$file \
561
|| cp -p $$d/$$file $(distdir)/$$file \
565
$(MAKE) $(AM_MAKEFLAGS) \
566
top_distdir="$(top_distdir)" distdir="$(distdir)" \
570
all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS)
571
install-binPROGRAMS: install-libLTLIBRARIES
574
for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgincludedir)"; do \
575
test -z "$$dir" || $(mkdir_p) "$$dir"; \
578
install-exec: install-exec-am
579
install-data: install-data-am
580
uninstall: uninstall-am
583
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
585
installcheck: installcheck-am
587
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
588
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
589
`test -z '$(STRIP)' || \
590
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
596
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
598
maintainer-clean-generic:
599
@echo "This command is intended for maintainers to use"
600
@echo "it deletes files that may require special tools to rebuild."
603
clean-am: clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \
604
clean-libtool mostlyclean-am
606
distclean: distclean-am
609
distclean-am: clean-am distclean-compile distclean-generic \
610
distclean-libtool distclean-tags
622
install-data-am: install-pkgincludeHEADERS
624
install-info: install-info-am
630
maintainer-clean: maintainer-clean-am
633
maintainer-clean-am: distclean-am maintainer-clean-generic
635
mostlyclean: mostlyclean-am
637
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
648
uninstall-am: uninstall-binPROGRAMS uninstall-info-am \
649
uninstall-libLTLIBRARIES uninstall-pkgincludeHEADERS
651
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
652
clean-generic clean-libLTLIBRARIES clean-libtool ctags \
653
dist-hook distclean distclean-compile distclean-generic \
654
distclean-libtool distclean-tags distdir dvi dvi-am html \
655
html-am info info-am install install-am install-binPROGRAMS \
656
install-data install-data-am install-exec install-exec-am \
657
install-info install-info-am install-libLTLIBRARIES \
658
install-man install-pkgincludeHEADERS install-strip \
659
installcheck installcheck-am installdirs maintainer-clean \
660
maintainer-clean-generic mostlyclean mostlyclean-compile \
661
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
662
tags uninstall uninstall-am uninstall-binPROGRAMS \
663
uninstall-info-am uninstall-libLTLIBRARIES \
664
uninstall-pkgincludeHEADERS
667
$(srcdir)/Fabric.cpp: $(srcdir)/git_version.h
669
$(srcdir)/git_version.h: @MAINTAINER_MODE_TRUE@ FORCE
670
if test x$(GIT) != x ; then \
671
gitver=`cd $(srcdir) ; git-log | head -1 | cut -f2 -d\ `; \
672
changes=`cd $(srcdir) ; git diff . | grep ^diff | wc -l`; \
674
gitver=undefined; changes=0; \
676
if test $$changes != 0; then gitver="$$gitver with-local-mods"; fi; \
677
echo "#define IBDM_CODE_VERSION \"$$gitver\"" > .git_version.h ;\
678
if test -f $(srcdir)/git_version.h ; then \
679
if test `diff .git_version.h $(srcdir)/git_version.h | wc -l` != 0; then \
680
mv -f .git_version.h $(srcdir)/git_version.h; \
681
echo "Updated code version to: $$gitver"; \
684
mv -f .git_version.h $(srcdir)/git_version.h; \
685
echo "Creates code version to: $$gitver"; \
690
# Workaound for libtool to use g++ for linking (verified as un-needed but JIC)
691
# CXXLINK = $(LIBTOOL) --tag=CXX --mode=link \
692
# $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
694
# only generate the swig wrappers if they do not exist...
695
# so we avoid un-needed swig dependency
696
@HAS_SWIG_TRUE@$(srcdir)/ibdm_wrap.cpp: @MAINTAINER_MODE_TRUE@ $(srcdir)/ibdm.i
697
@HAS_SWIG_TRUE@ swig -c++ -dhtml -tcl8 -o swig_wrap.c $(srcdir)/ibdm.i
698
@HAS_SWIG_TRUE@ $(srcdir)/fixSwigWrapper -g -s -p -o $@
699
@HAS_SWIG_TRUE@ rm -f swig_wrap.c
701
@HAS_SWIG_TRUE@$(srcdir)/ibdmsh_wrap.cpp: @MAINTAINER_MODE_TRUE@ $(srcdir)/ibdm.i
702
@HAS_SWIG_TRUE@ swig -c++ -dhtml -tcl8 -ltclsh.i -o swig_wrap.c $(srcdir)/ibdm.i
703
@HAS_SWIG_TRUE@ $(srcdir)/fixSwigWrapper -g -s -p -r ibdm -o $@
704
@HAS_SWIG_TRUE@ rm -f swig_wrap.c
707
rm -f $(srcdir)/ibdm_wrap.cpp $(srcdir)/ibdmsh_wrap.cpp *wrap.o
709
ibnl_parser.cc: @MAINTAINER_MODE_TRUE@ $(srcdir)/ibnl_parser.yy
710
$(srcdir)/../config/ylwrap $(srcdir)/ibnl_parser.yy \
711
y.tab.c ibnl_parser.cc \
712
y.tab.h ibnl_parser.h \
713
y.output ibnl_parser.output -- bison -y -d
714
if test ! ibnl_parser.cc -ef $(srcdir)/ibnl_parser.cc ; then cp ibnl_parser.cc $(srcdir)/ibnl_parser.cc ; fi
715
if test ! ibnl_parser.h -ef $(srcdir)/ibnl_parser.h ; then cp ibnl_parser.h $(srcdir)/ibnl_parser.h; fi
717
ibnl_scanner.cc: @MAINTAINER_MODE_TRUE@ $(srcdir)/ibnl_scanner.ll
718
$(srcdir)/../config/ylwrap $(srcdir)/ibnl_scanner.ll \
719
lex.yy.c ibnl_scanner.cc -- flex
720
if test ! ibnl_scanner.cc -ef $(srcdir)/ibnl_scanner.cc ; then cp ibnl_scanner.cc $(srcdir)/ibnl_scanner.cc; fi
722
# Don't distribute common.h, since it is build host dependent!
723
dist-hook: git_version.h
724
rm -f $(distdir)/common.h
726
# this actually over write the lib install
727
install-exec-am: install-binPROGRAMS
728
mkdir -p $(DESTDIR)$(libdir)/ibdm$(VERSION)
729
cp .libs/$(shell grep dlname libibdm.la | sed 's/.*=\(.*\)/\1/') \
730
$(DESTDIR)$(libdir)/ibdm$(VERSION)/libibdm.so.$(VERSION)
731
sed 's/%VERSION%/'$(VERSION)'/g' $(srcdir)/pkgIndex.tcl > $(DESTDIR)$(libdir)/ibdm$(VERSION)/pkgIndex.tcl
732
# Tell versions [3.59,3.63) of GNU make to not export all variables.
733
# Otherwise a system limit (for SysV at least) may be exceeded.