Makefile 759 Bytes
#!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