X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=support%2Fcpp2%2FMakefile.in;h=7657f242b15b16fb8ba9d14fac182b56032ad09f;hb=fb98e09830d3c1fbb895362666055929bebc5cac;hp=0a618a9ac78ed5aa3a00af4971feb2762f6f3622;hpb=ab52a5db3b9d838c0026fb96790786bb96bb28e7;p=fw%2Fsdcc diff --git a/support/cpp2/Makefile.in b/support/cpp2/Makefile.in index 0a618a9a..7657f242 100644 --- a/support/cpp2/Makefile.in +++ b/support/cpp2/Makefile.in @@ -23,7 +23,7 @@ #Boston MA 02111-1307, USA. PRJDIR = ../.. -TARGET = $(PRJDIR)/bin/sdcpp2 +TARGET = $(PRJDIR)/bin/sdcpp # This is the default target. all: $(TARGET) @@ -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,9 @@ OBSTACK=obstack.o # End of variables for you to override. install: all - $(INSTALL) -s $(TARGET) $(bindir)/sdcpp + mkdir -p $(bindir) + $(INSTALL) $(TARGET) `echo $(bindir)/sdcpp|sed '$(transform)'` + $(STRIP) `echo $(bindir)/sdcpp|sed '$(transform)'` clean: -rm -f $(TARGET) *.o core libcpp.a