]>
Commit | Line | Data |
---|---|---|
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 | ||
21 | ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} | |
22 | AM_MAKEFLAGS = --no-print-directory | |
23 | AUTOMAKE_OPTIONS = color-tests | |
24 | ||
25 | # remove target it the command fails | |
26 | .DELETE_ON_ERROR: | |
27 | ||
28 | # keep itermediate files | |
29 | .SECONDARY: | |
30 | ||
31 | CLEANFILES = | |
32 | DISTCLEANFILES = | |
33 | EXTRA_DIST = | |
34 | ||
35 | AM_CPPFLAGS = \ | |
36 | -include $(top_builddir)/config.h \ | |
37 | -I $(top_srcdir)/include \ | |
38 | $(OUR_CPPFLAGS) | |
39 | ||
40 | AM_CFLAGS = $(OUR_CFLAGS) | |
41 | AM_LDFLAGS = $(OUR_LDFLAGS) | |
42 | ||
43 | pkgpyexec_LTLIBRARIES = | |
44 | ||
45 | # ------------------------------------------------------------------------------ | |
46 | ||
47 | dist_doc_DATA = \ | |
48 | COPYING | |
49 | ||
50 | # ------------------------------------------------------------------------------ | |
51 | ||
52 | dist_bin_SCRIPTS = \ | |
53 | src/sendprofile | |
54 | ||
55 | # ------------------------------------------------------------------------------ | |
56 | ||
57 | fireinfo_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 | ||
66 | fireinfodir = $(pythondir)/fireinfo | |
67 | ||
68 | # ------------------------------------------------------------------------------ | |
69 | ||
70 | pkgpyexec_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) |