diff options
author | Matthew Hunt <mph@FreeBSD.org> | 1998-04-17 21:52:20 +0000 |
---|---|---|
committer | Matthew Hunt <mph@FreeBSD.org> | 1998-04-17 21:52:20 +0000 |
commit | 7091278830f60c5d67a2ec24b95f59a85af43822 (patch) | |
tree | d2bd5fa6bba6373cab173dc9b5c2441ea75b32e2 /lang/intercal/files/patch-aa | |
parent | Remove the MOTIFLIB= (i.e., defined to be empty) line from config/FreeBSD.mk, (diff) |
Import of the INTERCAL compiler, ick, version 0.17.
PR: 6080
Notes
Notes:
svn path=/head/; revision=10547
Diffstat (limited to 'lang/intercal/files/patch-aa')
-rw-r--r-- | lang/intercal/files/patch-aa | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/lang/intercal/files/patch-aa b/lang/intercal/files/patch-aa new file mode 100644 index 000000000000..12b5f3723008 --- /dev/null +++ b/lang/intercal/files/patch-aa @@ -0,0 +1,67 @@ +--- Makefile.orig Fri Feb 27 02:33:59 1998 ++++ Makefile Fri Apr 17 17:44:20 1998 +@@ -8,31 +8,31 @@ + # all over creation behind your back. + # (/dev/null may be another good choice :-)) + +-DVMT=~/WWW/intercal-0.17 +-#DVMT=/usr/local ++#DVMT=~/WWW/intercal-0.17 ++DVMT=$(PREFIX) + + BINDIR = $(DVMT)/bin +-INCDIR = $(DVMT)/lib +-LIBDIR = $(DVMT)/lib ++INCDIR = $(DVMT)/share/intercal ++LIBDIR = $(DVMT)/lib/intercal + #INCDIR = $(PWD) + #LIBDIR = $(PWD) + + YDEBUG = -vlt +-DEBUG = -g -DDEBUG ++# DEBUG = -g -DDEBUG + # DEBUG = -O +-CFLAGS = -I. $(DEBUG) -DICKINCLUDEDIR=\"$(INCDIR)\" \ ++CFLAGS += -I. $(DEBUG) -DICKINCLUDEDIR=\"$(INCDIR)\" \ + -DICKLIBDIR=\"$(LIBDIR)\" -DYYDEBUG + LDFLAGS = + +-CC = gcc -Wall -W ++#CC = gcc -Wall -W + + # You can use lex or flex +-#LEX = lex +-LEX = flex ++LEX = lex ++#LEX = flex + + # You can use either yacc or bison +-#YACC = yacc +-YACC = bison -y ++YACC = yacc ++#YACC = bison -y + + CSOURCES = ick.y lexer.l feh.c lose.c fiddle.c perpetrate.c + ISOURCES = cesspool.c arrgghh.c ick-wrap.c +@@ -53,7 +53,7 @@ + mv lex.yy.c lexer.c + + # Uncomment the following if using a stock lex +-# LEXLIBS = -ll ++LEXLIBS = -ll + lextest: y.tab.h lexer.c ick.h lose.o + $(CC) -DMAIN lexer.c lose.o $(LEXLIBS) -o lextest + +@@ -70,9 +70,9 @@ + -ranlib libick.a + + install: all +- cp ick $(BINDIR) +- cp lose.h abcess.h fiddle.h ick-wrap.c $(INCDIR) +- cp libick.a ../pit/lib/syslib.i ../pit/lib/syslib.?i $(LIBDIR) ++ $(BSD_INSTALL_PROGRAM) ick $(BINDIR) ++ $(BSD_INSTALL_DATA) lose.h abcess.h fiddle.h ick-wrap.c $(INCDIR) ++ $(BSD_INSTALL_DATA) libick.a ../pit/lib/syslib.i ../pit/lib/syslib.?i $(LIBDIR) + + clean: + rm -f yacc.* y.tab.* y.output *~ *.[oa] lexer.c ick.c lextest ick |