File:  [MW Coherent from dump] / coherent / a / usr / bob / uusrc / modemcap / Makefile
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:34 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent

#
#  12/3/90
#  Makefile to build the "libmodemcap.a" library of modem interaction
#  functions.
#
#  Note: the database "modemcap" is expected to live in /etc/modemcap
#  Note: -DCATCH refers to catching HUP and alarms in dial.c
#

LIBNAME=libmodemcap.a

# OS=UNIX_S5	# For System V machines.
OS=UNIX_V7	# For Version 7 machines.

IDIR=../include
CFLAGS=-D$(OS) -DCATCH -I$(IDIR)

LOBJS=	dial.o dialvars.o hangup.o initmodem.o \
	mdial.o merror.o mgetent.o mgetflag.o mgetnum.o mgetstr.o

XOBJS=	fixttyS.o fixttyT.o

all: $(LIBNAME) $(XOBJS)
	@

$(LIBNAME): $(LOBJS)
	ar r $(LIBNAME) $(LOBJS)
	ranlib $(LIBNAME)

clean:
	[ "`echo *.o`" = "*.o" ] || rm *.o

#
#  how to make some specific objects
#

fixttyS.o: fixtty.c
	$(CC) $(CFLAGS) -DSGTTY -c -o $@ $<

fixttyT.o: fixtty.c
	$(CC) $(CFLAGS) -DTERMIO -c -o $@ $<

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.