-
Notifications
You must be signed in to change notification settings - Fork 5
/
Makefile.am
46 lines (34 loc) · 1.65 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
RPM = rpmbuild
RPMFLAGS = -ta
SUBDIRS = include utils lib unix $(GLIB_DIR) $(TCL_DIR) cmdlang \
ui lanserv sample doc man $(SWIG_DIR)
DIST_SUBDIRS = include utils lib unix glib tcl cmdlang \
ui lanserv sample doc man swig
EXTRA_DIST = FAQ TODO README.Force README.MotorolaMXP OpenIPMI.spec.in \
OpenIPMI.spec ipmi.init ipmi.sysconf COPYING.BSD \
CONFIGURING_FOR_LAN
PKGCONFIGS = OpenIPMIutils.pc OpenIPMI.pc OpenIPMIui.pc OpenIPMIposix.pc \
OpenIPMIpthread.pc OpenIPMIcmdlang.pc $(GLIB_PKGCONF) \
$(GLIB12_PKGCONF) $(TCL_PKGCONF)
ACLOCAL_AMFLAGS = -I m4
install-data-local: $(PKGCONFIGS)
$(mkinstalldirs) $(DESTDIR)$(libdir)/pkgconfig
$(INSTALL_DATA) $(PKGCONFIGS) $(DESTDIR)$(libdir)/pkgconfig
uninstall-local:
for i in $(PKGCONFIGS); do \
rm -f $(DESTDIR)$(libdir)/pkgconfig/$$i; \
done
rpm: dist
$(RPM) $(RPMFLAGS) $(distdir).tar.gz < /dev/null
PYPATH=$(top_builddir)/swig/python:$(top_builddir)/swig/python/.libs
rungui:
LD_LIBRARY_PATH=$(top_builddir)/glib/.libs LD_PRELOAD=$(OPENIPMI_SWIG_SO):$(top_builddir)/swig/python/.libs/_OpenIPMI.so PYTHONPATH=$(PYPATH) $(PYTHON) $(top_srcdir)/swig/python/openipmigui.py
DISTCLEANFILES=OpenIPMI.spec OpenIPMIcmdlang.pc OpenIPMI.pc OpenIPMItcl.pc \
OpenIPMIglib12.pc OpenIPMIposix.pc OpenIPMIui.pc OpenIPMIglib.pc \
OpenIPMIpthread.pc OpenIPMIutils.pc
# Set distcheck up so perl/python files get installed someplace that will
# work.
AM_DISTCHECK_CONFIGURE_FLAGS = \
--with-pythoninstall=$(abs_top_builddir)/$(distdir)/_inst/lib/python \
--with-pythoninstalllib=$(abs_top_builddir)/$(distdir)/_inst/lib/python\
--with-perlinstall=$(abs_top_builddir)/$(distdir)/_inst/lib/perl