From 86b5507486164da7cd7a71c6a688666ee3fb5d83 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Mon, 12 Feb 2001 15:12:14 +0000 Subject: Configure script changes to support man pages, HTMLDOC, AIX/QNX with strings.h, etc. Add check for strings.h in fluid/factory.cxx. Add directories and man page rules to makeinclude.in Rename man page sources; these are formatted to the correct extensions. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1368 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- makeinclude.in | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) (limited to 'makeinclude.in') diff --git a/makeinclude.in b/makeinclude.in index 23985fd75..78559737b 100644 --- a/makeinclude.in +++ b/makeinclude.in @@ -1,5 +1,5 @@ # -# "$Id: makeinclude.in,v 1.7.2.8 2001/01/22 15:13:37 easysw Exp $" +# "$Id: makeinclude.in,v 1.7.2.9 2001/02/12 15:12:14 easysw Exp $" # # Make include file for the Fast Light Tool Kit (FLTK). # @configure_input@ @@ -27,11 +27,17 @@ prefix =@prefix@ exec_prefix =@exec_prefix@ bindir =@bindir@ +datadir =@datadir@ includedir =@includedir@ libdir =@libdir@ +mandir =@mandir@ srcdir =@srcdir@ VPATH =@srcdir@ +# programs we use... +HTMLDOC =@HTMLDOC@ +NROFF =@NROFF@ + # compiler names: CXX =@CXX@ CC =@CC@ @@ -56,7 +62,7 @@ GLDLIBS =@LDFLAGS@ @LIBS@ @GLLIB@ -lX11 -lXext @X_EXTRA_LIBS@ -lm .SILENT: # Build commands and filename extensions... -.SUFFIXES: .c .cxx .h .fl .o +.SUFFIXES: .0 .1 .3 .c .cxx .h .fl .man .o .z .cxx: echo Compiling and linking $@... @@ -70,6 +76,18 @@ GLDLIBS =@LDFLAGS@ @LIBS@ @GLLIB@ -lX11 -lXext @X_EXTRA_LIBS@ -lm echo Compiling $@... $(CXX) -I.. $(CXXFLAGS) -c $< +.man.0 .man.1 .man.3: + echo Formatting $<... + $(RM) $@ + $(NROFF) -man $< >$@ + +.man.z: + echo Formatting $<... + $(RM) $@ t.z + $(NROFF) -man $< >t + pack -f t + $(MV) t.z $@ + # -# End of "$Id: makeinclude.in,v 1.7.2.8 2001/01/22 15:13:37 easysw Exp $". +# End of "$Id: makeinclude.in,v 1.7.2.9 2001/02/12 15:12:14 easysw Exp $". # -- cgit v1.2.3