## $Id$ -*- makefile -*- ## Copyright (C) 2003 Enrico Scholz ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2, or (at your option) ## any later version. ## ## This program is distributed in the hope that it will be useful, ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with this program; if not, write to the Free Software ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ## lib_legacy_SRCS = lib/getprocentry-legacy.c lib_management_SRCS = lib/getvservername.c \ lib/getvservercfgstyle.c \ lib/getvservervdir.c lib_v11_SRCS = lib/syscall_rlimit.c PKGCONFIG_FILES = lib/util-vserver lib_SRCS = lib/syscall.c \ lib/checkversion.c \ lib/getctx.c \ lib/getinitpid.c \ lib/getversion.c \ lib/fmt-32.c \ lib/fmt-64.c \ lib/capabilities.c \ $(lib_legacy_SRCS) \ $(lib_management_SRCS) \ $(lib_v11_SRCS) lib_HDRS = lib/vserver.h lib_XHDRS = lib/syscall-compat.hc \ lib/syscall-legacy.hc \ lib/syscall_rlimit-v11.hc \ lib/getctx-compat.hc \ lib/getctx-legacy.hc \ lib/getinitpid-compat.hc \ lib/getinitpid-legacy.hc \ lib/getversion-internal.hc \ lib/safechroot-internal.hc \ lib/fmt.hc \ lib/fmt.h \ lib/virtual.h \ lib/internal.h \ lib/utils-legacy.h \ lib/vserver-internal.h lib_lib_LIBS = lib/libvserver.a lib_lib_LTLIBS = lib/libvserver.la #lib_libvserver_la_SOURCES = $(lib_SRCS) lib_libvserver_a_SOURCES = $(lib_SRCS) lib_libvserver_a_CPPFLAGS = $(AM_CPPFLAGS) $(LIB_DEBUG_CPPFLAGS) -I$(kernelincludedir) -D_REENTRANT -D_GNU_SOURCE # _REENTRANT is needed for dietlibc to use __error_location if USE_DIETLIBC lib/lib_libvserver_a-%$(EXEEXT) lib/lib_libvserver_a-%$(OBJEXT) \ lib/libvserver.a \ : CC=$(DIET_CC) endif