moved installPackages into vserver-build.functions.rpm
[util-vserver.git] / util-vserver / lib / Makefile-files
index 4205ecc..d1a82e3 100644 (file)
@@ -19,8 +19,8 @@
 
 lib_VERSION =                  0.0.0
 
-lib_compat_SRCS =              lib/flags-compat.c \
-                               lib/flags_list-compat.c
+lib_compat_SRCS =              lib/cflags-compat.c \
+                               lib/cflags_list-compat.c
 lib_legacy_SRCS =              lib/getprocentry-legacy.c
 lib_management_SRCS =          lib/createskeleton.c \
                                lib/getvserverbyctx.c \
@@ -31,12 +31,17 @@ lib_management_SRCS =               lib/createskeleton.c \
                                lib/getvservercfgdir.c \
                                lib/getvserverctx.c \
                                lib/getvservername.c \
-                               lib/getvservervdir.c
+                               lib/getvservervdir.c \
+                               lib/xidopt2xid.c
 lib_v11_SRCS =                 lib/syscall_rlimit.c \
                                lib/syscall_rlimit-v11.hc \
                                lib/syscall_kill.c  \
                                lib/syscall_kill-v11.hc
-lib_v13_SRCS =                 lib/syscall_enternamespace.c \
+lib_v13_SRCS =                 lib/syscall_ctxcreate.c \
+                               lib/syscall_ctxcreate-v13.hc \
+                               lib/syscall_ctxmigrate.c \
+                               lib/syscall_ctxmigrate-v13.hc \
+                               lib/syscall_enternamespace.c \
                                lib/syscall_enternamespace-v13.hc \
                                lib/syscall_setnamespace.c \
                                lib/syscall_setnamespace-v13.hc \
@@ -48,9 +53,13 @@ lib_v13_SRCS =                       lib/syscall_enternamespace.c \
                                lib/syscall_setiattr.c \
                                lib/syscall_setiattr-fscompat.hc \
                                lib/syscall_setiattr-v13.hc \
+                               lib/syscall_gettasknid.c \
+                               lib/syscall_gettasknid-net.hc \
                                lib/syscall_gettaskxid.c \
                                lib/syscall_gettaskxid-v13.hc \
                                lib/syscall_gettaskxid-oldproc.hc \
+                               lib/syscall_getnxinfo.c \
+                               lib/syscall_getnxinfo-net.hc \
                                lib/syscall_getvxinfo.c \
                                lib/syscall_getvxinfo-v13.hc \
                                lib/syscall_getvxinfo-oldproc.hc \
@@ -60,44 +69,61 @@ lib_v13_SRCS =                      lib/syscall_enternamespace.c \
                                lib/syscall_setvhiname.c \
                                lib/syscall_setvhiname-v13.hc \
                                lib/syscall_setvhiname-olduts.hc \
-                               lib/syscall_createcontext.c \
-                               lib/syscall_createcontext-v13.hc \
-                               lib/syscall_migratecontext.c \
-                               lib/syscall_migratecontext-v13.hc \
                                lib/syscall_getccaps.c \
                                lib/syscall_getccaps-v13.hc \
-                               lib/syscall_getflags.c \
-                               lib/syscall_getflags-v13.hc \
+                               lib/syscall_getcflags.c \
+                               lib/syscall_getcflags-v13.hc \
+                               lib/syscall_getncaps.c \
+                               lib/syscall_getncaps-net.hc \
+                               lib/syscall_getnflags.c \
+                               lib/syscall_getnflags-net.hc \
+                               lib/syscall_netadd-net.hc \
+                               lib/syscall_netadd.c \
+                               lib/syscall_netremove-net.hc \
+                               lib/syscall_netremove.c \
+                               lib/syscall_netcreate.c \
+                               lib/syscall_netcreate-net.hc \
+                               lib/syscall_netmigrate.c \
+                               lib/syscall_netmigrate-net.hc \
                                lib/syscall_setccaps.c \
                                lib/syscall_setccaps-v13.hc \
-                               lib/syscall_setflags.c \
-                               lib/syscall_setflags-v13.hc \
+                               lib/syscall_setcflags.c \
+                               lib/syscall_setcflags-v13.hc \
+                               lib/syscall_setncaps.c \
+                               lib/syscall_setncaps-net.hc \
+                               lib/syscall_setnflags.c \
+                               lib/syscall_setnflags-net.hc \
                                lib/syscall_setsched.c \
                                lib/syscall_setsched-v13.hc \
                                lib/bcaps-v13.c \
                                lib/bcaps_list-v13.c \
                                lib/ccaps-v13.c \
                                lib/ccaps_list-v13.c \
-                               lib/flags-v13.c \
-                               lib/flags_list-v13.c
+                               lib/cflags-v13.c \
+                               lib/cflags_list-v13.c \
+                               lib/ncaps-net.c \
+                               lib/ncaps_list-net.c \
+                               lib/nflags-net.c \
+                               lib/nflags_list-net.c
 
 PKGCONFIG_FILES =              lib/util-vserver
 
 lib_SRCS =                     lib/syscall.c \
                                lib/checkversion.c \
                                lib/isdirectory.c \
+                               lib/isfile.c \
+                               lib/islink.c \
                                lib/getnbipv4root.c \
                                lib/getversion.c \
-                               lib/fmt-32.c \
-                               lib/fmt-64.c \
-                               lib/fmtx-32.c \
-                               lib/fmtx-64.c \
                                lib/capabilities.c \
+                               lib/getfilecontext.c \
+                               lib/getinsecurebcaps.c \
                                lib/isdynamicxid.c \
                                lib/issupported.c \
                                lib/issupportedstring.c \
                                lib/listparser_uint32.c \
                                lib/listparser_uint64.c \
+                               lib/syscall-syscall.c \
                                lib/val2text-t2v-uint32.c \
                                lib/val2text-t2v-uint64.c \
                                lib/val2text-v2t-uint32.c \
@@ -107,7 +133,8 @@ lib_SRCS =                          lib/syscall.c \
                                $(lib_compat_SRCS) \
                                $(lib_management_SRCS) \
                                $(lib_v11_SRCS) \
-                               $(lib_v13_SRCS)
+                               $(lib_v13_SRCS) \
+                               $(ensc_fmt_SRCS)
 
 include_HEADERS +=             lib/vserver.h
 
@@ -115,6 +142,7 @@ noinst_HEADERS +=           lib/syscall-compat.hc \
                                lib/syscall-legacy.hc \
                                lib/createskeleton-full.hc \
                                lib/createskeleton-short.hc \
+                               lib/fmt.h \
                                lib/getversion-internal.hc \
                                lib/safechroot-internal.hc \
                                lib/ioctl-getext2flags.hc \
@@ -124,10 +152,6 @@ noinst_HEADERS +=          lib/syscall-compat.hc \
                                lib/ioctl-getxflg.hc \
                                lib/ioctl-setxflg.hc \
                                lib/ext2fs.h \
-                               lib/fmt.h \
-                               lib/fmt.hc \
-                               lib/fmtx.hc \
-                               lib/fmt-internal.h \
                                lib/listparser.hc \
                                lib/val2text.hc \
                                lib/virtual.h \
@@ -138,7 +162,7 @@ noinst_HEADERS +=           lib/syscall-compat.hc \
 lib_LTLIBRARIES +=             lib/libvserver.la
 
 lib_libvserver_la_SOURCES =    $(lib_SRCS)
-lib_libvserver_la_CPPFLAGS =   $(AM_CPPFLAGS) $(LIB_DEBUG_CPPFLAGS) -D_REENTRANT -D_GNU_SOURCE
+lib_libvserver_la_CPPFLAGS =   $(AM_CPPFLAGS) $(LIB_DEBUG_CPPFLAGS)
 lib_libvserver_la_LDFLAGS =    -version $(lib_VERSION)
 
 DIETPROGS +=                   lib/lib_libvserver_la-% \