Fixed up naming on sdcpp
authormichaelh <michaelh@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Wed, 11 Jul 2001 03:18:50 +0000 (03:18 +0000)
committermichaelh <michaelh@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Wed, 11 Jul 2001 03:18:50 +0000 (03:18 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1055 4a8a32a2-be11-0410-ad9d-d568d2c75423

support/cpp2/Makefile.in

index 0a618a9ac78ed5aa3a00af4971feb2762f6f3622..94f125e08a0f6bce2dd15989a089c8f5a1517bec 100644 (file)
@@ -43,6 +43,7 @@ AR = ar
 AR_FLAGS = rc
 RANLIB = @RANLIB@
 SHELL = /bin/sh
+STRIP = @STRIP@
 # on sysV, define this as cp.
 INSTALL = @INSTALL@
 # Some systems may be missing symbolic links, regular links, or both.
@@ -86,6 +87,8 @@ includedir = $(local_prefix)/include
 # where the info files go
 exeext = @host_exeext@
 
+transform       = @program_transform_name@
+
 # Top build directory, relative to here.
 top_builddir = .
 
@@ -102,7 +105,8 @@ OBSTACK=obstack.o
 # End of variables for you to override.
 
 install: all
-       $(INSTALL) -s $(TARGET) $(bindir)/sdcpp
+       $(INSTALL) $(TARGET) `echo $(bindir)/sdcpp|sed '$(transform)'`
+       $(STRIP) -s `echo $(bindir)/sdcpp|sed '$(transform)'`
 
 clean:
        -rm -f $(TARGET) *.o core libcpp.a