Makefile
759 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#!smake
#
#
#
# $Revision: 1.1.1.1 $
#
#
# Tools
#
PRDEPTH = ../../../..
#
# SGI Common Defs
#
include $(PRDEPTH)/PRdefs
#
# Sources
#
HW = $(PRDEPTH)/hw/chip/rcp
VERILOG = $(HW)/cv/src/cv.v
VERILOGDIRS = $(VERILOG:H)
SYMNAMES = $(VERILOG:T)
SYMBOLS = $(SYMNAMES:.v=.sym)
#
# Set path to find verilog sources
#
.PATH: $(VERILOGDIRS)
#
# Targets
#
GCINCS =
LDIRT = cv_test.1 *.asy $(SYMBOLS)
TARGETS = cv_test.1
default install: $(TARGETS)
#
# SGI Common Rules
#
include $(PRDEPTH)/PRrules
#
# Make Blender Netlist
#
cv_test.1: cv_test.sch driver.sym $(SYMBOLS)
$(ECS2VL) cv_test cv_test.1
#
# Suffix Rules
#
.SUFFIXES : .v .sym
.v.sym:
$(RMVCOM) < $*.v | $(ECSGEN)
echo "TEXT 0 0 Left 2 $(*:T)" >> $(*:T).asy
$(ASYIN) $(*:T).asy