Annotation of coherent/a/usr/bob/uusrc/modemcap/Makefile, revision 1.1.1.1

1.1       root        1: #
                      2: #  12/3/90
                      3: #  Makefile to build the "libmodemcap.a" library of modem interaction
                      4: #  functions.
                      5: #
                      6: #  Note: the database "modemcap" is expected to live in /etc/modemcap
                      7: #  Note: -DCATCH refers to catching HUP and alarms in dial.c
                      8: #
                      9: 
                     10: LIBNAME=libmodemcap.a
                     11: 
                     12: # OS=UNIX_S5   # For System V machines.
                     13: OS=UNIX_V7     # For Version 7 machines.
                     14: 
                     15: IDIR=../include
                     16: CFLAGS=-D$(OS) -DCATCH -I$(IDIR)
                     17: 
                     18: LOBJS= dial.o dialvars.o hangup.o initmodem.o \
                     19:        mdial.o merror.o mgetent.o mgetflag.o mgetnum.o mgetstr.o
                     20: 
                     21: XOBJS= fixttyS.o fixttyT.o
                     22: 
                     23: all: $(LIBNAME) $(XOBJS)
                     24:        @
                     25: 
                     26: $(LIBNAME): $(LOBJS)
                     27:        ar r $(LIBNAME) $(LOBJS)
                     28:        ranlib $(LIBNAME)
                     29: 
                     30: clean:
                     31:        [ "`echo *.o`" = "*.o" ] || rm *.o
                     32: 
                     33: #
                     34: #  how to make some specific objects
                     35: #
                     36: 
                     37: fixttyS.o: fixtty.c
                     38:        $(CC) $(CFLAGS) -DSGTTY -c -o $@ $<
                     39: 
                     40: fixttyT.o: fixtty.c
                     41:        $(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.