# Makefile fragment
# Copyright (c) 2000 Rex Feany (laeos@xaric.org)
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
# *** NOTE ***
# remeber this is included by the top level makefile, so any pathnames
# _must_ be relative to the top of the source tree!
#
#
# %W%
#

ifndef REALLY_INCLUDE

all clean distclean:
	@echo "Doh, wrong directory. Lets try again"
	$(MAKE) -C .. $@
endif


net_OBJS  = 
net_PSRCS = iflist.c
net_POBJS = 
net_BINS  = iflist
net_SRCS  = xp_ifinfo.c
		


PBJ += $(addprefix net/, $(sort $(net_POBJS)))
PRC += $(addprefix net/, $(sort $(net_PSRCS)))
OBJ += $(addprefix net/, $(sort $(net_OBJS)))
SRC += $(addprefix net/, $(sort $(net_SRCS)))
BIN += $(addprefix net/, $(sort $(net_BINS)))



net/iflist: net/iflist.o $(XPLIB)
	$(CC) $(CFLAGS) $(LDFLAGS) -o net/iflist net/iflist.o $(XPLIB)


# All done!
