~ubuntu-branches/ubuntu/raring/ibutils/raring-proposed

« back to all changes in this revision

Viewing changes to ibdm/ibdm/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Benoit Mortier
  • Date: 2010-01-11 22:22:00 UTC
  • Revision ID: james.westby@ubuntu.com-20100111222200-53kum2et5nh13rv3
Tags: upstream-1.2-OFED-1.4.2
ImportĀ upstreamĀ versionĀ 1.2-OFED-1.4.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Makefile.in generated by automake 1.9.6 from Makefile.am.
 
2
# @configure_input@
 
3
 
 
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.
 
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
#--
 
18
# Copyright (c) 2004 Mellanox Technologies LTD. All rights reserved.
 
19
#
 
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:
 
25
#
 
26
#     Redistribution and use in source and binary forms, with or
 
27
#     without modification, are permitted provided that the following
 
28
#     conditions are met:
 
29
#
 
30
#      - Redistributions of source code must retain the above
 
31
#        copyright notice, this list of conditions and the following
 
32
#        disclaimer.
 
33
#
 
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.
 
38
#
 
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
 
46
# SOFTWARE.
 
47
#
 
48
# $Id$
 
49
#--
 
50
 
 
51
 
 
52
 
 
53
srcdir = @srcdir@
 
54
top_srcdir = @top_srcdir@
 
55
VPATH = @srcdir@
 
56
pkgdatadir = $(datadir)/@PACKAGE@
 
57
pkglibdir = $(libdir)/@PACKAGE@
 
58
pkgincludedir = $(includedir)/@PACKAGE@
 
59
top_builddir = ..
 
60
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
 
61
INSTALL = @INSTALL@
 
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)
 
67
NORMAL_INSTALL = :
 
68
PRE_INSTALL = :
 
69
POST_INSTALL = :
 
70
NORMAL_UNINSTALL = :
 
71
PRE_UNINSTALL = :
 
72
POST_UNINSTALL = :
 
73
build_triplet = @build@
 
74
host_triplet = @host@
 
75
bin_PROGRAMS = ibdmsh$(EXEEXT)
 
76
subdir = ibdm
 
77
DIST_COMMON = $(pkginclude_HEADERS) $(srcdir)/Makefile.am \
 
78
        $(srcdir)/Makefile.in
 
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) \
 
84
        $(ACLOCAL_M4)
 
85
mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
 
86
CONFIG_HEADER = $(top_builddir)/config.h
 
87
CONFIG_CLEAN_FILES =
 
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/||"`;; \
 
91
    *) f=$$p;; \
 
92
  esac;
 
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)
 
98
am__DEPENDENCIES_1 =
 
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)
 
121
CXXLD = $(CXX)
 
122
CXXLINK = $(LIBTOOL) --tag=CXX --mode=link $(CXXLD) $(AM_CXXFLAGS) \
 
123
        $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
 
124
SOURCES = $(libibdm_la_SOURCES) $(libibdmcom_la_SOURCES) \
 
125
        $(ibdmsh_SOURCES)
 
126
DIST_SOURCES = $(libibdm_la_SOURCES) $(libibdmcom_la_SOURCES) \
 
127
        $(ibdmsh_SOURCES)
 
128
pkgincludeHEADERS_INSTALL = $(INSTALL_HEADER)
 
129
HEADERS = $(pkginclude_HEADERS)
 
130
ETAGS = etags
 
131
CTAGS = ctags
 
132
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 
133
ACLOCAL = @ACLOCAL@
 
134
AMDEP_FALSE = @AMDEP_FALSE@
 
135
AMDEP_TRUE = @AMDEP_TRUE@
 
136
AMTAR = @AMTAR@
 
137
AR = @AR@
 
138
AUTOCONF = @AUTOCONF@
 
139
AUTOHEADER = @AUTOHEADER@
 
140
AUTOMAKE = @AUTOMAKE@
 
141
AWK = @AWK@
 
142
CC = @CC@
 
143
CCDEPMODE = @CCDEPMODE@
 
144
CFLAGS = @CFLAGS@
 
145
CPP = @CPP@
 
146
CPPFLAGS = @CPPFLAGS@
 
147
CXX = @CXX@
 
148
CXXCPP = @CXXCPP@
 
149
CXXDEPMODE = @CXXDEPMODE@
 
150
CXXFLAGS = @CXXFLAGS@
 
151
CYGPATH_W = @CYGPATH_W@
 
152
DEBUG_FALSE = @DEBUG_FALSE@
 
153
DEBUG_TRUE = @DEBUG_TRUE@
 
154
DEFS = @DEFS@
 
155
DEPDIR = @DEPDIR@
 
156
ECHO = @ECHO@
 
157
ECHO_C = @ECHO_C@
 
158
ECHO_N = @ECHO_N@
 
159
ECHO_T = @ECHO_T@
 
160
EGREP = @EGREP@
 
161
EXEEXT = @EXEEXT@
 
162
F77 = @F77@
 
163
FFLAGS = @FFLAGS@
 
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@
 
170
LDFLAGS = @LDFLAGS@
 
171
LEX = @LEX@
 
172
LEXLIB = @LEXLIB@
 
173
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
 
174
LIBOBJS = @LIBOBJS@
 
175
LIBS = @LIBS@
 
176
LIBTOOL = @LIBTOOL@
 
177
LN_S = @LN_S@
 
178
LTLIBOBJS = @LTLIBOBJS@
 
179
MAINT = @MAINT@
 
180
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
 
181
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
 
182
MAKEINFO = @MAKEINFO@
 
183
OBJEXT = @OBJEXT@
 
184
PACKAGE = @PACKAGE@
 
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@
 
191
RANLIB = @RANLIB@
 
192
REGEXP_INCLUDE = @REGEXP_INCLUDE@
 
193
SET_MAKE = @SET_MAKE@
 
194
SHELL = @SHELL@
 
195
STRIP = @STRIP@
 
196
SWIG = @SWIG@
 
197
SWIG_LIB = @SWIG_LIB@
 
198
TCLSH = @TCLSH@
 
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@
 
205
VERSION = @VERSION@
 
206
YACC = @YACC@
 
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@
 
220
am__tar = @am__tar@
 
221
am__untar = @am__untar@
 
222
bindir = @bindir@
 
223
build = @build@
 
224
build_alias = @build_alias@
 
225
build_cpu = @build_cpu@
 
226
build_os = @build_os@
 
227
build_vendor = @build_vendor@
 
228
datadir = @datadir@
 
229
exec_prefix = @exec_prefix@
 
230
host = @host@
 
231
host_alias = @host_alias@
 
232
host_cpu = @host_cpu@
 
233
host_os = @host_os@
 
234
host_vendor = @host_vendor@
 
235
includedir = @includedir@
 
236
infodir = @infodir@
 
237
install_sh = @install_sh@
 
238
libdir = @libdir@
 
239
libexecdir = @libexecdir@
 
240
localstatedir = @localstatedir@
 
241
mandir = @mandir@
 
242
mkdir_p = @mkdir_p@
 
243
oldincludedir = @oldincludedir@
 
244
prefix = @prefix@
 
245
program_transform_name = @program_transform_name@
 
246
sbindir = @sbindir@
 
247
sharedstatedir = @sharedstatedir@
 
248
sysconfdir = @sysconfdir@
 
249
target_alias = @target_alias@
 
250
with_final_prefix = @with_final_prefix@
 
251
 
 
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
 
256
 
 
257
 
 
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
 
266
AM_YFLAGS = -d
 
267
 
 
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
 
275
 
 
276
@DEBUG_FALSE@DBG = -O2
 
277
 
 
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)"'
 
281
 
 
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
 
297
 
 
298
# track latest GIT version for this tree:
 
299
GIT = $(shell which git)
 
300
 
 
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
 
303
all: all-am
 
304
 
 
305
.SUFFIXES:
 
306
.SUFFIXES: .cc .cpp .lo .o .obj
 
307
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
 
308
        @for dep in $?; do \
 
309
          case '$(am__configure_deps)' in \
 
310
            *$$dep*) \
 
311
              cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
 
312
                && exit 0; \
 
313
              exit 1;; \
 
314
          esac; \
 
315
        done; \
 
316
        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  ibdm/Makefile'; \
 
317
        cd $(top_srcdir) && \
 
318
          $(AUTOMAKE) --gnu  ibdm/Makefile
 
319
.PRECIOUS: Makefile
 
320
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
321
        @case '$?' in \
 
322
          *config.status*) \
 
323
            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
 
324
          *) \
 
325
            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
 
326
            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
 
327
        esac;
 
328
 
 
329
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
 
330
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 
331
 
 
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)
 
337
        @$(NORMAL_INSTALL)
 
338
        test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
 
339
        @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
 
340
          if test -f $$p; then \
 
341
            f=$(am__strip_dir) \
 
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"; \
 
344
          else :; fi; \
 
345
        done
 
346
 
 
347
uninstall-libLTLIBRARIES:
 
348
        @$(NORMAL_UNINSTALL)
 
349
        @set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \
 
350
          p=$(am__strip_dir) \
 
351
          echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
 
352
          $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
 
353
        done
 
354
 
 
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"; \
 
362
        done
 
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)
 
368
        @$(NORMAL_INSTALL)
 
369
        test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
 
370
        @list='$(bin_PROGRAMS)'; for p in $$list; do \
 
371
          p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
 
372
          if test -f $$p \
 
373
             || test -f $$p1 \
 
374
          ; then \
 
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; \
 
378
          else :; fi; \
 
379
        done
 
380
 
 
381
uninstall-binPROGRAMS:
 
382
        @$(NORMAL_UNINSTALL)
 
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"; \
 
387
        done
 
388
 
 
389
clean-binPROGRAMS:
 
390
        @list='$(bin_PROGRAMS)'; for p in $$list; do \
 
391
          f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
 
392
          echo " rm -f $$p $$f"; \
 
393
          rm -f $$p $$f ; \
 
394
        done
 
395
ibdmsh$(EXEEXT): $(ibdmsh_OBJECTS) $(ibdmsh_DEPENDENCIES) 
 
396
        @rm -f ibdmsh$(EXEEXT)
 
397
        $(CXXLINK) $(ibdmsh_LDFLAGS) $(ibdmsh_OBJECTS) $(ibdmsh_LDADD) $(LIBS)
 
398
 
 
399
mostlyclean-compile:
 
400
        -rm -f *.$(OBJEXT)
 
401
 
 
402
distclean-compile:
 
403
        -rm -f *.tab.c
 
404
 
 
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@
 
420
 
 
421
.cc.o:
 
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 $@ $<
 
427
 
 
428
.cc.obj:
 
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) '$<'`
 
434
 
 
435
.cc.lo:
 
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 $@ $<
 
441
 
 
442
.cpp.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 $@ $<
 
448
 
 
449
.cpp.obj:
 
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) '$<'`
 
455
 
 
456
.cpp.lo:
 
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 $@ $<
 
462
 
 
463
mostlyclean-libtool:
 
464
        -rm -f *.lo
 
465
 
 
466
clean-libtool:
 
467
        -rm -rf .libs _libs
 
468
 
 
469
distclean-libtool:
 
470
        -rm -f libtool
 
471
uninstall-info-am:
 
472
install-pkgincludeHEADERS: $(pkginclude_HEADERS)
 
473
        @$(NORMAL_INSTALL)
 
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; \
 
477
          f=$(am__strip_dir) \
 
478
          echo " $(pkgincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgincludedir)/$$f'"; \
 
479
          $(pkgincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgincludedir)/$$f"; \
 
480
        done
 
481
 
 
482
uninstall-pkgincludeHEADERS:
 
483
        @$(NORMAL_UNINSTALL)
 
484
        @list='$(pkginclude_HEADERS)'; for p in $$list; do \
 
485
          f=$(am__strip_dir) \
 
486
          echo " rm -f '$(DESTDIR)$(pkgincludedir)/$$f'"; \
 
487
          rm -f "$(DESTDIR)$(pkgincludedir)/$$f"; \
 
488
        done
 
489
 
 
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; \
 
494
          done | \
 
495
          $(AWK) '    { files[$$0] = 1; } \
 
496
               END { for (i in files) print i; }'`; \
 
497
        mkid -fID $$unique
 
498
tags: TAGS
 
499
 
 
500
TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
 
501
                $(TAGS_FILES) $(LISP)
 
502
        tags=; \
 
503
        here=`pwd`; \
 
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; \
 
507
          done | \
 
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) \
 
513
            $$tags $$unique; \
 
514
        fi
 
515
ctags: CTAGS
 
516
CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
 
517
                $(TAGS_FILES) $(LISP)
 
518
        tags=; \
 
519
        here=`pwd`; \
 
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; \
 
523
          done | \
 
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) \
 
528
             $$tags $$unique
 
529
 
 
530
GTAGS:
 
531
        here=`$(am__cd) $(top_builddir) && pwd` \
 
532
          && cd $(top_srcdir) \
 
533
          && gtags -i $(GTAGS_ARGS) $$here
 
534
 
 
535
distclean-tags:
 
536
        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
 
537
 
 
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 \
 
542
          case $$file in \
 
543
            $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
 
544
            $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
 
545
          esac; \
 
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 \
 
549
            dir="/$$dir"; \
 
550
            $(mkdir_p) "$(distdir)$$dir"; \
 
551
          else \
 
552
            dir=''; \
 
553
          fi; \
 
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; \
 
557
            fi; \
 
558
            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
 
559
          else \
 
560
            test -f $(distdir)/$$file \
 
561
            || cp -p $$d/$$file $(distdir)/$$file \
 
562
            || exit 1; \
 
563
          fi; \
 
564
        done
 
565
        $(MAKE) $(AM_MAKEFLAGS) \
 
566
          top_distdir="$(top_distdir)" distdir="$(distdir)" \
 
567
          dist-hook
 
568
check-am: all-am
 
569
check: check-am
 
570
all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS)
 
571
install-binPROGRAMS: install-libLTLIBRARIES
 
572
 
 
573
installdirs:
 
574
        for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgincludedir)"; do \
 
575
          test -z "$$dir" || $(mkdir_p) "$$dir"; \
 
576
        done
 
577
install: install-am
 
578
install-exec: install-exec-am
 
579
install-data: install-data-am
 
580
uninstall: uninstall-am
 
581
 
 
582
install-am: all-am
 
583
        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
 
584
 
 
585
installcheck: installcheck-am
 
586
install-strip:
 
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
 
591
mostlyclean-generic:
 
592
 
 
593
clean-generic:
 
594
 
 
595
distclean-generic:
 
596
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
597
 
 
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."
 
601
clean: clean-am
 
602
 
 
603
clean-am: clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \
 
604
        clean-libtool mostlyclean-am
 
605
 
 
606
distclean: distclean-am
 
607
        -rm -rf ./$(DEPDIR)
 
608
        -rm -f Makefile
 
609
distclean-am: clean-am distclean-compile distclean-generic \
 
610
        distclean-libtool distclean-tags
 
611
 
 
612
dvi: dvi-am
 
613
 
 
614
dvi-am:
 
615
 
 
616
html: html-am
 
617
 
 
618
info: info-am
 
619
 
 
620
info-am:
 
621
 
 
622
install-data-am: install-pkgincludeHEADERS
 
623
 
 
624
install-info: install-info-am
 
625
 
 
626
install-man:
 
627
 
 
628
installcheck-am:
 
629
 
 
630
maintainer-clean: maintainer-clean-am
 
631
        -rm -rf ./$(DEPDIR)
 
632
        -rm -f Makefile
 
633
maintainer-clean-am: distclean-am maintainer-clean-generic
 
634
 
 
635
mostlyclean: mostlyclean-am
 
636
 
 
637
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
 
638
        mostlyclean-libtool
 
639
 
 
640
pdf: pdf-am
 
641
 
 
642
pdf-am:
 
643
 
 
644
ps: ps-am
 
645
 
 
646
ps-am:
 
647
 
 
648
uninstall-am: uninstall-binPROGRAMS uninstall-info-am \
 
649
        uninstall-libLTLIBRARIES uninstall-pkgincludeHEADERS
 
650
 
 
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
 
665
 
 
666
 
 
667
$(srcdir)/Fabric.cpp: $(srcdir)/git_version.h
 
668
 
 
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`; \
 
673
        else \
 
674
           gitver=undefined; changes=0; \
 
675
        fi ; \
 
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"; \
 
682
                fi; \
 
683
        else \
 
684
                mv -f .git_version.h $(srcdir)/git_version.h; \
 
685
                echo "Creates code version to: $$gitver"; \
 
686
        fi;
 
687
 
 
688
FORCE:
 
689
 
 
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 $@
 
693
 
 
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
 
700
 
 
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
 
705
 
 
706
swigclean:
 
707
        rm -f $(srcdir)/ibdm_wrap.cpp $(srcdir)/ibdmsh_wrap.cpp *wrap.o
 
708
 
 
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
 
716
 
 
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
 
721
 
 
722
# Don't distribute common.h, since it is build host dependent!
 
723
dist-hook: git_version.h
 
724
        rm -f $(distdir)/common.h
 
725
 
 
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.
 
734
.NOEXPORT: