Don't use empty source files

When an empty _SOURCES variable is declared, automake will recognize that
only linking is needed.

Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
Tested-by: Jamey Sharp <jamey@minilop.net>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
Tested-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Dan Nicholson
2011-06-14 17:21:48 -07:00
parent 8ac651552b
commit 7d5c8a12cb
10 changed files with 8 additions and 36 deletions

View File

@@ -21,6 +21,7 @@ list_LDADD=$(TEST_LDADD)
misc_LDADD=$(TEST_LDADD)
fixes_LDADD=$(TEST_LDADD)
libxservertest_la_SOURCES =
libxservertest_la_LIBADD = \
$(XSERVER_LIBS) \
$(top_builddir)/hw/xfree86/loader/libloader.la \
@@ -39,8 +40,3 @@ libxservertest_la_LIBADD = \
@XORG_LIBS@
endif
endif
CLEANFILES=libxservertest.c
libxservertest.c:
touch $@