summaryrefslogtreecommitdiff
path: root/eqn/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'eqn/Makefile')
-rw-r--r--eqn/Makefile89
1 files changed, 0 insertions, 89 deletions
diff --git a/eqn/Makefile b/eqn/Makefile
deleted file mode 100644
index 800c4306c..000000000
--- a/eqn/Makefile
+++ /dev/null
@@ -1,89 +0,0 @@
-#Copyright (C) 1989, 1990, 1991 Free Software Foundation, Inc.
-# Written by James Clark (jjc@jclark.uucp)
-#
-#This file is part of groff.
-#
-#groff is free software; you can redistribute it and/or modify it under
-#the terms of the GNU General Public License as published by the Free
-#Software Foundation; either version 1, or (at your option) any later
-#version.
-#
-#groff is distributed in the hope that it will be useful, but WITHOUT ANY
-#WARRANTY; without even the implied warranty of MERCHANTABILITY or
-#FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
-#for more details.
-#
-#You should have received a copy of the GNU General Public License along
-#with groff; see the file LICENSE. If not, write to the Free Software
-#Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
-
-BINDIR=/usr/local/bin
-# default device
-DEVICE=ps
-CFLAGS=-g -O -Wall
-CC=g++
-INCLUDES=-I../lib
-YACC=bison -y
-YACCFLAGS=-v
-ETAGS=etags
-ETAGSFLAGS=-p
-OBJECTS=eqn.tab.o main.o lex.o box.o limit.o list.o over.o text.o \
- script.o mark.o other.o delim.o sqrt.o pile.o special.o
-SOURCES=main.c lex.c eqn.y box.c limit.c list.c over.c text.c \
- script.c mark.c other.c delim.c sqrt.c pile.c special.c \
- eqn.h box.h pbox.h
-
-.c.o:
- $(CC) -c $(INCLUDES) $(CFLAGS) $<
-
-all: eqn
-
-eqn: $(OBJECTS) ../lib/libgroff.a
- $(CC) $(LDFLAGS) -o $@ $(OBJECTS) ../lib/libgroff.a $(LIBS)
-
-eqn.tab.c: eqn.y
- $(YACC) $(YACCFLAGS) -d eqn.y
- mv y.tab.c eqn.tab.c
- mv y.tab.h eqn.tab.h
-
-eqn.tab.o: box.h
-box.o: eqn.h box.h pbox.h
-limit.o: eqn.h box.h pbox.h
-text.o: eqn.h box.h pbox.h ../lib/ptable.h
-over.o: eqn.h box.h pbox.h
-list.o: eqn.h box.h pbox.h
-script.o: eqn.h box.h pbox.h
-mark.o: eqn.h box.h pbox.h
-other.o: eqn.h box.h pbox.h
-delim.o: eqn.h box.h pbox.h
-sqrt.o: eqn.h box.h pbox.h
-pile.o: eqn.h box.h pbox.h
-special.o: eqn.h box.h pbox.h
-main.o: device.h eqn.h box.h ../lib/stringclass.h
-lex.o: eqn.h eqn.tab.c box.h ../lib/stringclass.h ../lib/ptable.h
-
-device.h: FORCE
- @$(SHELL) ../gendef $@ "DEVICE=\"$(DEVICE)\""
-
-install.bin: eqn
- -[ -d $(BINDIR) ] || mkdir $(BINDIR)
- -rm -f $(BINDIR)/geqn
- cp eqn $(BINDIR)/geqn
-
-install.nobin:
-
-install: install.bin install.nobin
-
-TAGS: $(SOURCES)
- $(ETAGS) $(ETAGSFLAGS) $(SOURCES)
-
-clean:
- -rm -f *.o core eqn gmon.out device.h
-
-distclean: clean
- -rm -f TAGS eqn.output y.output
-
-realclean: distclean
- -rm -f eqn.tab.c eqn.tab.h
-
-FORCE: