]> git.ipfire.org Git - oddments/fireinfo.git/blame - Makefile.am
virt: Fix off-by-one error when detecting hypervisor
[oddments/fireinfo.git] / Makefile.am
CommitLineData
77c01e52
MT
1###############################################################################
2# #
3# Pakfire - The IPFire package management system #
4# Copyright (C) 2013 Pakfire development team #
5# #
6# This program is free software: you can redistribute it and/or modify #
7# it under the terms of the GNU General Public License as published by #
8# the Free Software Foundation, either version 3 of the License, or #
9# (at your option) any later version. #
10# #
11# This program is distributed in the hope that it will be useful, #
12# but WITHOUT ANY WARRANTY; without even the implied warranty of #
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14# GNU General Public License for more details. #
15# #
16# You should have received a copy of the GNU General Public License #
17# along with this program. If not, see <http://www.gnu.org/licenses/>. #
18# #
19###############################################################################
20
21ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
22AM_MAKEFLAGS = --no-print-directory
23AUTOMAKE_OPTIONS = color-tests
24
25# remove target it the command fails
26.DELETE_ON_ERROR:
27
28# keep itermediate files
29.SECONDARY:
30
31CLEANFILES =
32DISTCLEANFILES =
33EXTRA_DIST =
34
35AM_CPPFLAGS = \
36 -include $(top_builddir)/config.h \
37 -I $(top_srcdir)/include \
38 $(OUR_CPPFLAGS)
39
40AM_CFLAGS = $(OUR_CFLAGS)
41AM_LDFLAGS = $(OUR_LDFLAGS)
42
43pkgpyexec_LTLIBRARIES =
44
45# ------------------------------------------------------------------------------
46
47dist_doc_DATA = \
48 COPYING
49
50# ------------------------------------------------------------------------------
51
52dist_bin_SCRIPTS = \
53 src/sendprofile
54
55# ------------------------------------------------------------------------------
56
57fireinfo_PYTHON = \
58 src/fireinfo/__init__.py \
59 src/fireinfo/bios.py \
60 src/fireinfo/cpu.py \
61 src/fireinfo/device.py \
62 src/fireinfo/hypervisor.py \
63 src/fireinfo/network.py \
64 src/fireinfo/system.py
65
66fireinfodir = $(pythondir)/fireinfo
67
68# ------------------------------------------------------------------------------
69
70pkgpyexec_LTLIBRARIES += \
71 _fireinfo.la
72
73_fireinfo_la_SOURCES = \
74 src/_fireinfo/fireinfo.c
75
76_fireinfo_la_CFLAGS = \
77 $(AM_CFLAGS) \
78 $(PYTHON_DEVEL_CFLAGS)
79
80_fireinfo_la_LDFLAGS = \
81 $(AM_LDFLAGS) \
82 -shared \
83 -module \
84 -avoid-version
85
86_fireinfo_la_LIBADD = \
87 $(PYTHON_DEVEL_LIBS)