diff options
author | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2006-06-10 01:27:06 +0000 |
---|---|---|
committer | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2006-06-10 01:27:06 +0000 |
commit | 7f6f90cfce51806340f25b80a87b147d8a743b27 (patch) | |
tree | f6c1449f36e22b68d56b9b1c879ed91e00faf6ab /Makefile.am | |
parent | e214cc19e1d599f16a69e86b1d8b247ad40a9ed7 (diff) |
Clean up existing Autest test program and use to provide simple (and very
incomplete) "make check" test case.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index e2de3c8..03bf6ac 100644 --- a/Makefile.am +++ b/Makefile.am @@ -29,16 +29,22 @@ xauinclude_HEADERS = include/X11/Xauth.h pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = xau.pc +check_PROGRAMS=Autest +TESTS=Autest + +Autest_SOURCES=Autest.c +Autest_LDADD=libXau.la + LIB_MAN_DIR_SUFFIX = $(LIB_MAN_DIR:@mandir@/man%=%) libmandir = $(LIB_MAN_DIR) libman_PRE = Xau.man BUILT_SOURCES = shadows.DONE -CLEANFILES = $(libman_DATA) +CLEANFILES = $(libman_DATA) $(BUILT_SOURCES) libman_DATA = $(libman_PRE:man=@LIB_MAN_SUFFIX@) \ $(Xau_shadows:=.@LIB_MAN_SUFFIX@) -EXTRA_DIST = xau.pc.in Autest.c $(libman_PRE) +EXTRA_DIST = xau.pc.in $(libman_PRE) Xau_shadows = \ XauFileName \ @@ -55,6 +61,7 @@ shadows.DONE: (for i in $(Xau_shadows:=.@LIB_MAN_SUFFIX@) ; do \ echo .so man$(LIB_MAN_DIR_SUFFIX)/Xau.$(LIB_MAN_SUFFIX) > $$i; \ done) + touch shadows.DONE XORGRELSTRING = @PACKAGE_STRING@ XORGMANNAME = X Version 11 |