explicitly cast result of dlsym() to prevent compiler warnings
[util-vserver.git] / util-vserver / src / Makefile-files
1 ## $Id$  -*- makefile -*-
2
3 ## Copyright (C) 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
4 ##  
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)
8 ## any later version.
9 ##  
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.
14 ##  
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.
18 ##  
19
20 src_HDRS                =  src/vutil.h src/vutil.p src/util.h
21
22 src_pkglib_PRGS         =  src/capchroot \
23                            src/fakerunlevel \
24                            src/filetime \
25                            src/ifspec \
26                            src/listdevip \
27                            src/parserpmdump \
28                            src/readlink \
29                            src/showattr \
30                            src/showperm \
31                            src/vbuild \
32                            src/vcheck \
33                            src/vreboot \
34                            src/secure-mount \
35                            src/vunify \
36                            src/rpm-fake.so
37
38 src_sbin_PRGS           =  src/chbind \
39                            src/chcontext \
40                            src/rebootmgr \
41                            src/reducecap \
42                            src/setctxlimit \
43                            src/vdu \
44                            src/vfiles \
45                            src/new-namespace \
46                            src/vserver-stat
47
48 src_capchroot_SOURCES           =  src/capchroot.c
49 src_capchroot_LDADD             =  lib/libvserver.a
50
51 src_chbind_SOURCES              =  src/chbind.c
52 src_chbind_LDADD                =  lib/libvserver.a
53
54 src_chcontext_SOURCES           =  src/chcontext.c
55 src_chcontext_LDADD             =  lib/libvserver.a
56
57 src_fakerunlevel_SOURCES        =  src/fakerunlevel.c
58 src_filetime_SOURCES            =  src/filetime.c
59 src_ifspec_SOURCES              =  src/ifspec.c
60 src_listdevip_SOURCES           =  src/listdevip.c
61 src_parserpmdump_SOURCES        =  src/parserpmdump.c
62 src_readlink_SOURCES            =  src/readlink.c
63 src_rebootmgr_SOURCES           =  src/rebootmgr.c
64
65 src_reducecap_SOURCES           =  src/reducecap.c
66 src_reducecap_LDADD             =  lib/libvserver.a
67
68 src_setctxlimit_SOURCES         =  src/setctxlimit.c
69 src_setctxlimit_LDADD           =  lib/libvserver.a
70
71 src_showattr_SOURCES            =  src/showattr.c
72 src_showperm_SOURCES            =  src/showperm.c
73 src_vbuild_SOURCES              =  src/vbuild.cc src/vutil.cc
74 src_vdu_SOURCES                 =  src/vdu.c
75 src_vfiles_SOURCES              =  src/vfiles.cc src/vutil.cc
76 src_vreboot_SOURCES             =  src/vreboot.c
77 src_new_namespace_SOURCES       =  src/new-namespace.c
78 src_secure_mount_SOURCES        =  src/secure-mount.c
79
80 src_rpm_fake_so_SOURCES         =  src/rpm-fake.c
81 src_rpm_fake_so_LDFLAGS         =  -fpic -ldl -shared
82
83 src_vserver_stat_SOURCES        =  src/vserver-stat.c
84 src_vserver_stat_LDADD          =  lib/libvserver.a
85
86 src_vunify_SOURCES              =  src/vunify.cc src/vutil.cc
87 src_vcheck_SOURCES              =  src/vcheck.cc src/vutil.cc
88
89 if USE_DIETLIBC
90 src/new-namespace$(EXEEXT) src/new-namespace$(OBJEXT)   \
91 src/secure-mount$(EXEEXT)  src/secure-mount$(OBJEXT)    \
92                 :               CC=$(DIET_CC)
93 endif
94
95 ## Local Variables:
96 ## compile-command: "make -C .. -k"
97 ## End: