summaryrefslogtreecommitdiff
path: root/pic/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'pic/Makefile')
-rw-r--r--pic/Makefile82
1 files changed, 0 insertions, 82 deletions
diff --git a/pic/Makefile b/pic/Makefile
deleted file mode 100644
index 31c26cd8c..000000000
--- a/pic/Makefile
+++ /dev/null
@@ -1,82 +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
-CC=g++
-CFLAGS=-g -O -Wall
-INCLUDES=-I../lib
-MLIBS=-lm
-YACCFLAGS=-v
-YACC=bison -y
-ETAGS=etags
-ETAGSFLAGS=-p
-
-OBJECTS=pic.tab.o lex.o main.o object.o common.o troff.o tex.o # fig.o
-SOURCES=pic.tab.c lex.c main.c object.c common.c troff.c tex.c
-HEADERS=pic.h text.h output.h object.h common.h position.h
-
-.c.o:
- $(CC) -c $(INCLUDES) $(CFLAGS) $<
-
-all: pic
-
-pic: $(OBJECTS) ../lib/libgroff.a
- $(CC) $(LDFLAGS) -o $@ $(OBJECTS) ../lib/libgroff.a $(MLIBS)
-
-pic.tab.c: pic.y
- $(YACC) $(YACCFLAGS) -d pic.y
- mv y.tab.c pic.tab.c
- mv y.tab.h pic.tab.h
-
-PIC_H= pic.h text.h output.h position.h \
- ../lib/lib.h ../lib/errarg.h ../lib/error.h ../lib/assert.h \
- ../lib/stringclass.h ../lib/cset.h
-
-pic.tab.o: $(PIC_H) object.h
-object.o: $(PIC_H) object.h
-troff.o: $(PIC_H) common.h
-tex.o: $(PIC_H) common.h
-# fig.o: $(PIC_H)
-common.o: $(PIC_H) common.h
-main.o: $(PIC_H)
-lex.o: $(PIC_H) pic.tab.c object.h
-
-saber_pic:
- @#load $(INCLUDES) $(CFLAGS) $(SOURCES) ../lib/libgroff.a -lm
-
-TAGS : $(SOURCES)
- $(ETAGS) $(ETAGSFLAGS) $(SOURCES) $(HEADERS)
-
-clean:
- -rm -f *.o core pic
-
-distclean: clean
- -rm -f pic.output y.output TAGS
-
-realclean: distclean
- -rm -f pic.tab.c pic.tab.h
-
-install.bin: pic
- -[ -d $(BINDIR) ] || mkdir $(BINDIR)
- -rm -f $(BINDIR)/gpic
- cp pic $(BINDIR)/gpic
-
-install.nobin:
-
-install: install.bin install.nobin