1 ## $Id: Makefile-files,v 1.1.4.8 2004/02/09 23:18:59 ensc Exp $ -*- makefile -*-
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 src_HDRS = src/vutil.h src/vutil.p \
23 src_pkglib_SCRPTS = src/setattr
24 src_pkglib_PRGS = src/capchroot \
38 src_sbin_PRGS = src/chbind \
48 src_GENFILES = src/setattr
50 src_capchroot_SOURCES = src/capchroot.c
51 src_capchroot_LDADD = lib/libvserver.a
53 src_chbind_SOURCES = src/chbind.c
54 src_chbind_LDADD = lib/libvserver.a
56 src_chcontext_SOURCES = src/chcontext.c
57 src_chcontext_LDADD = lib/libvserver.a
59 src_fakerunlevel_SOURCES = src/fakerunlevel.c
60 src_filetime_SOURCES = src/filetime.c
61 src_ifspec_SOURCES = src/ifspec.c
62 src_listdevip_SOURCES = src/listdevip.c
63 src_parserpmdump_SOURCES = src/parserpmdump.c
64 src_readlink_SOURCES = src/readlink.c
66 src_rebootmgr_SOURCES = src/rebootmgr.c
67 src_rebootmgr_CPPFLAGS = $(AM_CPPFLAGS) -DSBINDIR=\"$(sbindir)\" -DVROOTDIR=\"$(vserverdir)\"
69 src_reducecap_SOURCES = src/reducecap.c
70 src_reducecap_LDADD = lib/libvserver.a
72 src_vlimit_SOURCES = src/vlimit.c
73 src_vlimit_LDADD = lib/libvserver.a
75 src_vkill_SOURCES = src/vkill.c
76 src_vkill_LDADD = lib/libvserver.a
77 src_vkill_CPPFLAGS = $(AM_CPPFLAGS) -DLEGACYDIR=\"$(legacydir)\"
79 src_showattr_SOURCES = src/showattr.c
80 src_showperm_SOURCES = src/showperm.c
81 src_vbuild_SOURCES = src/vbuild.cc src/vutil.cc
82 src_vdu_SOURCES = src/vdu.c
83 src_vfiles_SOURCES = src/vfiles.cc src/vutil.cc
84 src_vreboot_SOURCES = src/vreboot.c
86 src_vserver_stat_SOURCES = src/vserver-stat.c
87 src_vserver_stat_LDADD = lib/libvserver.a
89 src_vunify_SOURCES = src/vunify.cc src/vutil.cc
90 src_vunify_CPPFLAGS = $(AM_CPPFLAGS) -DVROOTDIR=\"$(vserverdir)\"
91 src_vcheck_SOURCES = src/vcheck.cc src/vutil.cc
93 #install-data-hook: $(DESTDIR)$(pkglibdir)/setattr
95 #$(DESTDIR)$(pkglibdir)/setattr:
98 src/setattr$(EXEEXT): src/showattr$(EXEEXT)
100 ln -s showattr$(EXEEXT) '$@'
103 ## compile-command: "make -C .. -k"