diff options
author | Dan Nicholson <dbn.lists@gmail.com> | 2011-06-14 17:21:48 -0700 |
---|---|---|
committer | Dan Nicholson <dbn.lists@gmail.com> | 2011-06-23 05:28:31 -0700 |
commit | 7d5c8a12cbc295b3e33e1b60bd7330e2bc93a966 (patch) | |
tree | 3e2ff5e65ff096ccc892c04ad431dd34285192b3 /os | |
parent | 8ac651552bb70ba36238f430adab2f7a7f24db6e (diff) |
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>
Diffstat (limited to 'os')
-rw-r--r-- | os/.gitignore | 2 | ||||
-rw-r--r-- | os/Makefile.am | 6 |
2 files changed, 1 insertions, 7 deletions
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 |