
## /*          Alliance CAD System 3.0                                   */
## /*             FpGen Package 1.05                                     */
## /*                                                                    */
## /*  Copyright(c) 93-95, MASI, CAO-VLSI Team                           */
## /*                                                                    */
## /*  Author      :          Jean-Paul CHAPUT                           */
## /*  E-mail      :      cao-vlsi@masi.ibp.fr                           */
## /* ------------------------------------------------------------------ */
## /*  makefile    :      For all tools of FitPath.                      */
## /* ****************************************************************** */
## /*  29/04/94:0.00:Jean-Paul CHAPUT:Initial design.                    */


include $(TOP)/etc/$(MACHINE).mk


TARGET_BIN=../bin
TARGET_LIB=../lib
TARGET_INC=../include


## ************************ Distribution Rule *****************************


# Default goal.
distrib: rule_all


#rule_all: rule_FpGen rule_DPR
rule_all: rule_FpGen


## ********************** FitPath Devellopement Goal **********************


#rule_dev: rule_FpGen rule_dck rule_DPR rule_BiCS
rule_dev: rule_FpGen rule_DPR rule_BiCS


## *********************** FitPath Components Rules ***********************


rule_DPR:  ;$(MAKE) TOP=$(TOP)        \
				MACHINE=$(MACHINE)    \
	         TARGET_BIN=$(TARGET_BIN) \
	         TARGET_LIB=$(TARGET_LIB) \
	         TARGET_INC=$(TARGET_INC) -f   DPR/Makefile;
rule_FpGen:;$(MAKE) TOP=$(TOP)        \
				MACHINE=$(MACHINE)    \
	         TARGET_BIN=$(TARGET_BIN) \
	         TARGET_LIB=$(TARGET_LIB) \
	         TARGET_INC=$(TARGET_INC) -f FpGen/Makefile;
rule_dck:  ;$(MAKE) TOP=$(TOP)        \
				MACHINE=$(MACHINE)    \
	         TARGET_BIN=$(TARGET_BIN) \
	         TARGET_LIB=$(TARGET_LIB) \
	         TARGET_INC=$(TARGET_INC) -f   dck/Makefile;
rule_BiCS: ;$(MAKE) TOP=$(TOP)        \
				MACHINE=$(MACHINE)    \
	         TARGET_BIN=$(TARGET_BIN) \
	         TARGET_LIB=$(TARGET_LIB) \
	         TARGET_INC=$(TARGET_INC) -f   dck/Makefile;


## ******************** Delete all the generated files *********************


## Deletion of all the generaded files.
## (in order to perform a complete recompilation)
clean:
	$(RM) -fr            *.o;
	$(RM) -fr distrib;
	$(MAKE)        TOP=$(TOP)        \
	        TARGET_BIN=$(TARGET_BIN) \
	        TARGET_LIB=$(TARGET_LIB) \
	        TARGET_INC=$(TARGET_INC) \
			   MACHINE=$(MACHINE) -f FpGen/Makefile clean;
