include ../../../support/include.mk

LIBS := \
	common_cc_data \
	fw_data \
	fw_if_access \
	fw_if_app \
	fw_if_service \
	gcc_data \
	gcc_interfaces \
	hosa_mm \
	hosa_ui \
	mpcc_data \
	mpcc_interfaces \
	osa \
	ui_data \
	ui_interfaces \
	mm

all: $(LIBS) $(ERL_OBJECTS)

clean:
	@for dir in $(LIBS); do \
	  if [ ! -e $@/SKIP ]; then \
	    (cd $$dir; $(MAKE) $@) \
	  fi \
	done

$(LIBS):
	@if [ ! -e $@/SKIP ]; then \
	  (cd $@; $(MAKE) all) \
	fi

# Dependencies between programs.

.PHONY: $(LIBS)

