minor optimizations
[util-vserver.git] / util-vserver / lib_internal / Makefile-files
1 ## $Id$  -*- 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 command_SRCS =                  lib_internal/command-appendparameter.c \
21                                 lib_internal/command-exec.c\
22                                 lib_internal/command-free.c \
23                                 lib_internal/command-init.c \
24                                 lib_internal/command-reset.c \
25                                 lib_internal/command-wait.c \
26                                 lib_internal/command.h
27
28 if ENSC_HAVE_C99_COMPILER
29 filecfg_SRCS =                  lib_internal/filecfg.h \
30                                 lib_internal/filecfg-readentryflag.c \
31                                 lib_internal/filecfg-readentrystr.c
32 endif
33
34 noinst_LIBRARIES +=             lib_internal/libinternal.a
35 noinst_HEADERS += \
36                                 lib_internal/coreassert.h \
37                                 lib_internal/errinfo.h \
38                                 lib_internal/jail.h \
39                                 lib_internal/matchlist.h \
40                                 lib_internal/pathinfo.h \
41                                 lib_internal/string.h \
42                                 lib_internal/unify.h \
43                                 lib_internal/util.h \
44                                 lib_internal/util-cast.h \
45                                 lib_internal/util-commonstrings.h \
46                                 lib_internal/util-debug.h \
47                                 lib_internal/util-declarecmd.h \
48                                 lib_internal/util-dimof.h \
49                                 lib_internal/util-dotfile.h \
50                                 lib_internal/util-exitlikeprocess.h \
51                                 lib_internal/util-io.h \
52                                 lib_internal/util-lockfile.h \
53                                 lib_internal/util-mem.h \
54                                 lib_internal/util-perror.h \
55                                 lib_internal/util-safechdir.h \
56                                 lib_internal/util-unixsock.h \
57                                 lib_internal/string.hc
58
59 lib_internal_libinternal_a_SOURCES = \
60                                 lib_internal/errinfo-writeerrno.c \
61                                 lib_internal/jailintotempdir.c \
62                                 lib_internal/matchlist-appendfiles.c \
63                                 lib_internal/matchlist-compare.c \
64                                 lib_internal/matchlist-destroy.c \
65                                 lib_internal/matchlist-init.c \
66                                 lib_internal/matchlist-initbyvserver.c \
67                                 lib_internal/matchlist-initmanually.c \
68                                 lib_internal/matchlist-initrefserverlist.c \
69                                 lib_internal/matchlist-printid.c \
70                                 lib_internal/pathinfo-append.c \
71                                 lib_internal/pathinfo-test.c \
72                                 lib_internal/string-destroy.c \
73                                 lib_internal/switchtowatchxid.c \
74                                 lib_internal/unify-copy.c \
75                                 lib_internal/unify-deunify.c \
76                                 lib_internal/unify-settime.c \
77                                 lib_internal/unify-unify.c \
78                                 lib_internal/util-canonify.c \
79                                 lib_internal/util-exitlikeprocess.c \
80                                 lib_internal/util-lockfile.c \
81                                 lib_internal/util-safechdir.c \
82                                 $(command_SRCS) \
83                                 $(filecfg_SRCS)
84
85 DIETPROGS +=                    lib_internal/libinternal.a
86
87
88 include $(top_srcdir)/lib_internal/testsuite/Makefile-files