1 ## $Id: Makefile-files,v 1.9 2005/07/03 09:12:31 ensc Exp $ --*- makefile -*--
3 ## Copyright (C) 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
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.
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.
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.
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
42 ENSC_VECTOR_HDRS = ensc_vector/vector.h \
43 ensc_vector/vector.hc \
48 libensc_vector_glibc_a_SOURCES = $(ENSC_VECTOR_SRCS)
49 libensc_vector_glibc_a_CPPFLAGS = $(AM_CPPFLAGS)
51 libensc_vector_diet_a_SOURCES = $(ENSC_VECTOR_SRCS)
52 libensc_vector_diet_a_CPPFLAGS = $(AM_CPPFLAGS)
57 LIBENSCVECTOR_GLIBC = libensc_vector-glibc.a
58 ENSC_VECTOR_LIBS += $(LIBENSCVECTOR_GLIBC)
60 LIBENSCVECTOR_GLIBC = lib-glibc-not-enabled-error.a
64 LIBENSCVECTOR_DIET = libensc_vector-diet.a
65 ENSC_VECTOR_LIBS += $(LIBENSCVECTOR_DIET)
67 LIBENSCVECTOR_DIET = lib-dietlibc-not-enabled-error.a
72 LIBENSCVECTOR = $(LIBENSCVECTOR_DIET)
73 else !ENSC_USE_DIETLIBC
75 LIBENSCVECTOR = $(LIBENSCVECTOR_GLIBC)
77 LIBENSCVECTOR = lib-nolib-enabled-error.a
79 endif !ENSC_USE_DIETLIBC
81 CLEANFILES += libensc_vector-diet.a \
82 libensc_vector-glibc.a
84 include $(srcdir)/ensc_vector/testsuite/Makefile-files