3 # Copyright (C) 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2, or (at your option)
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20 ACLOCAL_AMFLAGS = -I m4
22 sysvdir = $(sysconfdir)/init.d
23 vservercfgdir = $(sysconfdir)/vservers
25 include_HEADERS = $(lib_HDRS)
26 noinst_HEADERS = $(src_HDRS) $(lib_XHDRS) compat.h
28 lib_LIBRARIES = $(lib_lib_LIBS)
30 pkglib_SCRIPTS = $(distrib_SCRPTS) $(scripts_SCRPTS) $(src_pkglib_SCRPTS)
31 pkglib_DATA = $(distrib_DAT) $(scriptscfg_DATA)
32 pkglib_PROGRAMS = $(src_pkglib_PRGS)
34 sbin_SCRIPTS = $(scripts_PRGS)
35 sbin_PROGRAMS = $(src_sbin_PRGS)
36 noinst_PROGRAMS = $(test_PRGS)
38 sysv_SCRIPTS = $(sysv_SCRPTS)
39 sysconf_DATA = $(sysv_CFG)
40 vservercfg_DATA = newvserver.defaults
42 BUILT_SOURCES = linuxcaps.h linuxvirtual.h
44 man_MANS = $(man_DATMAN)
46 EXTRA_DIST = $(distrib_SCRPTS) $(distrib_DAT) \
47 $(sysv_XTRAS) $(sysv_CFG) \
48 $(doc_DAT) $(man_DATMAN) \
49 $(scripts_SCRPTS) $(scripts_XTRAS) \
50 vserver.spec newvserver.defaults \
54 AM_CPPFLAGS = -I $(top_srcdir)/lib -D VERSION=\"$(VERSION)\" -D PKGLIBDIR=\"$(pkglibdir)\" -D _GNU_SOURCE
55 AM_CFLAGS = -Wall -pedantic
57 CLEANFILES = $(sysv_GENSCRPTS) $(scripts_GENSCRPTS) \
62 ln -sf ${kernelincludedir}/linux/capability.h linuxcaps.h
65 ln -sf '$(kernelincludedir)/linux/virtual.h' '$@' && test -e '$@' || \
66 ln -sf '$(top_srcdir)/lib/virtual.h' '$@'
68 include $(top_srcdir)/lib/Makefile-files
69 include $(top_srcdir)/src/Makefile-files
70 include $(top_srcdir)/distrib/Makefile-files
71 include $(top_srcdir)/doc/Makefile-files
72 include $(top_srcdir)/man/Makefile-files
73 include $(top_srcdir)/scripts/Makefile-files
74 include $(top_srcdir)/tests/Makefile-files
75 include $(top_srcdir)/sysv/Makefile-files
77 include $(top_srcdir)/m4/gpgsig.am
78 include $(top_srcdir)/m4/validate.am
79 include $(top_srcdir)/m4/changelog.am