~ubuntu-branches/ubuntu/vivid/openipmi/vivid

« back to all changes in this revision

Viewing changes to swig/perl/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Noèl Köthe
  • Date: 2006-09-15 17:56:24 UTC
  • mfrom: (1.1.2 upstream) (2.1.1 etch)
  • Revision ID: james.westby@ubuntu.com-20060915175624-ljk0mg3xtcm65tvm
Tags: 2.0.7-1
* new upstream release from 2006-06-08
  Thanks to John Wright <john.wright hp.com> for initial work
  (closes: Bug#380149)
* updated Standards Version
* new binaries openipmicmd, openipmish, rmcp_ping

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
# swig/perl/Makefile.  Generated from Makefile.in by configure.
 
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
 
 
16
srcdir = .
 
17
top_srcdir = ../..
 
18
 
 
19
pkgdatadir = $(datadir)/OpenIPMI
 
20
pkglibdir = $(libdir)/OpenIPMI
 
21
pkgincludedir = $(includedir)/OpenIPMI
 
22
top_builddir = ../..
 
23
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
 
24
INSTALL = /usr/bin/install -c
 
25
install_sh_DATA = $(install_sh) -c -m 644
 
26
install_sh_PROGRAM = $(install_sh) -c
 
27
install_sh_SCRIPT = $(install_sh) -c
 
28
INSTALL_HEADER = $(INSTALL_DATA)
 
29
transform = $(program_transform_name)
 
30
NORMAL_INSTALL = :
 
31
PRE_INSTALL = :
 
32
POST_INSTALL = :
 
33
NORMAL_UNINSTALL = :
 
34
PRE_UNINSTALL = :
 
35
POST_UNINSTALL = :
 
36
build_triplet = i486-pc-linux-gnu
 
37
host_triplet = i486-pc-linux-gnu
 
38
target_triplet = i486-pc-linux-gnu
 
39
subdir = swig/perl
 
40
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 
41
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 
42
am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
 
43
        $(top_srcdir)/configure.in
 
44
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 
45
        $(ACLOCAL_M4)
 
46
mkinstalldirs = $(install_sh) -d
 
47
CONFIG_HEADER = $(top_builddir)/config.h
 
48
CONFIG_CLEAN_FILES =
 
49
SOURCES =
 
50
DIST_SOURCES =
 
51
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 
52
ACLOCAL = ${SHELL} /home/nk/debian/openipmi/openipmi-2.0.7/missing --run aclocal-1.9
 
53
ALLOCA = 
 
54
AMDEP_FALSE = #
 
55
AMDEP_TRUE = 
 
56
AMTAR = ${SHELL} /home/nk/debian/openipmi/openipmi-2.0.7/missing --run tar
 
57
AR = ar
 
58
AUTOCONF = ${SHELL} /home/nk/debian/openipmi/openipmi-2.0.7/missing --run autoconf
 
59
AUTOHEADER = ${SHELL} /home/nk/debian/openipmi/openipmi-2.0.7/missing --run autoheader
 
60
AUTOMAKE = ${SHELL} /home/nk/debian/openipmi/openipmi-2.0.7/missing --run automake-1.9
 
61
AWK = gawk
 
62
CC = i486-linux-gnu-gcc -Wall
 
63
CCDEPMODE = depmode=gcc3
 
64
CFLAGS = -Wall -g -O2 -fPIC -DPERL_HAS_POSIX_THREADS=1
 
65
CPP = i486-linux-gnu-gcc -E
 
66
CPPFLAGS = 
 
67
CXX = i486-linux-gnu-g++
 
68
CXXCPP = i486-linux-gnu-g++ -E
 
69
CXXDEPMODE = depmode=gcc3
 
70
CXXFLAGS = -g -O2
 
71
CYGPATH_W = echo
 
72
DEFS = -DHAVE_CONFIG_H
 
73
DEPDIR = .deps
 
74
ECHO = echo
 
75
ECHO_C = 
 
76
ECHO_N = -n
 
77
ECHO_T = 
 
78
EGREP = /bin/grep -E
 
79
EXEEXT = 
 
80
F77 = 
 
81
FFLAGS = 
 
82
GDBM_LIB = -lgdbm
 
83
GLIB12_CFLAGS = -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT
 
84
GLIB12_LIB = $(top_builddir)/glib/libOpenIPMIglib12.la
 
85
GLIB12_LIBS = -L/usr/lib -lgthread -lglib -lpthread
 
86
GLIB12_PKGCONF = OpenIPMIglib12.pc
 
87
GLIB12_TARGET = libOpenIPMIglib12.la
 
88
GLIB_CFLAGS = -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
 
89
GLIB_DIR = glib
 
90
GLIB_LIB = $(top_builddir)/glib/libOpenIPMIglib.la
 
91
GLIB_LIBS = -pthread -lgthread-2.0 -lglib-2.0  
 
92
GLIB_PKGCONF = OpenIPMIglib.pc
 
93
GLIB_SINGLE_LIB = 
 
94
GLIB_TARGET = libOpenIPMIglib.la
 
95
GLIB_VERSION = 2.0
 
96
GREP = /bin/grep
 
97
INSTALL_DATA = ${INSTALL} -m 644
 
98
INSTALL_PROGRAM = ${INSTALL}
 
99
INSTALL_SCRIPT = ${INSTALL}
 
100
INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
 
101
LDFLAGS = 
 
102
LIBOBJS = 
 
103
LIBS = -lcurses 
 
104
LIBTOOL = $(SHELL) $(top_builddir)/libtool
 
105
LN_S = ln -s
 
106
LTLIBOBJS = 
 
107
MAKEINFO = ${SHELL} /home/nk/debian/openipmi/openipmi-2.0.7/missing --run makeinfo
 
108
OBJEXT = o
 
109
OPENIPMI_SMI = 
 
110
OPENIPMI_VERSION_EXTRA = 
 
111
OPENIPMI_VERSION_MAJOR = 2
 
112
OPENIPMI_VERSION_MINOR = 0
 
113
OPENIPMI_VERSION_RELEASE = 7
 
114
OPENSSLINCS = 
 
115
OPENSSLLIBS = 
 
116
PACKAGE = OpenIPMI
 
117
PACKAGE_BUGREPORT = 
 
118
PACKAGE_NAME = 
 
119
PACKAGE_STRING = 
 
120
PACKAGE_TARNAME = 
 
121
PACKAGE_VERSION = 
 
122
PATH_SEPARATOR = :
 
123
PERL_CFLAGS = -I /usr/lib/perl/5.8/CORE -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
 
124
PERL_DIR = perl
 
125
PERL_HAS_POSIX_THREADS = 1
 
126
PERL_INSTALL_DIR = ${prefix}/lib/perl/5.8
 
127
PERL_POSIX_LIB = $(top_builddir)/unix/libOpenIPMIpthread.la
 
128
POPTLIBS = -lpopt
 
129
PYTHON_CFLAGS = -I/usr/include/python2.4
 
130
PYTHON_DIR = python
 
131
PYTHON_GUI_DIR = 
 
132
PYTHON_HAS_POSIX_THREADS = 1
 
133
PYTHON_INSTALL_DIR = /usr/lib/python2.4/site-packages
 
134
PYTHON_POSIX_LIB = $(top_builddir)/unix/libOpenIPMIpthread.la
 
135
RANLIB = ranlib
 
136
SET_MAKE = 
 
137
SHELL = /bin/sh
 
138
SNMPLIBS = -lnetsnmp 
 
139
STRIP = strip
 
140
SWIG = 
 
141
SWIG_DIR = 
 
142
TCL_CFLAGS = 
 
143
TCL_DIR = 
 
144
TCL_LIB = 
 
145
TCL_LIBS = 
 
146
TCL_PKGCONF = 
 
147
TCL_TARGET = 
 
148
VERSION = 2.0.7
 
149
ac_ct_CC = 
 
150
ac_ct_CXX = 
 
151
ac_ct_F77 = 
 
152
am__fastdepCC_FALSE = #
 
153
am__fastdepCC_TRUE = 
 
154
am__fastdepCXX_FALSE = #
 
155
am__fastdepCXX_TRUE = 
 
156
am__include = include
 
157
am__leading_dot = .
 
158
am__quote = 
 
159
am__tar = ${AMTAR} chof - "$$tardir"
 
160
am__untar = ${AMTAR} xf -
 
161
bindir = ${exec_prefix}/bin
 
162
build = i486-pc-linux-gnu
 
163
build_alias = i486-linux-gnu
 
164
build_cpu = i486
 
165
build_os = linux-gnu
 
166
build_vendor = pc
 
167
datadir = ${datarootdir}
 
168
datarootdir = ${prefix}/share
 
169
docdir = ${datarootdir}/doc/${PACKAGE}
 
170
dvidir = ${docdir}
 
171
exec_prefix = ${prefix}
 
172
glibprog = /usr/bin/glib-config
 
173
host = i486-pc-linux-gnu
 
174
host_alias = i486-linux-gnu
 
175
host_cpu = i486
 
176
host_os = linux-gnu
 
177
host_vendor = pc
 
178
htmldir = ${docdir}
 
179
includedir = ${prefix}/include
 
180
infodir = ${prefix}/share/info
 
181
install_sh = /home/nk/debian/openipmi/openipmi-2.0.7/install-sh
 
182
libdir = ${exec_prefix}/lib
 
183
libexecdir = ${exec_prefix}/libexec
 
184
localedir = ${datarootdir}/locale
 
185
localstatedir = ${prefix}/var
 
186
mandir = ${prefix}/share/man
 
187
mkdir_p = mkdir -p --
 
188
oldincludedir = /usr/include
 
189
pdfdir = ${docdir}
 
190
perlprog = /usr/bin/perl
 
191
pkgprog = /usr/bin/pkg-config
 
192
prefix = /usr
 
193
program_transform_name = s,x,x,
 
194
psdir = ${docdir}
 
195
pythonprog = /usr/bin/python
 
196
sbindir = ${exec_prefix}/sbin
 
197
sharedstatedir = ${prefix}/com
 
198
swigprog = 
 
199
sysconfdir = ${prefix}/etc
 
200
target = i486-pc-linux-gnu
 
201
target_alias = 
 
202
target_cpu = i486
 
203
target_os = linux-gnu
 
204
target_vendor = pc
 
205
 
 
206
# Having to -include this is stupid, but perl stupidly have a config.h
 
207
# file in it's include directory.
 
208
AM_CFLAGS = -include $(top_builddir)/config.h \
 
209
            $(PERL_CFLAGS) \
 
210
            -I $(top_builddir)/include \
 
211
            -I $(top_srcdir)/include \
 
212
            -I $(top_srcdir)/swig/perl
 
213
 
 
214
COMPILE = $(CC) $(DEFS) $(AM_CFLAGS) $(CFLAGS)
 
215
OpenIPMI_SRC = OpenIPMI_wrap.c OpenIPMI_perl.c
 
216
OpenIPMI_OBJ = OpenIPMI_wrap.o OpenIPMI_perl.o
 
217
OpenIPMI_LIB = $(top_builddir)/unix/libOpenIPMIpthread.la \
 
218
               $(top_builddir)/lib/libOpenIPMI.la \
 
219
               $(top_builddir)/utils/libOpenIPMIutils.la \
 
220
               $(top_builddir)/cmdlang/libOpenIPMIcmdlang.la \
 
221
               $(GLIB_SINGLE_LIB) $(TCL_LIB)
 
222
 
 
223
CLEANFILES = $(OpenIPMI_OBJ) OpenIPMI.so OpenIPMI_wrap.c OpenIPMI.pm
 
224
TEST_LD_LIBRARY_PATH = $(top_builddir)/lib/.libs:$(top_builddir)/utils/.libs:$(top_builddir)/glib/.libs:$(top_builddir)/unix/.libs:$(top_builddir)/cmdlang/.libs:$(top_builddir)/tcl/.libs
 
225
TESTS_ENVIRONMENT = LD_LIBRARY_PATH="$(TEST_LD_LIBRARY_PATH)" PERLLIB="$(top_builddir)/swig/perl:$(srcdir)" top_builddir="$(top_builddir)" srcdir="$(srcdir)"
 
226
TESTS = test_fru test_chan test_lanparm test_pet test_pef
 
227
EXTRA_DIST = OpenIPMI_perl.c OpenIPMI_lang.i OpenIPMI.h \
 
228
        sample ipmi_powerctl $(TESTS) Lanserv.pm lan.conf
 
229
 
 
230
all: all-am
 
231
 
 
232
.SUFFIXES:
 
233
$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
 
234
        @for dep in $?; do \
 
235
          case '$(am__configure_deps)' in \
 
236
            *$$dep*) \
 
237
              cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
 
238
                && exit 0; \
 
239
              exit 1;; \
 
240
          esac; \
 
241
        done; \
 
242
        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  swig/perl/Makefile'; \
 
243
        cd $(top_srcdir) && \
 
244
          $(AUTOMAKE) --gnu  swig/perl/Makefile
 
245
.PRECIOUS: Makefile
 
246
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
247
        @case '$?' in \
 
248
          *config.status*) \
 
249
            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
 
250
          *) \
 
251
            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
 
252
            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
 
253
        esac;
 
254
 
 
255
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
 
256
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 
257
 
 
258
$(top_srcdir)/configure:  $(am__configure_deps)
 
259
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 
260
$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
 
261
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 
262
 
 
263
mostlyclean-libtool:
 
264
        -rm -f *.lo
 
265
 
 
266
clean-libtool:
 
267
        -rm -rf .libs _libs
 
268
 
 
269
distclean-libtool:
 
270
        -rm -f libtool
 
271
uninstall-info-am:
 
272
tags: TAGS
 
273
TAGS:
 
274
 
 
275
ctags: CTAGS
 
276
CTAGS:
 
277
 
 
278
 
 
279
check-TESTS: $(TESTS)
 
280
        @failed=0; all=0; xfail=0; xpass=0; skip=0; \
 
281
        srcdir=$(srcdir); export srcdir; \
 
282
        list='$(TESTS)'; \
 
283
        if test -n "$$list"; then \
 
284
          for tst in $$list; do \
 
285
            if test -f ./$$tst; then dir=./; \
 
286
            elif test -f $$tst; then dir=; \
 
287
            else dir="$(srcdir)/"; fi; \
 
288
            if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
 
289
              all=`expr $$all + 1`; \
 
290
              case " $(XFAIL_TESTS) " in \
 
291
              *" $$tst "*) \
 
292
                xpass=`expr $$xpass + 1`; \
 
293
                failed=`expr $$failed + 1`; \
 
294
                echo "XPASS: $$tst"; \
 
295
              ;; \
 
296
              *) \
 
297
                echo "PASS: $$tst"; \
 
298
              ;; \
 
299
              esac; \
 
300
            elif test $$? -ne 77; then \
 
301
              all=`expr $$all + 1`; \
 
302
              case " $(XFAIL_TESTS) " in \
 
303
              *" $$tst "*) \
 
304
                xfail=`expr $$xfail + 1`; \
 
305
                echo "XFAIL: $$tst"; \
 
306
              ;; \
 
307
              *) \
 
308
                failed=`expr $$failed + 1`; \
 
309
                echo "FAIL: $$tst"; \
 
310
              ;; \
 
311
              esac; \
 
312
            else \
 
313
              skip=`expr $$skip + 1`; \
 
314
              echo "SKIP: $$tst"; \
 
315
            fi; \
 
316
          done; \
 
317
          if test "$$failed" -eq 0; then \
 
318
            if test "$$xfail" -eq 0; then \
 
319
              banner="All $$all tests passed"; \
 
320
            else \
 
321
              banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
 
322
            fi; \
 
323
          else \
 
324
            if test "$$xpass" -eq 0; then \
 
325
              banner="$$failed of $$all tests failed"; \
 
326
            else \
 
327
              banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
 
328
            fi; \
 
329
          fi; \
 
330
          dashes="$$banner"; \
 
331
          skipped=""; \
 
332
          if test "$$skip" -ne 0; then \
 
333
            skipped="($$skip tests were not run)"; \
 
334
            test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
 
335
              dashes="$$skipped"; \
 
336
          fi; \
 
337
          report=""; \
 
338
          if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
 
339
            report="Please report to $(PACKAGE_BUGREPORT)"; \
 
340
            test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
 
341
              dashes="$$report"; \
 
342
          fi; \
 
343
          dashes=`echo "$$dashes" | sed s/./=/g`; \
 
344
          echo "$$dashes"; \
 
345
          echo "$$banner"; \
 
346
          test -z "$$skipped" || echo "$$skipped"; \
 
347
          test -z "$$report" || echo "$$report"; \
 
348
          echo "$$dashes"; \
 
349
          test "$$failed" -eq 0; \
 
350
        else :; fi
 
351
 
 
352
distdir: $(DISTFILES)
 
353
        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
 
354
        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
 
355
        list='$(DISTFILES)'; for file in $$list; do \
 
356
          case $$file in \
 
357
            $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
 
358
            $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
 
359
          esac; \
 
360
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
 
361
          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
 
362
          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
 
363
            dir="/$$dir"; \
 
364
            $(mkdir_p) "$(distdir)$$dir"; \
 
365
          else \
 
366
            dir=''; \
 
367
          fi; \
 
368
          if test -d $$d/$$file; then \
 
369
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
 
370
              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
 
371
            fi; \
 
372
            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
 
373
          else \
 
374
            test -f $(distdir)/$$file \
 
375
            || cp -p $$d/$$file $(distdir)/$$file \
 
376
            || exit 1; \
 
377
          fi; \
 
378
        done
 
379
check-am: all-am
 
380
        $(MAKE) $(AM_MAKEFLAGS) check-TESTS
 
381
check: check-am
 
382
all-am: Makefile
 
383
installdirs:
 
384
install: install-am
 
385
install-exec: install-exec-am
 
386
install-data: install-data-am
 
387
uninstall: uninstall-am
 
388
 
 
389
install-am: all-am
 
390
        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
 
391
 
 
392
installcheck: installcheck-am
 
393
install-strip:
 
394
        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
 
395
          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
 
396
          `test -z '$(STRIP)' || \
 
397
            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
 
398
mostlyclean-generic:
 
399
 
 
400
clean-generic:
 
401
        -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
 
402
 
 
403
distclean-generic:
 
404
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
405
 
 
406
maintainer-clean-generic:
 
407
        @echo "This command is intended for maintainers to use"
 
408
        @echo "it deletes files that may require special tools to rebuild."
 
409
clean: clean-am
 
410
 
 
411
clean-am: clean-generic clean-libtool mostlyclean-am
 
412
 
 
413
distclean: distclean-am
 
414
        -rm -f Makefile
 
415
distclean-am: clean-am distclean-generic distclean-libtool
 
416
 
 
417
dvi: dvi-am
 
418
 
 
419
dvi-am:
 
420
 
 
421
html: html-am
 
422
 
 
423
info: info-am
 
424
 
 
425
info-am:
 
426
 
 
427
install-data-am:
 
428
 
 
429
install-exec-am: install-exec-local
 
430
 
 
431
install-info: install-info-am
 
432
 
 
433
install-man:
 
434
 
 
435
installcheck-am:
 
436
 
 
437
maintainer-clean: maintainer-clean-am
 
438
        -rm -f Makefile
 
439
maintainer-clean-am: distclean-am maintainer-clean-generic
 
440
 
 
441
mostlyclean: mostlyclean-am
 
442
 
 
443
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
 
444
 
 
445
pdf: pdf-am
 
446
 
 
447
pdf-am:
 
448
 
 
449
ps: ps-am
 
450
 
 
451
ps-am:
 
452
 
 
453
uninstall-am: uninstall-info-am
 
454
 
 
455
.PHONY: all all-am check check-TESTS check-am clean clean-generic \
 
456
        clean-libtool distclean distclean-generic distclean-libtool \
 
457
        distdir dvi dvi-am html html-am info info-am install \
 
458
        install-am install-data install-data-am install-exec \
 
459
        install-exec-am install-exec-local install-info \
 
460
        install-info-am install-man install-strip installcheck \
 
461
        installcheck-am installdirs maintainer-clean \
 
462
        maintainer-clean-generic mostlyclean mostlyclean-generic \
 
463
        mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
 
464
        uninstall-info-am
 
465
 
 
466
 
 
467
all: OpenIPMI.so
 
468
 
 
469
OpenIPMI.so: $(OpenIPMI_OBJ)
 
470
        $(LIBTOOL) --mode=link $(CC) -shared -o $@ $^ $(OpenIPMI_LIB) \
 
471
                -R/$(libdir)
 
472
        rm OpenIPMI.so
 
473
        mv .libs/OpenIPMI.so .
 
474
        rm -rf .libs
 
475
 
 
476
OpenIPMI_wrap.o: OpenIPMI_wrap.c OpenIPMI.h
 
477
        $(COMPILE) -c $<
 
478
 
 
479
OpenIPMI_perl.o: OpenIPMI_perl.c OpenIPMI.h
 
480
        $(COMPILE) -c $<
 
481
 
 
482
OpenIPMI_wrap.c OpenIPMI.pm: $(top_srcdir)/swig/OpenIPMI.i OpenIPMI_lang.i
 
483
        $(SWIG) $(DEFS) -perl5 -o $@ -I$(top_srcdir)/swig/perl $<
 
484
 
 
485
install-exec-local: OpenIPMI.so OpenIPMI.pm
 
486
        $(INSTALL) -d $(DESTDIR)$(PERL_INSTALL_DIR)/auto/OpenIPMI
 
487
        $(INSTALL_PROGRAM) OpenIPMI.so $(DESTDIR)$(PERL_INSTALL_DIR)/auto/OpenIPMI
 
488
        $(INSTALL_PROGRAM) OpenIPMI.pm $(DESTDIR)$(PERL_INSTALL_DIR)
 
489
# Tell versions [3.59,3.63) of GNU make to not export all variables.
 
490
# Otherwise a system limit (for SysV at least) may be exceeded.
 
491
.NOEXPORT: