include ./Makeconfig

include ./Makerules

LIBS=

ifndef OPTFLAGS
OPTFLAGS= -O2	
endif

ifndef DAEMON
DAEMON = -DDAEMON
endif

SUBDIR=	ypbind domainname ypwhich ypcat ypmatch yppoll ypset yppasswd

all: subdir

subdir:
	for d in $(SUBDIR); do \
	  ($(MAKE) -C $$d $(TARGET)); \
	done

clean: FRC
	$(RM) -f *.a *.o *~ core
	$(MAKE) TARGET=clean subdir

install: subdir
	$(MAKE) TARGET=install subdir

FRC:
