gno/usr.bin/whereis/Makefile
gdr 595a3dfaea - whereis now takes it's selection of directories from a configuration
file
- added describe entry, rez fork
- merged into GNO base build
1997-09-30 04:22:43 +00:00

46 lines
974 B
Makefile

#
# This makefile is intended for use with dmake(1) on Apple IIGS
#
# $Id: Makefile,v 1.1 1997/09/30 04:22:43 gdr Exp $
#
# Devin Reade, September 1997
#
PROG = whereis
BINDIR = /usr/bin
MANDIR = /usr/man
ETCDIR = /etc
.INCLUDE: /src/gno/paths.mk
.INCLUDE: /src/gno/binconst.mk
RELBIN = $(RELEASE_DIR)$(BINDIR)
RELMAN = $(RELEASE_DIR)$(MANDIR)
RELETC = $(RELEASE_DIR)$(ETCDIR)
RELINC = $(RELEASE_DIR)/usr/include
RELLIB = $(RELEASE_DIR)/usr/lib
OBJS = $(SRCS:s/.c/.o/:f)
OPTIMIZE = 78
STACK = 1024
# Use -D__STACK_CHECK__ to see stack usage
DEFINES +=
INCLUDES += -I$(RELINC)
CFLAGS += -r $(INCLUDES) -O$(OPTIMIZE) $(DEFINES) -s$(STACK)
LDLIBS += -l$(RELLIB)/lcontrib
.INCLUDE: /src/gno/binrules.mk
release: $(PROG) $(PROG).1 $(DESC) whereis.conf
$(INSTALL) -d $(RELBIN) $(RELMAN)/man1 $(DESC_DIR) $(RELETC)
$(INSTALL) $(PROG) $(RELBIN)
$(INSTALL) $(PROG).1 $(RELMAN)/man1
$(INSTALL) whereis.conf $(RELETC)
$(DESCU) -o $(DESC_SRC) $(DESC_SRC) $(DESC)