diff Makefile.in @ 1390:67781f790694

Added DESTDIR support
author Sam Lantinga <slouken@libsdl.org>
date Mon, 20 Feb 2006 11:49:16 +0000
parents 9a9b87172b4b
children 7dc446173e37
line wrap: on
line diff
--- a/Makefile.in	Mon Feb 20 11:30:29 2006 +0000
+++ b/Makefile.in	Mon Feb 20 11:49:16 2006 +0000
@@ -6,11 +6,11 @@
 depend	= build-deps
 prefix = @prefix@
 exec_prefix = @exec_prefix@
-bindir	= @bindir@
-libdir  = @libdir@
-includedir = @includedir@
-datadir	= @datadir@
-mandir	= @mandir@
+bindir	= $(DESTDIR)@bindir@
+libdir  = $(DESTDIR)@libdir@
+includedir = $(DESTDIR)@includedir@
+datadir	= $(DESTDIR)@datadir@
+mandir	= $(DESTDIR)@mandir@
 distpath = $(srcdir)/..
 distdir = SDL-@SDL_VERSION@
 distfile = $(distdir).tar.gz
@@ -34,7 +34,7 @@
 BUILDC	= $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c `echo $? | sed 's| .*||'`  -o $@
 BUILDCC	= $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c `echo $? | sed 's| .*||'`  -o $@
 BUILDM	= $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c `echo $? | sed 's| .*||'`  -o $@
-BUILDASM = $(LIBTOOL) --tag=CC --mode=compile @ac_aux_dir@/strip_fPIC.sh $(NASM) $? -o $@
+BUILDASM = $(LIBTOOL) --tag=CC --mode=compile @ac_aux_dir@/strip_fPIC.sh $(NASM) `echo $? | sed 's| .*||'` -o $@
 
 LT_AGE      = @LT_AGE@
 LT_CURRENT  = @LT_CURRENT@