- bump release number for vserver.py bugfix
[util-vserver.git] / lib_internal / Makefile-files
1 ## $Id: Makefile-files,v 1.18 2005/07/04 22:35:47 ensc Exp $  -*- makefile -*-
2
3 ## Copyright (C) 2003,2004 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
21 LIBINTERNAL_GLIBC =             lib_internal/libinternal-glibc.a
22 noinst_LIBRARIES +=             $(LIBINTERNAL_GLIBC)
23
24 if USE_DIETLIBC
25 LIBINTERNAL_DIET =              lib_internal/libinternal-diet.a
26 LIBINTERNAL =                   $(LIBINTERNAL_DIET)
27 noinst_LIBRARIES +=             $(LIBINTERNAL_DIET)
28 else
29 LIBINTERNAL_DIET =              lib-dietlibc-not-enabled-error.a
30 LIBINTERNAL =                   $(LIBINTERNAL_GLIBC)
31 endif
32
33
34 command_SRCS =                  lib_internal/command-appendparameter.c \
35                                 lib_internal/command-setparams.c \
36                                 lib_internal/command-exec.c\
37                                 lib_internal/command-free.c \
38                                 lib_internal/command-init.c \
39                                 lib_internal/command-reset.c \
40                                 lib_internal/command-wait.c \
41                                 lib_internal/command.h
42
43 if ENSC_HAVE_C99_COMPILER
44 filecfg_SRCS =                  lib_internal/filecfg.h \
45                                 lib_internal/filecfg-iteratemultiline.c \
46                                 lib_internal/filecfg-readentryflag.c \
47                                 lib_internal/filecfg-readentrystr.c \
48                                 lib_internal/matchlist-initbyvserver.c \
49                                 lib_internal/matchvserverinfo-init.c \
50                                 lib_internal/unify-copy.c
51 endif
52
53 noinst_HEADERS += \
54                                 lib_internal/coreassert.h \
55                                 lib_internal/errinfo.h \
56                                 lib_internal/jail.h \
57                                 lib_internal/matchlist.h \
58                                 lib_internal/pathinfo.h \
59                                 lib_internal/string.h \
60                                 lib_internal/sys_clone.h \
61                                 lib_internal/sys_personality.h \
62                                 lib_internal/unify.h \
63                                 lib_internal/util.h \
64                                 lib_internal/util-cast.h \
65                                 lib_internal/util-commonstrings.h \
66                                 lib_internal/util-debug.h \
67                                 lib_internal/util-declarecmd.h \
68                                 lib_internal/util-dimof.h \
69                                 lib_internal/util-dotfile.h \
70                                 lib_internal/util-exitlikeprocess.h \
71                                 lib_internal/util-io.h \
72                                 lib_internal/util-lockfile.h \
73                                 lib_internal/util-mem.h \
74                                 lib_internal/util-perror.h \
75                                 lib_internal/util-safechdir.h \
76                                 lib_internal/util-unixsock.h \
77                                 lib_internal/string.hc
78
79 lib_internal_libinternal_common_SRCS = \
80                                 lib_internal/errinfo-writeerrno.c \
81                                 lib_internal/jailintotempdir.c \
82                                 lib_internal/matchlist-appendfiles.c \
83                                 lib_internal/matchlist-compare.c \
84                                 lib_internal/matchlist-destroy.c \
85                                 lib_internal/matchlist-init.c \
86                                 lib_internal/matchlist-initmanually.c \
87                                 lib_internal/matchlist-initrefserverlist.c \
88                                 lib_internal/matchlist-printid.c \
89                                 lib_internal/matchvserverinfo-free.c \
90                                 lib_internal/pathinfo-append.c \
91                                 lib_internal/pathinfo-test.c \
92                                 lib_internal/switchtowatchxid.c \
93                                 lib_internal/unify-deunify.c \
94                                 lib_internal/unify-settime.c \
95                                 lib_internal/unify-unify.c \
96                                 lib_internal/unify-isiunlinkable.c \
97                                 lib_internal/util-canonify.c \
98                                 lib_internal/util-exitlikeprocess.c \
99                                 lib_internal/util-isnumber.c \
100                                 lib_internal/util-lockfile.c \
101                                 lib_internal/util-safechdir.c \
102                                 $(command_SRCS) \
103                                 $(filecfg_SRCS)
104
105 lib_internal_libinternal_diet_a_SOURCES =       \
106                                 $(lib_internal_libinternal_common_SRCS)
107
108 lib_internal_libinternal_glibc_a_SOURCES =      \
109                                 $(lib_internal_libinternal_common_SRCS)
110
111 lib_internal_libinternal_diet_a_CPPFLAGS =      $(AM_CPPFLAGS) $(LIB_DEBUG_CPPFLAGS)
112 lib_internal_libinternal_glibc_a_CPPFLAGS =     $(AM_CPPFLAGS) $(LIB_DEBUG_CPPFLAGS)
113
114 DIETPROGS +=                    lib_internal/libinternal-diet.a
115
116 CLEANFILES +=                   lib_internal/libinternal-diet.a \
117                                 lib_internal/libinternal-glibc.a
118
119 include $(top_srcdir)/lib_internal/testsuite/Makefile-files