1 # Copyright (C) 1992-2014 Free Software Foundation, Inc.
2 # Written by James Clark (jjc@jclark.com)
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 3 of the License, or
9 # (at your option) any later version.
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
17 # along with this program. If not, see <http://www.gnu.org/licenses/>.
22 $(top_srcdir)/Makefile.comm \
23 $(top_builddir)/Makefile.cfg \
24 $(srcdir)/Makefile.sub \
25 $(top_srcdir)/Makefile.ccpg \
28 all: $(PROG) $(MANPAGES)
30 $(PROG): $(OBJS) $(XLIBS)
31 $(LINK.cpp) -o $@ $(OBJS) $(XLIBS) $(EXTRA_LDFLAGS) $(LIBS) $(MLIB)
33 install_bin: install_prog
35 install_data: install_man
36 install_man: $(MANPAGES)
37 uninstall_sub: uninstall_prog uninstall_man
39 depend.temp: $(GENSRCS) $(YTABC)
42 TAGS_src: $(CCSRCS) $(CSRCS) $(GRAM) $(HDRS)
43 Makefile: $(MAKEFILEPARTS)
46 $(top_builddir)/stamp-h $(MANPAGES): $(top_srcdir)/VERSION \
47 $(top_srcdir)/REVISION
51 $(PROG).pure: $(OBJS) $(XLIBS)
52 $(PURIFY) $(PURIFYCCFLAGS) \
53 $(LINK.cpp) -o $@ $(OBJS) $(XLIBS) $(LIBS) $(MLIB)
55 ########################################################################
57 ########################################################################