Tizen 2.0 Release
[external/tizen-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_CFLAGS = $(WARNING_CFLAGS) $(WERROR_CFLAGS)
23
24 noinst_PROGRAMS = t-fpending
25 LDADD = $(noinst_LIBRARIES)
26
27 libcoreutils_a_SOURCES += \
28   buffer-lcm.c buffer-lcm.h \
29   xmemxfrm.c xmemxfrm.h
30
31 libcoreutils_a_LIBADD += $(LIBOBJS)
32 libcoreutils_a_DEPENDENCIES += $(LIBOBJS)
33
34 check: unit-test
35
36 .PHONY: unit-test
37 unit-test: t-fpending
38         ./t-fpending > /dev/null