Permalink
Browse files

Import OpenBSD's dc.

  • Loading branch information...
1 parent f751eb6 commit b2e5b3a0d830f0cac504e7ef678439abf5c927f6 christos committed Apr 10, 2017
Showing with 4,254 additions and 0 deletions.
  1. +9 −0 usr.bin/dc/Makefile
  2. +13 −0 usr.bin/dc/USD.doc/Makefile
  3. +752 −0 usr.bin/dc/USD.doc/dc
  4. +1,760 −0 usr.bin/dc/bcode.c
  5. +97 −0 usr.bin/dc/bcode.h
  6. +537 −0 usr.bin/dc/dc.1
  7. +120 −0 usr.bin/dc/dc.c
  8. +64 −0 usr.bin/dc/extern.h
  9. +411 −0 usr.bin/dc/inout.c
  10. +34 −0 usr.bin/dc/main.c
  11. +104 −0 usr.bin/dc/mem.c
  12. +353 −0 usr.bin/dc/stack.c
View
@@ -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>
@@ -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>
Oops, something went wrong.

0 comments on commit b2e5b3a

Please sign in to comment.