diff options
author | Jim Meyering <jim@meyering.net> | 2004-12-05 19:37:49 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-12-05 19:37:49 +0000 |
commit | 334c1b180105ebcbba3c1bb321bc9d9cadee31ed (patch) | |
tree | c62dedb9a9d6b1c3cc1cff301e875c2f43f21d96 | |
parent | ff13a286c7769664614d835c09653c83fcb1cb6c (diff) | |
download | coreutils-334c1b180105ebcbba3c1bb321bc9d9cadee31ed.tar.xz |
(unit-test): New target.
(check): Depend on it.
(noinst_PROGRAMS): Define.
-rw-r--r-- | lib/Makefile.am | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am index 2561311ef..90eea079d 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -18,6 +18,7 @@ ## 02111-1307, USA. noinst_LIBRARIES = libfetish.a +noinst_PROGRAMS = t-fpending AM_CPPFLAGS = -I.. -I$(srcdir) DEFS += -DLIBDIR=\"$(libdir)\" @@ -246,6 +247,11 @@ MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t BUILT_SOURCES += $(GETOPT_H) EXTRA_DIST += getopt_.h getopt_int.h +check: unit-test + +unit-test: + ./t-fpending > /dev/null + # We need the following in order to create an <getopt.h> when the system # doesn't have one that works with the given compiler. all-local $(lib_OBJECTS): $(GETOPT_H) |