# Build the standard things used in most of the platforms

# Changes needed for Alpha
#CPP= /usr/ucb/cpp -C -P -DALPHA

LIBRARY=../../Library
PLIBRARY=../../pLibrary
all:	CONFIG

CONFIG: Makefile ../../Makefile CONFIG.proto $(LIBRARY)/Library.config $(LIBRARY)/Base/*.config $(LIBRARY)/Strings/*.config $(LIBRARY)/Containers/*.config $(LIBRARY)/Ext/*.config $(LIBRARY)/IO/*.config $(LIBRARY)/System/*.config Makefile $(PLIBRARY)/pSather/*.config
	@echo Creating Common/CONFIG...
	@echo "-- This file has been created by using cpp on CONFIG.proto" > CONFIG
	@echo "-- in this directory and by using many variables defined " >> CONFIG
	@echo "-- in the top level Makefile. Please do not edit it" >> CONFIG
	$(CPP) -Uunix -DCONFIG_DEFAULT_PLATFORM='$(DEFAULT_PLATFORM)' -DCONFIG_PLATFORMS='$(PLATFORMS)' CONFIG.proto >> CONFIG
	cp CONFIG ../Platforms/$(DEFAULT_PLATFORM)/CONFIG

clean:
	@$(RM) CONFIG



