summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Spitzak <spitzak@gmail.com>2001-04-26 07:11:58 +0000
committerBill Spitzak <spitzak@gmail.com>2001-04-26 07:11:58 +0000
commit36b469928ed6833c792dc1a7451e6b65b08dc266 (patch)
tree138c83c8a2a1c28b14b3726bb53d8267f5b3d3da
parentd3afe9c10a216843c5ad01be1c373251464c85c0 (diff)
Fixed makeinclude.os2x from Alexander Mai
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1442 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--makefiles/Makefile.os2x6
-rw-r--r--makefiles/makeinclude.os2x76
2 files changed, 51 insertions, 31 deletions
diff --git a/makefiles/Makefile.os2x b/makefiles/Makefile.os2x
index 0589595c8..6373be6b3 100644
--- a/makefiles/Makefile.os2x
+++ b/makefiles/Makefile.os2x
@@ -1,9 +1,9 @@
#
-# "$Id: Makefile.os2x,v 1.6.2.6 2001/01/22 15:13:39 easysw Exp $"
+# "$Id: Makefile.os2x,v 1.6.2.7 2001/04/26 07:11:58 spitzak Exp $"
#
# Top-level makefile for the Fast Light Tool Kit (FLTK).
#
-# Copyright 1998-2001 by Bill Spitzak and others.
+# Copyright 1998-2000 by Bill Spitzak and others.
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
@@ -74,5 +74,5 @@ makeinclude: makefiles/makeinclude.os2x
cp $< $@
#
-# End of "$Id: Makefile.os2x,v 1.6.2.6 2001/01/22 15:13:39 easysw Exp $".
+# End of "$Id: Makefile.os2x,v 1.6.2.7 2001/04/26 07:11:58 spitzak Exp $".
#
diff --git a/makefiles/makeinclude.os2x b/makefiles/makeinclude.os2x
index 04135baf4..557844d41 100644
--- a/makefiles/makeinclude.os2x
+++ b/makefiles/makeinclude.os2x
@@ -1,7 +1,8 @@
#
-# "$Id: makeinclude.os2x,v 1.1.2.2 2001/01/22 15:13:39 easysw Exp $"
+# "$Id: makeinclude.os2x,v 1.1.2.3 2001/04/26 07:11:58 spitzak Exp $"
#
# Make include file for the Fast Light Tool Kit (FLTK).
+# Generated automatically from makeinclude.in by configure.
#
# Copyright 1998-2001 by Bill Spitzak and others.
#
@@ -23,40 +24,49 @@
# Please report all bugs and problems to "fltk-bugs@fltk.org".
#
-prefix = $(X11ROOT)/XFree86
-exec_prefix = $(prefix)
-bindir = $(exec_prefix)/bin
-includedir = $(prefix)/include
-libdir = $(exec_prefix)/lib
-srcdir = .
-VPATH = .
+prefix =/usr/local
+exec_prefix =${prefix}
+bindir =${exec_prefix}/bin
+datadir =${prefix}/share
+includedir =${prefix}/include
+libdir =${exec_prefix}/lib
+mandir =${prefix}/man
+srcdir =.
+
+# programs we use...
+HTMLDOC =e:/XFree86/bin/htmldoc.exe
+NROFF =e:/usr/local/bin/nroff
# compiler names:
-CXX = gcc
-CC = gcc
-MAKEDEPEND = gcc -MD
+CXX =gcc.exe
+CC =gcc.exe
+MAKEDEPEND =$(CXX) -M
# flags for C++ compiler:
-CFLAGS = -Wall -O4 -mpentium -Zmt
-CXXFLAGS = -Wall -O4 -mpentium -Zmt -fno-exceptions
-LDFLAGS = -Zexe -Zmt -Zcrtdll -s
+CFLAGS = -O2 -Wall -O4 -mpentium -Zmt -fno-exceptions
+CXXFLAGS = -O2 -Wall -O4 -mpentium -Zmt -fno-exceptions
+LDFLAGS = -Zexe -Zmt -Zcrtdll -Zbsd-signals -Zbin-files
# program to make the archive:
-LIBNAME = fltk.a
-LIBCOMMAND = ar rc
-RANLIB = ar s
-DSONAME =
-DSOCOMMAND = echo
+LIBNAME =fltk.a
+LIBCOMMAND =ar cr
+RANLIB =ar.exe s
+DSONAME =
+DSOCOMMAND =echo
# libraries to link with:
-LDLIBS = $(LDFLAGS) -lXext -lX11 -lExtensions
-GLDLIBS = $(LDFLAGS) -lXext -lX11 -lExtensions
+LDLIBS = $(LDFLAGS) -s -lX11 -lXext -lsocket -lshm -lm
+GLDLIBS = $(LDFLAGS) -s -lX11 -lXext -lsocket -lshm -lm
+
+# Man page extensions...
+CAT1EXT =1
+CAT3EXT =3
# Be quiet when building...
-#.SILENT:
+.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 $@...
@@ -64,14 +74,24 @@ GLDLIBS = $(LDFLAGS) -lXext -lX11 -lExtensions
.c.o:
echo Compiling $@...
- $(CC) -I.. $(CXXFLAGS) $< -c
+ $(CC) -I.. $(CFLAGS) -c $<
.cxx.o:
echo Compiling $@...
- $(CXX) -I.. $(CXXFLAGS) $< -c
+ $(CXX) -I.. $(CXXFLAGS) -c $<
+
+.man.0 .man.1 .man.3:
+ echo Formatting $<...
+ rm -f $@
+ $(NROFF) -man $< >$@
+
+.man.z:
+ echo Formatting $<...
+ rm -f $@ t.z
+ $(NROFF) -man $< >t
+ pack -f t
+ mv t.z $@
#
-# End of "$Id: makeinclude.os2x,v 1.1.2.2 2001/01/22 15:13:39 easysw Exp $".
+# End of "$Id: makeinclude.os2x,v 1.1.2.3 2001/04/26 07:11:58 spitzak Exp $".
#
-
-export