diff options
author | Mark Eichin <eichin@cygnus> | 1992-06-04 19:10:49 +0000 |
---|---|---|
committer | Mark Eichin <eichin@cygnus> | 1992-06-04 19:10:49 +0000 |
commit | f4a0f42d8ae83b302641b74c3dea1912964e0145 (patch) | |
tree | 10bde9d6a0262b9dbd6a1c31ca2b16e697b06555 /gprof | |
parent | 9752f9fdcdf2525fb0672d4bb14d8e7928ea16e3 (diff) | |
download | gdb-f4a0f42d8ae83b302641b74c3dea1912964e0145.zip gdb-f4a0f42d8ae83b302641b74c3dea1912964e0145.tar.gz gdb-f4a0f42d8ae83b302641b74c3dea1912964e0145.tar.bz2 |
add real install, and some more normal paths.
Diffstat (limited to 'gprof')
-rw-r--r-- | gprof/Makefile.in | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/gprof/Makefile.in b/gprof/Makefile.in index 2b9ce4c..c02f34b 100644 --- a/gprof/Makefile.in +++ b/gprof/Makefile.in @@ -2,6 +2,20 @@ srcdir = . +prefix = /usr/local + +program_prefix = +exec_prefix = $(prefix) +bindir = $(exec_prefix)/bin +libdir = $(exec_prefix)/lib +tooldir = $(libdir) + +datadir = $(prefix)/lib + +INSTALL = install -c +INSTALL_PROGRAM = $(INSTALL) +INSTALL_DATA = $(INSTALL) + #### host and target dependent Makefile fragments come in here. ### @@ -22,10 +36,10 @@ all: ${PROG} .PHONY: check check: -beforeinstall: - install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ - ${.CURDIR}/gprof.flat ${.CURDIR}/gprof.callg \ - ${DESTDIR}/usr/share/misc +install: all + $(INSTALL_DATA) ${srcdir}/gprof.flat ${DESTDIR}$(datadir) + $(INSTALL_DATA) ${srcdir}/gprof.callg ${DESTDIR}$(datadir) + $(INSTALL_PROGRAM) $(PROG) ${DESTDIR}$(bindir) $(PROG): $(OBJS) $(CC) $(CFLAGS) $(OBJS) -o $(PROG) $(LIBS) |