# RCSid: $Header: /rcs/vcom/sbeux/x25utils/xcf/Makefile,v 1.1 91/03/19 17:58:56 root Rel $

#-----------------------------------------------------------------------------
# Makefile -
#
# Copyrighted as an unpublished work.
# (c) Copyright 1991 SBE, Inc. and by other vendors under license agreements.
# All rights reserved.
#-----------------------------------------------------------------------------
# RCS info:
# RCS revision: $Revision: 1.1 $
# Last changed on $Date: 91/03/19 17:58:56 $
# Changed by $Author: root $
#-----------------------------------------------------------------------------
# $Log:	Makefile,v $
# Revision 1.1  91/03/19  17:58:56  root
# *** empty log message ***
# 
# Revision 1.1  91/02/13  18:29:25  root
# Correctly call -s option via LDFLAGS.
# 
# Revision 1.0  91/01/21  12:10:19  root
# Initial revision
# 
#-----------------------------------------------------------------------------
#

############################################################################
#  Assign LOCALINC to be the path to the directory containing the SBE
#  distributed "sys" header files.
############################################################################
LOCALINC= ../../include

######################################################################
#  XCF Network Configuration Pre-processor make file
######################################################################
DFLAGS=
INCLUDE= -I. -I$(LOCALINC)

DEST    = /etc
CFLAGS  = -O $(INCLUDE) $(DPARMS)
# CFLAGS= $(INCLUDE) $(DPARMS) -DXTEST
LDFLAGS = -s

TARGET= xcf
OBJ= sbeRelease.o xcf.o x25default.o lparse.o

CC= cc

$(TARGET): $(OBJ)
	$(CC) $(LDFLAGS) -o $@ $(OBJ)

all: xcf Makefile

#----------------------------------------------------------------------------

install:
	cp $(TARGET) $(DEST)

#----------------------------------------------------------------------------

clean:
	rm -f *.o

clobber:
	rm -f xcf *.o

