debrix/hw/xorg/os-support Makefile.am,1.3,1.4

Daniel Stone <xserver-commit-u7BhqnqprCWvj1b/[email protected]>
Newsgroups gmane.comp.freedesktop.xserver.cvs
Message-ID <[email protected]>
Committed by: daniel

Update of /cvs/xserver/debrix/hw/xorg/os-support
In directory pdx:/home/daniel/x/debrix/debrix/hw/xorg/os-support

Modified Files:
	Makefile.am 
Log Message:
Attempt #4 at parallelisation: shift the problem into automake's domain.


Index: Makefile.am
===================================================================
RCS file: /cvs/xserver/debrix/hw/xorg/os-support/Makefile.am,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- Makefile.am	12 Jun 2004 18:21:57 -0000	1.3
+++ Makefile.am	13 Jun 2004 03:01:00 -0000	1.4
@@ -1,14 +1,12 @@
 SUBDIRS = bus @XORG_OS_SUBDIR@
 
-OS_TARGET = $(XORG_OS_SUBDIR)/lib$(XORG_OS_SUBDIR).a
-
-DISTCLEANFILES = libos.a
-
-all: libos.a
+DISTCLEANFILES = dummy.c
+dummy.c:
+	touch $@
 
-# needed for recursion -d
-libos.a: @XORG_OS_SUBDIR@/lib-SJ/[email protected]@.a
-	ln -s $(OS_TARGET) $@
+noinst_LIBRARIES = libos.a
+libos_a_SOURCES = dummy.c
+libos_a_LIBADD = @XORG_OS_SUBDIR@/lib-SJ/[email protected]@.a
 
 sdk_HEADERS = xf86_OSproc.h xf86_OSlib.h xf86_ansic.h xf86_libc.h xf86drm.h \
               xf86drmCompat.h assyntax.h xf86OSmouse.h xf86OSKbd.h
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.