From 47c72666f4aadfdadcd9afe7fc3530d16b5c9d67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Tue, 15 Jul 2008 20:38:17 +0000 Subject: [PATCH] Try to do depencies better. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23369 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/wind/Makefile.am | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/lib/wind/Makefile.am b/lib/wind/Makefile.am index 54ee5a063..0b24892c2 100644 --- a/lib/wind/Makefile.am +++ b/lib/wind/Makefile.am @@ -11,14 +11,17 @@ built = \ combining_table.h \ errorlist_table.c \ errorlist_table.h \ - punycode_examples.h \ - punycode_examples.c \ map_table.c \ map_table.h \ normalize_table.c \ normalize_table.h -MAINTAINERCLEANFILES = $(built) +built_tests = \ + punycode_examples.h \ + punycode_examples.c + + +MAINTAINERCLEANFILES = $(built) $(built_tests) code = \ bidi.c \ @@ -34,7 +37,7 @@ code = \ windlocl.h \ utf8.c -$(code): $(built) +$(code:.c=.lo): $(built) dist_libwind_la_SOURCES = $(code) $(built) @@ -76,6 +79,8 @@ test_punycode_SOURCES = \ punycode_examples.c \ punycode_examples.h +test-punycode.lo: $(built_tests) + bin_PROGRAMS = idn-lookup idn_lookup_SOURCES = idn-lookup.c