(LDADD): Restore this line; it is still needed for
[platform/upstream/coreutils.git] / lib / Makefile.am
1 ## Makefile for gnulib/lib                              -*-Makefile-*-
2
3 # Copyright (C) 1995-2006 Free Software Foundation, Inc.
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; either version 2, or (at your option)
8 ## any later version.
9
10 ## This program is distributed in the hope that it will be useful,
11 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 ## GNU General Public License for more details.
14
15 ## You should have received a copy of the GNU General Public License
16 ## along with this program; if not, write to the Free Software
17 ## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
18 ## 02110-1301, USA.
19
20 include gnulib.mk
21
22 AM_CPPFLAGS += -I..
23 AM_CFLAGS = $(WARNING_CFLAGS) $(WERROR_CFLAGS)
24
25 noinst_PROGRAMS = t-fpending
26 LDADD = $(noinst_LIBRARIES)
27
28 libcoreutils_a_SOURCES += \
29   buffer-lcm.c buffer-lcm.h \
30   xmemcoll.c xmemcoll.h \
31   xmemxfrm.c xmemxfrm.h
32
33 check: unit-test
34
35 .PHONY: unit-test
36 unit-test: t-fpending
37         ./t-fpending > /dev/null