+Mon Jun 14 16:22:59 1993 david d `zoo' zuhn (zoo at rtl.cygnus.com)
+
+ * Makefile.in: remove parentdir support
+
Mon Jun 7 12:56:17 1993 Per Bothner (bothner@rtl.cygnus.com)
* Makefile.in (INCLUDES): Add -I../bfd for sysdep.h and bfd.h.
infodir = $(prefix)/info
datadir = $(prefix)/lib
-INSTALL = install -c
+INSTALL = $(srcdir)/../install -c
INSTALL_PROGRAM = $(INSTALL)
INSTALL_DATA = $(INSTALL)
MAKEINFO = makeinfo
check:
installcheck:
-install-info: info
- -parent=`echo $(infodir)|sed -e 's@/[^/]*$$@@'`; \
- if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi
- -if [ -d $(infodir) ] ; then true ; else mkdir $(infodir) ; fi
+install-info:
for i in *.info* ; do \
$(INSTALL_DATA) $$i $(infodir)/$$i ; \
done
-install: all
- -parent=`echo $(man1dir)|sed -e 's@/[^/]*$$@@'`; \
- if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi
- -if [ -d $(man1dir) ] ; then true ; else mkdir $(man1dir) ; fi
- -parent=`echo $(bindir)|sed -e 's@/[^/]*$$@@'`; \
- if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi
- -if [ -d $(bindir) ] ; then true ; else mkdir $(bindir) ; fi
- $(INSTALL_PROGRAM) $(PROG) $(bindir)/$(PROG)
+install:
+ $(INSTALL_PROGRAM) gprof $(bindir)/gprof
$(INSTALL_DATA) $(srcdir)/gprof.1 $(man1dir)/gprof.1
-$(PROG): $(OBJS)
+gprof: $(OBJS)
$(CC) -o $(PROG) $(LDFLAGS) $(OBJS) $(LIBS)
mostlyclean: