1997-10-03 04:53:06 +00:00
|
|
|
#
|
1998-03-08 18:14:55 +00:00
|
|
|
# This is the makefile for libtermcap, GNO v2.0.6
|
1997-10-03 04:53:06 +00:00
|
|
|
#
|
1998-03-08 18:14:55 +00:00
|
|
|
# $Id: Makefile,v 1.3 1998/03/08 18:14:53 gdr-ftp Exp $
|
1997-10-03 04:53:06 +00:00
|
|
|
#
|
1997-09-30 06:24:04 +00:00
|
|
|
|
1998-03-08 18:14:55 +00:00
|
|
|
LIB = termcap
|
|
|
|
SRCS = termcap.c tgoto.c tputs.c tparm.c tospeed.c
|
|
|
|
OPTIMIZE= 78
|
|
|
|
CFLAGS += -I. -Slibtermcap
|
|
|
|
CFLAGS += -DCM_N -DCM_GT -DCM_B -DCM_D -I.
|
1997-10-03 04:53:06 +00:00
|
|
|
|
1998-03-08 18:14:55 +00:00
|
|
|
LOCAL_SETUP = local_setup
|
|
|
|
HDIR = $(RELEASE_DIR)/usr/include
|
1997-10-03 04:53:06 +00:00
|
|
|
|
1998-03-08 18:14:55 +00:00
|
|
|
.INCLUDE: /src/gno/lib/lib.mk
|
|
|
|
|
|
|
|
# If this target fails, do a manual update.
|
|
|
|
local_setup:
|
|
|
|
cmp /usr/include/termcap.h termcap.h
|
|
|
|
|
|
|
|
release::
|
|
|
|
$(INSTALL) -d $(HDIR)
|
|
|
|
$(INSTALL) termcap.h $(HDIR)
|
|
|
|
|
|
|
|
# LIBDIR = /usr/lib
|
|
|
|
# MANDIR = /usr/man/man3
|
1997-10-03 04:53:06 +00:00
|
|
|
|
1998-03-08 18:14:55 +00:00
|
|
|
# build: $(LIB)
|
1997-09-30 06:24:04 +00:00
|
|
|
|
1998-03-08 18:14:55 +00:00
|
|
|
#$(LIB): $(OBJS) $(LIB).r
|
|
|
|
# $(RM) -f $@
|
|
|
|
# $(MAKELIB) $(MAKELIBFLAGS) -l $@ $(OBJS)
|
|
|
|
# $(CATREZ) -d $@ $(LIB).r
|
1997-10-03 04:53:06 +00:00
|
|
|
|
1998-03-08 18:14:55 +00:00
|
|
|
#install: beforeinstall $(LIB)
|
|
|
|
# $(INSTALL) -d $(LIBDIR) $(MANDIR)
|
|
|
|
# $(INSTALL) $(LIB) $(LIBDIR)
|
|
|
|
# $(INSTALL) termcap.3 $(MANDIR)
|
1997-10-03 04:53:06 +00:00
|
|
|
|
1998-03-08 18:14:55 +00:00
|
|
|
#release: beforeinstall $(LIB)
|
|
|
|
# $(INSTALL) -d $(RELEASE_DIR)$(LIBDIR) $(RELEASE_DIR)$(MANDIR)
|
|
|
|
# $(INSTALL) $(LIB) $(RELEASE_DIR)$(LIBDIR)
|
|
|
|
# $(INSTALL) termcap.3 $(RELEASE_DIR)$(MANDIR)
|
1997-10-03 04:53:06 +00:00
|
|
|
|