vshost-util-vserver

Build script and sources for util-vserver.
git clone https://ccx.te2000.cz/git/vshost-util-vserver
Log | Files | Refs

Makefile-files (2662B)


      1 ## $Id$		--*- makefile -*--
      2 
      3 ## Copyright (C) 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; version 2 of the License.
      8 ##  
      9 ## This program is distributed in the hope that it will be useful,
     10 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
     11 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     12 ## GNU General Public License for more details.
     13 ##  
     14 ## You should have received a copy of the GNU General Public License
     15 ## along with this program; if not, write to the Free Software
     16 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
     17 
     18 ENSC_VECTOR_SRCS =		ensc_vector/vector-clear.c \
     19 				ensc_vector/vector-foreach.c \
     20 				ensc_vector/vector-free.c \
     21 				ensc_vector/vector-init.c \
     22 				ensc_vector/vector-insert.c \
     23 				ensc_vector/vector-internal.h \
     24 				ensc_vector/vector-popback.c \
     25 				ensc_vector/vector-pushback.c \
     26 				ensc_vector/vector-resize.c \
     27 				ensc_vector/vector-resizeinternal.hc \
     28 				ensc_vector/vector-search.c \
     29 				ensc_vector/vector-searchselforg.c \
     30 				ensc_vector/vector-sort.c \
     31 				ensc_vector/vector-unique.c \
     32 				ensc_vector/vector-zeroend.c \
     33 				ensc_vector/list-at.c \
     34 				ensc_vector/list-add.c \
     35 				ensc_vector/list-free.c \
     36 				ensc_vector/list-init.c \
     37 				ensc_vector/list-insertinternal.c \
     38 				ensc_vector/list-internal.h \
     39 				ensc_vector/list-search.c \
     40 				ensc_vector/list-searchselforg.c
     41 
     42 ENSC_VECTOR_HDRS =		ensc_vector/vector.h \
     43 				ensc_vector/vector.hc \
     44 				ensc_vector/list.h \
     45 				ensc_vector/list.hc
     46 
     47 
     48 libensc_vector_glibc_a_SOURCES =	$(ENSC_VECTOR_SRCS)
     49 libensc_vector_glibc_a_CPPFLAGS =	$(AM_CPPFLAGS)
     50 
     51 libensc_vector_diet_a_SOURCES =		$(ENSC_VECTOR_SRCS)
     52 libensc_vector_diet_a_CPPFLAGS =	$(AM_CPPFLAGS)
     53 
     54 ENSC_VECTOR_LIBS =
     55 
     56 if ENSC_USE_GLIBC
     57 LIBENSCVECTOR_GLIBC =		libensc_vector-glibc.a
     58 ENSC_VECTOR_LIBS +=		$(LIBENSCVECTOR_GLIBC)
     59 else
     60 LIBENSCVECTOR_GLIBC =		lib-glibc-not-enabled-error.a
     61 endif
     62 
     63 if ENSC_USE_DIETLIBC
     64 LIBENSCVECTOR_DIET =		libensc_vector-diet.a
     65 ENSC_VECTOR_LIBS +=		$(LIBENSCVECTOR_DIET)
     66 else
     67 LIBENSCVECTOR_DIET =		lib-dietlibc-not-enabled-error.a
     68 endif
     69 
     70 
     71 if 	ENSC_USE_DIETLIBC
     72 LIBENSCVECTOR =			$(LIBENSCVECTOR_DIET)
     73 else	!ENSC_USE_DIETLIBC
     74 if	ENSC_USE_GLIBC
     75 LIBENSCVECTOR =			$(LIBENSCVECTOR_GLIBC)
     76 else	!ENSC_USE_GLIBC
     77 LIBENSCVECTOR =			lib-nolib-enabled-error.a
     78 endif	!ENSC_USE_GLIBC
     79 endif	!ENSC_USE_DIETLIBC
     80 
     81 CLEANFILES +=			libensc_vector-diet.a \
     82 				libensc_vector-glibc.a
     83 
     84 include $(srcdir)/ensc_vector/testsuite/Makefile-files