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 \
50 src_sbin_PRGS_broken = src/vlimit
53 src_GENFILES = src/setattr
55 src_capchroot_SOURCES = src/capchroot.c
56 src_capchroot_LDADD = lib/libvserver.a
58 src_chbind_SOURCES = src/chbind.c
59 src_chbind_LDADD = lib/libvserver.a
61 src_chcontext_SOURCES = src/chcontext.c
62 src_chcontext_LDADD = lib/libvserver.a
64 src_fakerunlevel_SOURCES = src/fakerunlevel.c
65 src_filetime_SOURCES = src/filetime.c
66 src_ifspec_SOURCES = src/ifspec.c
67 src_listdevip_SOURCES = src/listdevip.c
68 src_parserpmdump_SOURCES = src/parserpmdump.c
69 src_readlink_SOURCES = src/readlink.c
71 src_rebootmgr_SOURCES = src/rebootmgr.c
72 src_rebootmgr_CPPFLAGS = $(AM_CPPFLAGS) -DSBINDIR=\"$(sbindir)\" -DVROOTDIR=\"$(vserverdir)\"
74 src_reducecap_SOURCES = src/reducecap.c
75 src_reducecap_LDADD = lib/libvserver.a
77 src_vlimit_SOURCES = src/vlimit.c
78 src_vlimit_LDADD = lib/libvserver.a
80 src_vkill_SOURCES = src/vkill.c
81 src_vkill_LDADD = lib/libvserver.a
82 src_vkill_CPPFLAGS = $(AM_CPPFLAGS) -DLEGACYDIR=\"$(legacydir)\"
84 src_vsh_SOURCES = src/vsh.c
85 src_vsh_LDADD = lib/libvserver.a
87 src_vdlimit_SOURCES = src/vdlimit.c
88 src_vdlimit_LDADD = lib/libvserver.a
90 src_showattr_SOURCES = src/showattr.c
91 src_showperm_SOURCES = src/showperm.c
92 src_vbuild_SOURCES = src/vbuild.cc src/vutil.cc
93 src_vdu_SOURCES = src/vdu.c
94 src_vfiles_SOURCES = src/vfiles.cc src/vutil.cc
95 src_vreboot_SOURCES = src/vreboot.c
97 src_vserver_stat_SOURCES = src/vserver-stat.c
98 src_vserver_stat_LDADD = lib/libvserver.a
100 src_vunify_SOURCES = src/vunify.cc src/vutil.cc
101 src_vunify_CPPFLAGS = $(AM_CPPFLAGS) -DVROOTDIR=\"$(vserverdir)\"
102 src_vcheck_SOURCES = src/vcheck.cc src/vutil.cc
104 #install-data-hook: $(DESTDIR)$(pkglibdir)/setattr
106 #$(DESTDIR)$(pkglibdir)/setattr:
107 # ln -s showattr '$@'
109 src/setattr$(EXEEXT): src/showattr$(EXEEXT)
111 ln -s showattr$(EXEEXT) '$@'
114 ## compile-command: "make -C .. -k"