1997-10-30 04:14:21 +00:00
|
|
|
#
|
1998-04-24 00:54:06 +00:00
|
|
|
# $Id: Makefile,v 1.3 1998/04/24 00:53:59 gdr-ftp Exp $
|
1997-10-30 04:14:21 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
# Don't name this "install"; we change the name later.
|
|
|
|
PROG = inst
|
|
|
|
BINDIR = /usr/bin
|
1998-03-08 18:19:00 +00:00
|
|
|
CUSTOM_RELEASE = true
|
|
|
|
LDADD = -lcontrib
|
1998-04-24 00:54:06 +00:00
|
|
|
OPTIMIZE = -1
|
|
|
|
STACK = 1024 # largest observed is 707 bytes
|
1997-10-30 04:14:21 +00:00
|
|
|
|
1998-03-08 18:19:00 +00:00
|
|
|
.INCLUDE: /src/gno/prog.mk
|
1997-10-30 04:14:21 +00:00
|
|
|
|
1998-03-08 18:19:00 +00:00
|
|
|
INST = $(OBJ_DIR)$(PROG)
|
1997-10-30 04:14:21 +00:00
|
|
|
|
1998-03-08 18:19:00 +00:00
|
|
|
# This is and the next target are slightly different from the standard
|
|
|
|
# 'release' and 'install' targets because the binary is renamed when
|
|
|
|
# it is installed.
|
1997-10-30 04:14:21 +00:00
|
|
|
|
1998-03-08 18:19:00 +00:00
|
|
|
release: $(OBJ_DIR)$(PROG) $(PROG).$(MAN1SFX) $(DESC)
|
1997-10-30 04:14:21 +00:00
|
|
|
$(INST) -d $(RELBIN) $(RELMAN)/man1 $(DESC_DIR)
|
1998-03-08 18:19:00 +00:00
|
|
|
$(INST) $(OBJ_DIR)$(PROG) $(RELBIN)/install
|
|
|
|
$(INST) $(PROG).$(MAN1SFX) $(RELMAN)/man1/install.1
|
1997-10-30 04:14:21 +00:00
|
|
|
$(DESCU) -o $(DESC_SRC) $(DESC_SRC) $(DESC)
|
1998-03-08 18:19:00 +00:00
|
|
|
|
|
|
|
install: $(OBJ_DIR)$(PROG) $(PROG).$(MAN1SFX)
|
|
|
|
$(INST) -d $(BINDIR) $(MANDIR)/man1
|
|
|
|
$(INST) $(OBJ_DIR)$(PROG) $(BINDIR)/install
|
|
|
|
$(INST) $(PROG).$(MAN1SFX) $(MANDIR)/man1/install.1
|