GNUmakefile 1.08 KB
#!smake
#
#  Make symbols from verilog source
#

#
#  PR Defs
#
PRDEPTH = ../../../..
include $(PRDEPTH)/PRdefs

#
#  SGI Common Rules
#
include $(PRDEPTH)/PRrules

#
#  Tools
#

#
#  Archived symbols
#
SYMBOLS	= at.sym 	\
	  bl.sym 	\
	  cc.sym 	\
	  cs.sym 	\
	  csclk.sym 	\
	  csgclk.sym 	\
	  cv.sym 	\
	  cvg.sym 	\
	  display.sym 	\
	  driver.sym 	\
	  ep.sym 	\
	  ew.sym 	\
          gclock.sym 	\
	  ms.sym 	\
	  ms_ck.sym 	\
	  ms_sym.sym 	\
	  mspan.sym 	\
	  rdp_c.sym 	\
	  rdp_ms.sym 	\
	  rdp_v.sym 	\
	  st.sym 	\
	  tc.sym 	\
	  tf.sym 	\
	  tm.sym
PINS = $(filter-out rdp_c.pin rdp_v.pin, $(SYMBOLS:.sym=.pin))
.SUFFIXES: .pin

#
#  Default Targets
#
TARGETS         = rdp_c.1 rdp_v.1
LDIRT           = *.asy *.err *.1 $(PINS)

default install: $(TARGETS)

rdp_c.1:  rdp_c.v $(PINS)
	../../../tools/mknet.pl $(basename $@) > $@

rdp_v.1:   rdp_v.v $(PINS)
	../../../tools/mknet.pl $(basename $@) > $@

.sym.pin:
	../../../tools/topin.pl $< > $@

# need to generate these by hand
rdp_c.v : rdp_c.sch
	echo "rdp_c.v out of date"
	exit 1

rdp_v.v : rdp_v.sch
	echo "rdp_v.v out of date"
	exit 1