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
commit 7d5c8a12cb
10 changed files with 8 additions and 36 deletions

2
os/.gitignore vendored
View file

@ -1,2 +0,0 @@
# Add & Override for this directory and it's subdirectories
os.c

View file

@ -51,11 +51,7 @@ dtrace.o: $(top_srcdir)/dix/Xserver.d $(am_libos_la_OBJECTS)
noinst_PROGRAMS = os.O
os_O_SOURCES =
os.O: dtrace.o $(am_libos_la_OBJECTS)
$(AM_V_GEN)ld -r -o $@ dtrace.o .libs/*.o
endif
os.c:
touch $@
CLEANFILES = os.c