Makefile 1.32 KB
#

div_rom:
	make BLOCK=div_rom div_rom.mcp

#############################
# generic definitions

SRCDIR  =  ../src

LIBPATH = compass lib_patches ne35hd130d ne35ro110h ne35ro110d vsnl000x vlogdp010d cmosch000x 

#############################
# copy div_rom code file

div_rom.cod: $(SRCDIR)/div_rom.cod
	/sbin/rm -f div_rom.cod
	cp $(SRCDIR)/div_rom.cod .

#############################
# div_rom layout

div_rom.mcp: div_rom.cod div_rom.dprscr compass_files
	-/sbin/rm -f div*.nls* 
	-/sbin/rm -f div_rom.pcl
	csh div_rom.dprscr | tee div_rom.dprlog
	-/sbin/rm -f *.ly *.cif
	-/sbin/rm -f *.lg

#############################
# compass files

compass_files: compass.db vlsi.idx vlsi.atr vlsi.boo

compass.db:
	@/sbin/echo "Creating ./compass.db ..."
	@/sbin/echo "v1(0,compass)"  > compass.db 

vlsi.idx:
	@/sbin/echo "Creating ./vlsi.idx ..."
	@/sbin/echo "compass"  > vlsi.idx 

vlsi.atr:
	@/sbin/echo "Creating ./vlsi.atr ..."
	@/sbin/echo '\"7-Jun-94\" \"8:42\"'  > vlsi.atr 
	@/sbin/echo "anyone"  >> vlsi.atr 
	@/sbin/echo "working"  >> vlsi.atr 
	@/sbin/echo "2"  >> vlsi.atr 

vlsi.boo:
	@/sbin/echo "Creating ./vlsi.boo ..."
	@/sbin/echo "# layout directory vlsi.boo" > vlsi.boo
	@/sbin/echo "" >> vlsi.boo
	@/sbin/echo "cell_library compass ." >> vlsi.boo
	@/sbin/echo "search_path $(LIBPATH)" >> vlsi.boo
	@/sbin/echo "" >> vlsi.boo