#
#ident  "@(#)Makefile 1.5     97/04/30 SMI"
#
# Copyright 1996 Sun Microsystems, Inc. All Rights Reserved
#

# include global definitions
include $(SRC)/Makefile.master

#
# the Targetdirs file is the AT&T target.dirs file in a makefile format.
# it defines TARGETDIRS and ROOTDIRS.
include Targetdirs


PACKAGE=   packages


all :=          TARGET= all
install :=      TARGET= install
check :=        TARGET= check
clean :=        TARGET= clean
clobber :=      TARGET= clobber
lint :=         TARGET= lint

COMMON_SUBDIRS = disk0 files locale netscape products \
		 cmds wizards tools bldkit kiosk devtools

SUBDIRS = $(COMMON_SUBDIRS) $(PACKAGE)

#####

all install: $(ROOTDIRS) $(SUBDIRS)

dirs: $(ROOTDIRS)

clobber: clean
	@echo "removing all subdirs in $$ROOT"; rm -rf $(ROOT)/*

clean: $(SUBDIRS)

$(ROOTDIRS):
	$(INS.dir)

$(SUBDIRS): FRC
	cd $@; pwd; $(MAKE) $(TARGET)

FRC:

.KEEP_STATE:

