1
# Makefile.in generated by automake 1.9.6 from Makefile.am.
2
# swig/perl/Makefile. Generated from Makefile.in by configure.
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
19
pkgdatadir = $(datadir)/OpenIPMI
20
pkglibdir = $(libdir)/OpenIPMI
21
pkgincludedir = $(includedir)/OpenIPMI
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)
36
build_triplet = i486-pc-linux-gnu
37
host_triplet = i486-pc-linux-gnu
38
target_triplet = i486-pc-linux-gnu
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) \
46
mkinstalldirs = $(install_sh) -d
47
CONFIG_HEADER = $(top_builddir)/config.h
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
56
AMTAR = ${SHELL} /home/nk/debian/openipmi/openipmi-2.0.7/missing --run tar
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
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
67
CXX = i486-linux-gnu-g++
68
CXXCPP = i486-linux-gnu-g++ -E
69
CXXDEPMODE = depmode=gcc3
72
DEFS = -DHAVE_CONFIG_H
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
90
GLIB_LIB = $(top_builddir)/glib/libOpenIPMIglib.la
91
GLIB_LIBS = -pthread -lgthread-2.0 -lglib-2.0
92
GLIB_PKGCONF = OpenIPMIglib.pc
94
GLIB_TARGET = libOpenIPMIglib.la
97
INSTALL_DATA = ${INSTALL} -m 644
98
INSTALL_PROGRAM = ${INSTALL}
99
INSTALL_SCRIPT = ${INSTALL}
100
INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
104
LIBTOOL = $(SHELL) $(top_builddir)/libtool
107
MAKEINFO = ${SHELL} /home/nk/debian/openipmi/openipmi-2.0.7/missing --run makeinfo
110
OPENIPMI_VERSION_EXTRA =
111
OPENIPMI_VERSION_MAJOR = 2
112
OPENIPMI_VERSION_MINOR = 0
113
OPENIPMI_VERSION_RELEASE = 7
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
125
PERL_HAS_POSIX_THREADS = 1
126
PERL_INSTALL_DIR = ${prefix}/lib/perl/5.8
127
PERL_POSIX_LIB = $(top_builddir)/unix/libOpenIPMIpthread.la
129
PYTHON_CFLAGS = -I/usr/include/python2.4
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
152
am__fastdepCC_FALSE = #
154
am__fastdepCXX_FALSE = #
155
am__fastdepCXX_TRUE =
156
am__include = include
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
167
datadir = ${datarootdir}
168
datarootdir = ${prefix}/share
169
docdir = ${datarootdir}/doc/${PACKAGE}
171
exec_prefix = ${prefix}
172
glibprog = /usr/bin/glib-config
173
host = i486-pc-linux-gnu
174
host_alias = i486-linux-gnu
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
190
perlprog = /usr/bin/perl
191
pkgprog = /usr/bin/pkg-config
193
program_transform_name = s,x,x,
195
pythonprog = /usr/bin/python
196
sbindir = ${exec_prefix}/sbin
197
sharedstatedir = ${prefix}/com
199
sysconfdir = ${prefix}/etc
200
target = i486-pc-linux-gnu
203
target_os = linux-gnu
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 \
210
-I $(top_builddir)/include \
211
-I $(top_srcdir)/include \
212
-I $(top_srcdir)/swig/perl
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)
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
233
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
235
case '$(am__configure_deps)' in \
237
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
242
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu swig/perl/Makefile'; \
243
cd $(top_srcdir) && \
244
$(AUTOMAKE) --gnu swig/perl/Makefile
246
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
249
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
251
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
252
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
255
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
256
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
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
279
check-TESTS: $(TESTS)
280
@failed=0; all=0; xfail=0; xpass=0; skip=0; \
281
srcdir=$(srcdir); export srcdir; \
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 \
292
xpass=`expr $$xpass + 1`; \
293
failed=`expr $$failed + 1`; \
294
echo "XPASS: $$tst"; \
297
echo "PASS: $$tst"; \
300
elif test $$? -ne 77; then \
301
all=`expr $$all + 1`; \
302
case " $(XFAIL_TESTS) " in \
304
xfail=`expr $$xfail + 1`; \
305
echo "XFAIL: $$tst"; \
308
failed=`expr $$failed + 1`; \
309
echo "FAIL: $$tst"; \
313
skip=`expr $$skip + 1`; \
314
echo "SKIP: $$tst"; \
317
if test "$$failed" -eq 0; then \
318
if test "$$xfail" -eq 0; then \
319
banner="All $$all tests passed"; \
321
banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
324
if test "$$xpass" -eq 0; then \
325
banner="$$failed of $$all tests failed"; \
327
banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
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"; \
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` || \
343
dashes=`echo "$$dashes" | sed s/./=/g`; \
346
test -z "$$skipped" || echo "$$skipped"; \
347
test -z "$$report" || echo "$$report"; \
349
test "$$failed" -eq 0; \
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 \
357
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
358
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
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 \
364
$(mkdir_p) "$(distdir)$$dir"; \
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; \
372
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
374
test -f $(distdir)/$$file \
375
|| cp -p $$d/$$file $(distdir)/$$file \
380
$(MAKE) $(AM_MAKEFLAGS) check-TESTS
385
install-exec: install-exec-am
386
install-data: install-data-am
387
uninstall: uninstall-am
390
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
392
installcheck: installcheck-am
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
401
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
404
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
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."
411
clean-am: clean-generic clean-libtool mostlyclean-am
413
distclean: distclean-am
415
distclean-am: clean-am distclean-generic distclean-libtool
429
install-exec-am: install-exec-local
431
install-info: install-info-am
437
maintainer-clean: maintainer-clean-am
439
maintainer-clean-am: distclean-am maintainer-clean-generic
441
mostlyclean: mostlyclean-am
443
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
453
uninstall-am: uninstall-info-am
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 \
469
OpenIPMI.so: $(OpenIPMI_OBJ)
470
$(LIBTOOL) --mode=link $(CC) -shared -o $@ $^ $(OpenIPMI_LIB) \
473
mv .libs/OpenIPMI.so .
476
OpenIPMI_wrap.o: OpenIPMI_wrap.c OpenIPMI.h
479
OpenIPMI_perl.o: OpenIPMI_perl.c OpenIPMI.h
482
OpenIPMI_wrap.c OpenIPMI.pm: $(top_srcdir)/swig/OpenIPMI.i OpenIPMI_lang.i
483
$(SWIG) $(DEFS) -perl5 -o $@ -I$(top_srcdir)/swig/perl $<
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.