# RCSid: $Header: /rcs/vcom5.0/sbeux/x25utils/x25trace/Makefile,v 1.0 92/08/20 11:32:12 root Exp $

#-----------------------------------------------------------------------------
# Makefile -
#
# Copyrighted as an unpublished work.
# (c) Copyright 1992 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:32:12 $
# Changed by $Author: root $
#-----------------------------------------------------------------------------
# $Log:	Makefile,v $
# Revision 1.0  92/08/20  11:32:12  root
# Initial revision
# 
#-----------------------------------------------------------------------------
#

LOCALINC = ../../include
INC      = -I. -I$(LOCALINC)
CFLAGS   = -O $(INC) $(DPARMS) -DDEBUG
LDFLAGS  = -s

CC = cc
DEST = /etc

OBJ = x25trace.o lparse.o upper.o sbeRelease.o
TARGET = x25trace x25trf

all: x25trace x25trf

install:
	cp $(TARGET) $(DEST)
	chmod 4755 $(DEST)/$(TARGET)

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

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

$(OBJ): $(FRC)

FRC $(FRC):

x25trf: x25trf.o
	$(CC) $(LDFLAGS) x25trf.o -o $@
#-----------------------------------------------------------------------------

clean:
	rm -f *.o

clobber:
	rm -f $(TARGET) *.o

