COMM @(#)Imakefile	1.4 08/23/96 CERN-SW/DC Jean-Philippe Baud
COMM
COMM  Copyright (C) 1990-1996 by CERN/CN/SW/DC
COMM  All rights reserved
COMM
 
COMM 		Make Disk Pool Manager libs and progs  GENERIC

#if sgi && HasNis
OPTLIBS = -lsun
#endif
SUBDIRS = h util parser dpm 
TARGETS = all clean clobber install install.man lint Makefiles export exportshr exportman

$(TARGETS):     FORCE
	@for i in $(SUBDIRS) ;\
	do (echo " dpm/$$i:"; cd $$i ;\
	    ../../imake/imake -I../../config $@ ;\
	    $(MAKE) $(MFLAGS) EXPORTBIN=$(EXPORTBIN) EXPORTLIB=$(EXPORTLIB) EXPORTMAN=$(EXPORTMAN) EXPORTINC=$(EXPORTINC) EXPORTH=$(EXPORTH) $@ \
	   ) ; done

FORCE:
