#	@(#) make.usr.src 25.1 92/03/16 
#
#	Copyright (C) 1986-1992 The Santa Cruz Operation, Inc.
#		All Rights Reserved.
#	The information in this file is provided for the exclusive use of
#	the licensees of The Santa Cruz Operation, Inc.  Such users have the
#	right to use, modify, and incorporate this code into other products
#	for purposes authorized by the license agreement provided they include
#	this notice and the associated copyright notice with any such product.
#	The information in this file is provided "AS IS" without warranty.
#
# 	This makefile can be used to compile your own modem
# 	dialer programs.  To compile a dialer (dialUSER.c for example),
#	add the dialer name (dialUSER) to the EXES variable.
#
#	If you install the DIAL package, and make modifications to
#	the atdialer.c source, then add atdialer to the EXES variable.

CFLAGS	= -O -DHDUU -DAUTOCONNECT
LDFLAGS	= -s -lx -lc_s

NATEXES	= dialHA12 dialHA24 dialVA3450
EXES	= dialHA96V dialMUL dialTBIT
ALL	= $(NATEXES) $(EXES) dialT1500

all:	$(ALL)

$(NATEXES):	$$@.c
	$(CC) $(CFLAGS) -o $@ $? $(LDFLAGS)

$(EXES):	$$@.c
	$(CC) $(CFLAGS) -o $@ $? atfields.o $(LDFLAGS)

dialT1500:	dialTBIT.c
	$(CC) $(CFLAGS) -DTB1500 -o $@ $? atfields.o $(LDFLAGS)
