Awhuxlb.181
net.ucds
utcsrgv!utzoo!decvax!duke!chico!harpo!whuxlb!nrf
Tue Mar 2 21:39:24 1982
UCDS Makefile
6
5
4
3
2
1
# AUTHOR: Neal Fildes, WH 1C232, x6493 (whuxlb!nrf)
# the following lines are the only ones that should need
# modification:
FILES= pmem1.g pmem2.g
BD=TN
CKT=pmem
MYPINS=pins
MYCDM=-l./pins
# standard UCDS makefile
#
# variables
#
# BD board type (SN, SM, TN, TM)
# CKT circuit name (for user convenience) such as mem, cpu, etc
# FILES file names in form of ${CKT}[1-9].g containing the user's
# circuits as input via draw
#
# files:
# ${CKT}?.g draw files
# ${CKT}?.w cdl input to macro expander
# ${CKT}?.p plot(3) output files for hard-copy circuit
# ${CKT}edge.g draw description of backplane connections
# ${CKT}edge.p plot(3) output files for hard-copy of edge
# ${CKT}.m output from macro expander
# ${CKT}.pl un-placed input file to place
# rdy.pl placed output file from place (to be used by wrap)
# rdy.w cdl from rdy.pl
# ${CKT}.layout customized table for hard-copy of layout
CLEAR :
SUFFIXES : .p .pl .wb .w .b .g .m .pl
BFIX=echo 'g/^\.b[ ]/s/[0-9][0-9]*$$/1/\nw\nq'|ed -
WFIX=trap 'rm -f /tmp/[cd]$$ stderr' 0;trap 'exit 1' 1 2 3 15;awk '/P[0-9][0-9][0-9] unused par/{print $$2}' > /tmp/c$$$$ stderr;fgrep -v -f /tmp/c$$$$ ${BD}conn.w >/tmp/d$$$$;mv /tmp/d$$$$ ${BD}conn.w
SLASHFIX=echo 'g;^\.o[ ][ ]*/.*/;s;/.*/;;\nw\nq'|ed -
PLIB = ${LIB}/lib/pins ${MYPINS}
CDMLIB= -lpins ${MYCDM}
PLACELIB= ${LIB}/lib/mlt2pl ${MYPINS}
COPS =
DFILES= ${CKT}edge.w ${FILES:.g=.w}
WFILES= ${FILES:.g=.w}
g.w : ; draw -w $ $@
b.wb:
board -w $$@
m.pl :
place -n ${CKT}.wb ${LIB}/lib/${BD}.wb ${PLACELIB} $ $@ 2>stderr
${WFIX}
cdm ${COPS} ${WFILES} ${CDMLIB} > $@
${SLASHFIX} $@
plot : ${CKT}edge.p ${FILES:.g=.p}
uucp -c -m ${CKT}edge.p ${FILES:.g=.p} whuxla!~${LOGNAME}/pub
${CKT}.pl : ${CKT}.m ${LIB}/lib/${BD}.wb ${CKT}.wb ${PLIB}
send.wr : ${CKT}.wb ${LIB}/lib/${BD}.wb ${PLACELIB} ${CKT}.m rdy.w
wrap ${CKT}.wb ${LIB}/lib/${BD}.wb ${PLACELIB} ${CKT}.m rdy.w > $@
${CKT}.layout : ${CKT}.m ${CKT}.wb rdy.w
layout ${CKT}.m ${CKT}.wb rdy.w > $@
all : ${CKT}.m ${CKT}.pl
wrap : send.wr ${CKT}.layout
check : send.wr
send check.jcl
punch : send.wr
send punch.jcl
wref : ${CKT}.m
wref ${CKT}.wb ${LIB}/lib/${BD}.wb ${PLACELIB} ${CKT}.m
print : ${CKT}.M
nohup xopr '' cprint ${CKT}.M &
@echo running in background to box 285
${CKT}.M : ${DFILES} ${PLIB}
draw -w ${BD}conn.g
cdm ${COPS} ${WFILES} ${CDMLIB} > $@ 2>stderr
${WFIX}
cdm -v ${COPS} ${WFILES} ${CDMLIB} > $@
${SLASHFIX} $@
-----------------------------------------------------------------
gopher://quux.org/ conversion by John Goerzen <
[email protected]>
of
http://communication.ucsd.edu/A-News/
This Usenet Oldnews Archive
article may be copied and distributed freely, provided:
1. There is no money collected for the text(s) of the articles.
2. The following notice remains appended to each copy:
The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996
Bruce Jones, Henry Spencer, David Wiseman.