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
#!smake
#
# sim/simlib/Makefile
#
# $Revision: 1.1.1.1 $
#
NDEPTH = ../..
VERILOG_RELEASE = /hosts/amber/ecad/vcs/vcs_2.1.1
include $(NDEPTH)/PRdefs
V = $(VERILOG_RELEASE)
LCOPTS = -g
LCINCS = -I. -I$(V)/lib -I../hdr
GCINCS =
TARGETS = libsimlib.a
LDIRT = sgicom *.log
#CFILES = ck.c la.c gla.c ms_sync.c gmisc.c gl_dev.c
CFILES = ck.c ms_sync.c la.c
#
# From VENICE stuff, does gmisc.c need this?
#
VOBJS = \
${V}/omnitasks.o \
${V}/vlog.o \
${V}/libvoids.a
OBJECTS = ${CFILES:.c=.o}
default all: $(TARGETS)
include $(COMMONRULES)
exports install: default
libsimlib.a: $(OBJECTS)
ar r $@ $(OBJECTS)
ar ts $@ > /dev/null;
.SUFFIXES : .E .c .o
.c.o:
$(HOST_CC) $(CFLAGS) -c $*.c
.c.E:
$(HOST_CC) $(CFLAGS) -E $< | cb > $*.E