2001-04-08 19:27:39 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.5 2001/04/08 23:27:39 naddy Exp $
|
1998-06-03 19:02:23 -04:00
|
|
|
#
|
|
|
|
|
|
|
|
EXAMPLES= bjtnoise.cir ltra_1.cir mos6inv.cir pz2.cir \
|
|
|
|
rtlinv.cir bsim1tst.cir ltra_2.cir mosamp2.cir \
|
|
|
|
pzt.cir schmitt.cir bsim2tst.cir ltra_3.cir \
|
|
|
|
mosmem.cir rc.cir simplepz.cir diffpair.cir \
|
|
|
|
makedefs process.mod rca3040.cir diodisto.cir \
|
|
|
|
mixdisto.cir process.pro resnoise.cir
|
|
|
|
|
|
|
|
all:
|
2001-02-27 18:03:41 -05:00
|
|
|
util/build OpenBSD default CC="${CC}" CC_OPT="${CFLAGS}"
|
1998-06-03 19:02:23 -04:00
|
|
|
|
|
|
|
install:
|
|
|
|
util/build OpenBSD install
|
2001-04-08 19:27:39 -04:00
|
|
|
${BSD_INSTALL_MAN} man/man1/nutmeg.0 ${PREFIX}/man/cat1
|
|
|
|
${BSD_INSTALL_MAN} man/man1/sconvert.0 ${PREFIX}/man/cat1
|
|
|
|
${BSD_INSTALL_MAN} man/man1/spice.0 ${PREFIX}/man/cat1
|
1998-06-03 19:02:23 -04:00
|
|
|
/bin/ln -sf spice.0 ${PREFIX}/man/cat1/spice3.0
|
2001-04-08 19:27:39 -04:00
|
|
|
${BSD_INSTALL_MAN} man/man3/mfb.0 ${PREFIX}/man/cat3
|
|
|
|
${BSD_INSTALL_MAN} man/man5/mfbcap.0 ${PREFIX}/man/cat5
|
|
|
|
${BSD_INSTALL_DATA_DIR} ${PREFIX}/share/examples/spice
|
1998-06-03 19:02:23 -04:00
|
|
|
.for ex in ${EXAMPLES}
|
|
|
|
${BSD_INSTALL_DATA} examples/${ex} ${PREFIX}/share/examples/spice
|
|
|
|
.endfor
|