1996-01-22 01:38:06 +00:00
|
|
|
#
|
|
|
|
# This is the makefile for the describe(1) package. It is for use
|
|
|
|
# with dmake(1).
|
|
|
|
#
|
|
|
|
|
|
|
|
# Use -DSTACK_CHECK in CFLAGS to show stack usage.
|
|
|
|
|
1996-01-28 17:39:31 +00:00
|
|
|
CFLAGS += -O -v -I/usr/include -s768
|
1996-01-22 01:38:06 +00:00
|
|
|
LDFLAGS += -v
|
1996-01-28 17:39:31 +00:00
|
|
|
LDLIBS +=
|
1996-01-22 01:38:06 +00:00
|
|
|
BINDIR = /usr/local/bin
|
|
|
|
SBINDIR = /usr/sbin
|
|
|
|
MANDIR = /usr/man
|
|
|
|
INSTALL = /bin/cp
|
|
|
|
|
|
|
|
build: describe descc descu
|
|
|
|
|
1996-01-22 02:40:50 +00:00
|
|
|
descc: descc.o basename.o descc.r
|
1996-01-22 01:38:06 +00:00
|
|
|
@purge
|
1996-01-28 17:39:31 +00:00
|
|
|
$(CC) $(LDFLAGS) descc.o basename.o -o $@ $(LDLIBS)
|
1996-01-22 02:40:50 +00:00
|
|
|
copyfork descc.r descc
|
1996-01-22 01:38:06 +00:00
|
|
|
|
1996-01-22 02:40:50 +00:00
|
|
|
describe: describe.o basename.o describe.r
|
1996-01-22 01:38:06 +00:00
|
|
|
@purge
|
1996-01-28 17:39:31 +00:00
|
|
|
$(CC) $(LDFLAGS) describe.o basename.o -o $@ $(LDLIBS)
|
1996-01-22 02:40:50 +00:00
|
|
|
copyfork describe.r describe
|
1996-01-22 01:38:06 +00:00
|
|
|
|
1996-01-28 17:39:31 +00:00
|
|
|
descu: descu.o basename.o vaend.o descu.r
|
1996-01-22 01:38:06 +00:00
|
|
|
@purge
|
1996-01-28 17:39:31 +00:00
|
|
|
$(CC) $(LDFLAGS) descu.o basename.o vaend.o -o $@ $(LDLIBS)
|
1996-01-22 02:40:50 +00:00
|
|
|
copyfork descu.r descu
|
1996-01-22 01:38:06 +00:00
|
|
|
|
1996-01-28 17:39:31 +00:00
|
|
|
descc.o:: desc.h
|
|
|
|
describe.o:: desc.h
|
|
|
|
descu.o:: desc.h
|
1996-01-22 01:38:06 +00:00
|
|
|
|
|
|
|
install:
|
|
|
|
$(RM) -f /usr/local/bin/descc
|
|
|
|
$(INSTALL) describe $(BINDIR)
|
|
|
|
$(INSTALL) descc $(SBINDIR)
|
|
|
|
$(INSTALL) descu $(SBINDIR)
|
|
|
|
$(INSTALL) describe.1 $(MANDIR)/man1
|
|
|
|
$(INSTALL) descc.8 $(MANDIR)/man8
|
|
|
|
$(INSTALL) descu.8 $(MANDIR)/man8
|