1 #Copyright (C) 1989, 1990, 1991 Free Software Foundation, Inc.
2 # Written by James Clark (jjc@jclark.uucp)
4 #This file is part of groff.
6 #groff is free software; you can redistribute it and/or modify it under
7 #the terms of the GNU General Public License as published by the Free
8 #Software Foundation; either version 1, or (at your option) any later
11 #groff is distributed in the hope that it will be useful, but WITHOUT ANY
12 #WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 #FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16 #You should have received a copy of the GNU General Public License along
17 #with groff; see the file LICENSE. If not, write to the Free Software
18 #Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
30 OBJECTS
=pic.tab.o
lex.o main.o object.o common.o troff.o
tex.o
# fig.o
31 SOURCES
=pic.tab.c
lex.c main.c object.c common.c troff.c
tex.c
32 HEADERS
=pic.h text.h output.h object.h common.h position.h
35 $(CC
) -c
$(INCLUDES
) $(CFLAGS
) $<
39 pic
: $(OBJECTS
) ..
/lib
/libgroff.a
40 $(CC
) $(LDFLAGS
) -o
$@
$(OBJECTS
) ..
/lib
/libgroff.a
$(MLIBS
)
43 $(YACC
) $(YACCFLAGS
) -d pic.y
47 PIC_H
= pic.h text.h output.h position.h \
48 ..
/lib
/lib.h ..
/lib
/errarg.h ..
/lib
/error.h ..
/lib
/assert.h \
49 ..
/lib
/stringclass.h ..
/lib
/cset.h
51 pic.tab.o
: $(PIC_H
) object.h
52 object.o
: $(PIC_H
) object.h
53 troff.o
: $(PIC_H
) common.h
54 tex.o
: $(PIC_H
) common.h
56 common.o
: $(PIC_H
) common.h
58 lex.o
: $(PIC_H
) pic.tab.c object.h
61 @
#load $(INCLUDES) $(CFLAGS) $(SOURCES) ../lib/libgroff.a -lm
64 $(ETAGS
) $(ETAGSFLAGS
) $(SOURCES
) $(HEADERS
)
70 -rm -f pic.output y.output TAGS
73 -rm -f pic.tab.c pic.tab.h
76 -[ -d
$(BINDIR
) ] || mkdir
$(BINDIR
)
82 install: install.bin
install.nobin