X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2FMakefile-files;h=075c82c733d6440e5cfedf31e6d8839783d5aca4;hb=c5e2e59faa68ac5a677bf5c8c8d193fff9cf62f4;hp=28ea6ab428e6436ae920fd162e84545bd29c6a85;hpb=c6b3f09b232307f6aa791fb44deb2937d0578a12;p=util-vserver.git diff --git a/lib/Makefile-files b/lib/Makefile-files index 28ea6ab..075c82c 100644 --- a/lib/Makefile-files +++ b/lib/Makefile-files @@ -157,7 +157,12 @@ lib_v23_SRCS = lib/syscall_tagmigrate-v23.hc \ lib/syscall_getbadness.c \ lib/syscall_getbadness-v23.hc \ lib/syscall_setbadness.c \ - lib/syscall_setbadness-v23.hc + lib/syscall_setbadness-v23.hc \ + lib/syscall_getspacedefault.c \ + lib/syscall_getspacedefault-v23.hc \ + lib/syscall_setnamespace-v23.hc \ + lib/syscall_enternamespace-v23.hc \ + lib/syscall_getspacemask-v23.hc if ENSC_HAVE_C99_COMPILER lib_v13_SRCS += lib/syscall_adddlimit-v13.hc \ @@ -250,6 +255,10 @@ endif lib_libvserver_la_SOURCES = $(lib_SRCS) lib_libvserver_la_CPPFLAGS = $(AM_CPPFLAGS) $(LIB_DEBUG_CPPFLAGS) lib_libvserver_la_LDFLAGS = -version $(lib_VERSION) +if HAVE_VERSIONING +lib_libvserver_la_LDFLAGS += -Wl,-version-script=$(top_srcdir)/lib/libvserver.ver +EXTRA_DIST += lib/libvserver.ver +endif lib_libvserver_a_SOURCES = $(lib_SRCS) lib_libvserver_a_CPPFLAGS = $(AM_CPPFLAGS) $(LIB_DEBUG_CPPFLAGS)