mirror of
https://github.com/GnoConsortium/gno.git
synced 2024-05-31 15:41:31 +00:00
Makefile:
- Simplify; a lot of the stuff this makefile did previously is now available by including <prog.mk>.
This commit is contained in:
parent
2b00b1d41a
commit
c77b46a12d
|
@ -1,7 +1,7 @@
|
|||
#
|
||||
# This makefile is intended for use with dmake(1) on Apple IIGS
|
||||
#
|
||||
# $Id: Makefile,v 1.2 1997/10/30 04:06:11 gdr Exp $
|
||||
# $Id: Makefile,v 1.3 1999/01/11 01:25:43 gdr-ftp Exp $
|
||||
#
|
||||
# Devin Reade, September 1997
|
||||
#
|
||||
|
@ -9,37 +9,20 @@
|
|||
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
|
||||
LDLIBS = -l/usr/lib/libcontrib
|
||||
|
||||
# Use -D__STACK_CHECK__ to see stack usage
|
||||
DEFINES +=
|
||||
.INCLUDE: /src/gno/prog.mk
|
||||
|
||||
INCLUDES += -I$(RELINC)
|
||||
CFLAGS += -r $(INCLUDES) -O$(OPTIMIZE) $(DEFINES) -s$(STACK)
|
||||
RELETC = $(RELEASE_DIR)$(ETCDIR)
|
||||
|
||||
LDLIBS += -l$(RELLIB)/libcontrib
|
||||
|
||||
.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
|
||||
release:: $(RELETC) whereis.conf
|
||||
$(INSTALL) whereis.conf $(RELETC)
|
||||
$(DESCU) -o $(DESC_SRC) $(DESC_SRC) $(DESC)
|
||||
|
||||
$(RELETC):
|
||||
$(INSTALL) -d $(RELETC)
|
||||
|
||||
# Don't install whereis.conf into a running system; we don't want to
|
||||
# overwrite the one that's been customized for this site.
|
||||
|
|
Loading…
Reference in New Issue
Block a user