From 7d5c8a12cbc295b3e33e1b60bd7330e2bc93a966 Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Tue, 14 Jun 2011 17:21:48 -0700 Subject: 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 Tested-by: Jamey Sharp Reviewed-by: Daniel Stone Tested-by: Peter Hutterer --- os/.gitignore | 2 -- os/Makefile.am | 6 +----- 2 files changed, 1 insertion(+), 7 deletions(-) delete mode 100644 os/.gitignore (limited to 'os') diff --git a/os/.gitignore b/os/.gitignore deleted file mode 100644 index 74b1d142c..000000000 --- a/os/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -# Add & Override for this directory and it's subdirectories -os.c diff --git a/os/Makefile.am b/os/Makefile.am index 91ca110f4..ef9ecddcf 100644 --- a/os/Makefile.am +++ b/os/Makefile.am @@ -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 -- cgit v1.2.3