summaryrefslogtreecommitdiff
path: root/makeinclude.in
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2001-02-12 15:12:14 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2001-02-12 15:12:14 +0000
commit86b5507486164da7cd7a71c6a688666ee3fb5d83 (patch)
tree730d6799520894c2cdaa2ac12d14f7a8cd8e8c53 /makeinclude.in
parent7eae5f4f873fc3911bf8ee3556391e89b1ec597e (diff)
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
Diffstat (limited to 'makeinclude.in')
-rw-r--r--makeinclude.in24
1 files changed, 21 insertions, 3 deletions
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 $".
#