#!smake
#ident "$Revision: 1.3 $"

DEPTH=../..
include $(DEPTH)/Makedefs

#LLDLIBS=-ldisk 
KERN=../../../../kern
LCINCS=-I$(KERN) -I../../include -I../../../xlv/include

CFILES = xfs_fs_clnt.c xfsfuncs.c xfsutils.c
TARGETS=$(OBJECTS)

OBJECTS = $(CFILES:.c=.o)

DEBUG = -g -DDEBUG
REGOPTS = -D_SGI_SOURCE
LCOPTS = $(REGOPTS)

default:$(TARGETS)

include $(COMMONRULES)

install: default
	${INSTALL} -F /sbin $(TARGETS)
	${INSTALL} -F /etc -lns ../sbin/$(TARGETS) $(TARGETS)

debug:
	exec $(MAKE) 'LCDEFS=$(REGOPTS) $(DEBUG)'
