#Boston MA 02111-1307, USA.
PRJDIR = ../..
-TARGET = $(PRJDIR)/bin/sdcpp2
+TARGET = $(PRJDIR)/bin/sdcpp
# This is the default target.
all: $(TARGET)
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.
# where the info files go
exeext = @host_exeext@
+transform = @program_transform_name@
+
# Top build directory, relative to here.
top_builddir = .
# 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
$(AR) $(AR_FLAGS) libcpp.a $(LIBCPP_OBJS)
-$(RANLIB) libcpp.a
-MY_LIBIBERTY_BITS = intl.o safe-ctype.o obstack.o splay-tree.o \
+MY_LIBIBERTY_BITS = safe-ctype.o obstack.o splay-tree.o \
lbasename.o
$(TARGET): cppmain.o intl.o $(MY_LIBIBERTY_BITS) libcpp.a $(LIBDEPS)