summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStephen Torri <storri@users.sourceforge.net>2003-07-20 20:48:40 +0000
committerStephen Torri <storri@users.sourceforge.net>2003-07-20 20:48:40 +0000
commit95e6ebe3d3920ff73bf4fe75c8c6009aa0dae6df (patch)
tree1bbad2a168187b0f211386001b9083a13d6b899a /src
parent6d052952bb498a9c0330f69d9e5f50be38c6c4d0 (diff)
downloadxine-lib-95e6ebe3d3920ff73bf4fe75c8c6009aa0dae6df.tar.gz
xine-lib-95e6ebe3d3920ff73bf4fe75c8c6009aa0dae6df.tar.bz2
Changed assembly building code to take advantage of libtool. This command
now works for libtool-1.4.x and libtool-1.5. Changed the commands for building the assembly files in libw32dll to match that suggested by Chris Rankin <rankincj@yahoo.com>. CVS patchset: 5203 CVS date: 2003/07/20 20:48:40
Diffstat (limited to 'src')
-rw-r--r--src/libw32dll/wine/Makefile.am9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/libw32dll/wine/Makefile.am b/src/libw32dll/wine/Makefile.am
index a561ff2d1..47657123c 100644
--- a/src/libw32dll/wine/Makefile.am
+++ b/src/libw32dll/wine/Makefile.am
@@ -74,8 +74,9 @@ noinst_HEADERS = \
winuser.h \
wrapper.h
-stubs.lo: stubs.s
- $(CC) -c $(srcdir)/stubs.s -o stubs.lo
+%.lo: %.s
+ $(CCASCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+
+%.lo: %.S
+ $(CCASCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
-wrapper.lo: wrapper.S
- $(CC) -c $(srcdir)/wrapper.S -o wrapper.lo