Skip to content

Commit

Permalink
Import OpenBSD's dc.
Browse files Browse the repository at this point in the history
  • Loading branch information
christos committed Apr 10, 2017
1 parent f751eb6 commit b2e5b3a
Show file tree
Hide file tree
Showing 12 changed files with 4,254 additions and 0 deletions.
9 changes: 9 additions & 0 deletions usr.bin/dc/Makefile
@@ -0,0 +1,9 @@
# $OpenBSD: Makefile,v 1.3 2015/10/10 19:28:54 deraadt Exp $

PROG= dc
SRCS= main.c dc.c bcode.c inout.c mem.c stack.c
COPTS+= -Wall
LDADD= -lcrypto
DPADD= ${LIBCRYPTO}

.include <bsd.prog.mk>
13 changes: 13 additions & 0 deletions usr.bin/dc/USD.doc/Makefile
@@ -0,0 +1,13 @@
# $OpenBSD: Makefile,v 1.2 2004/02/01 15:18:01 jmc Exp $

DIR= usd/05.dc
SRCS= dc
MACROS= -ms

paper.ps: ${SRCS}
${EQN} ${SRCS} | ${ROFF} > ${.TARGET}

paper.txt: ${SRCS}
${EQN} -Tascii ${SRCS} | ${ROFF} -Tascii > ${.TARGET}

.include <bsd.doc.mk>

0 comments on commit b2e5b3a

Please sign in to comment.