# RCSid: $Header: /rcs/vcom5.0/sbeux/x25utils/xcf/Makefile,v 1.0 92/08/20 11:31:54 root Exp $

#-----------------------------------------------------------------------------
# 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.0 $
# Last changed on $Date: 92/08/20 11:31:54 $
# Changed by $Author: root $
#-----------------------------------------------------------------------------
# $Log:	Makefile,v $
# Revision 1.0  92/08/20  11:31:54  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) -DVV_DEBUG
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

