# Generated automatically from Makefile.in by configure.
#
#
#

AR = ar cq
CC = cc -std1
DOPROTO = do-proto.sh
MAKEDEPEND = /usr/bin/X11/makedepend
RM = rm -f
RANLIB = ranlib
TOUCH = touch

CFLAGS = -g
LOCAL_INCLUDES =  -I/u/staff_g/rancur_v/include/arch/alpha -I/disk1/users/staff_g/rancur_v/work/gnetsentry-0.0.0/libpcap-0.2.1 -Iinclude -I../liba/include -I..
LOCAL_CFLAGS = $(CFLAGS) $(LOCAL_INCLUDES)

#
# objs
#

OBJS = miscinet.o lay_msg.o lay_ip.o lay_data.o lay_pcap.o pkt.o \
lay_ether.o lay_udp.o lay_tcp.o lay_icmp.o lay_arp.o \
lay_arpethip.o typ_msg.o typ_char.o typ_inaddr.o \
typ_short.o layer.o typ_ipproto.o typ_iptos.o typ_port.o \
typ_tcpflags.o typ_long.o typ_ethaddr.o miscsock.o \
typ_icmptype.o \
import/gmt2local.o

SRCS = miscinet.c lay_msg.c lay_ip.c lay_data.c lay_pcap.c pkt.c \
lay_ether.c lay_udp.c lay_tcp.c lay_icmp.c lay_arp.c \
lay_arpethip.c typ_msg.c typ_char.c typ_inaddr.c \
typ_short.c layer.c typ_ipproto.c typ_iptos.c typ_port.c \
typ_tcpflags.c typ_long.c typ_ethaddr.c miscsock.c \
typ_icmptype.c

LIB = liblayer.a

#
# all
#

all: $(LIB)

$(LIB): $(OBJS)
	$(RM) $(LIB)
	$(AR) $(LIB) $(OBJS)
	$(RANLIB) $(LIB)

import/gmt2local.o: import/gmt2local.c
	cd import ; $(CC) -c gmt2local.c $(LOCAL_CFLAGS)

isrcs: $(ISRCS)

proto:	isrcs
	$(DOPROTO) $(LOCAL_INCLUDES) include/*.h

fproto:
	$(TOUCH) *.c
	$(MAKE) proto

depend:
	$(MAKEDEPEND) $(LOCAL_INCLUDES) $(SRCS)

clean:
	$(RM) $(OBJS)

fclean:
	$(RM) $(LIB) 

#
# implicit rules
#

.SUFFIXES: .E .x

.c.o: $(SRCS)
	$(CC) $(LOCAL_CFLAGS) -c $<
	@$(TOUCH) $@

.c.E:
	$(CC) $(LOCAL_CFLAGS) -E $<
