DEPTH = ../..

include $(DEPTH)/Makefile.os

LIBS = $(LIBS_GTK)
INCLUDE = $(INCLUDE_GTK)

DIRECTORIES = widgets
ifeq ($(HELPSYSTEM), gecko)
	DIRECTORIES += help.gecko/
else
	DIRECTORIES += help.empty/
endif

include Makefile.objects

ifeq ($(USE_UI_GTK), true)
all : $(OBJECTS) directories
else
all :
endif

directories : always
ifeq ($(SHELLTYPE), sh)
	@for d in $(DIRECTORIES); do \
	  $(MAKE) -C $$d || exit; \
	done
endif
ifeq ($(SHELLTYPE), COMMAND.COM)
	$(MAKE) -C widgets
	$(MAKE) -C help.empty
endif


include Makefile.dependencies


include $(DEPTH)/Makefile.rules
include $(DEPTH)/Makefile.subdir
