mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-30 21:49:25 +00:00
bc087374d3
Submitted by: Ade Lovett <ade@lovett.com>
68 lines
2.3 KiB
Plaintext
68 lines
2.3 KiB
Plaintext
--- makefiles/mk.FreeBSD.orig Tue Dec 10 16:39:02 1996
|
|
+++ makefiles/mk.FreeBSD Thu Dec 19 11:34:22 1996
|
|
@@ -6,7 +6,7 @@
|
|
# A machine-specific makefile is included by all other makefiles.
|
|
#
|
|
|
|
-#CPU = FreeBSD
|
|
+CPU = FreeBSD
|
|
MACHTYPE = x11
|
|
RANLIB = ranlib
|
|
CC = gcc
|
|
@@ -17,22 +17,24 @@
|
|
|
|
# Add the location of the Motif (Xm/*.h) include files to the path.
|
|
# (Or, add a /usr/include/Xm sym-link and remove this -I option.)
|
|
-SYSCOPTS = -pipe -DBSD -Dalloca=alloca -I/usr/include/X11
|
|
+SYSCOPTS = -pipe -DBSD -Dalloca=alloca -I${X11BASE}/include
|
|
|
|
-SYSXLIBDIR = /usr/X11R6/lib
|
|
-SYSMOTIFLIBS = -L${SYSXLIBDIR} -lXm
|
|
+SYSXLIBDIR = ${X11BASE}/lib
|
|
+SYSMOTIFLIBS = ${MOTIFLIB}
|
|
SYSXLIBS = -L${SYSXLIBDIR} -lXt -lXext -lXmu -lX11
|
|
|
|
# If you have the FORMS library, uncomment these lines and edit:
|
|
# set FORMSLIBS to the list of all libs needed
|
|
# and FORMSINC to the relevant -I options:
|
|
-# FORMSLIBS = -L/usr/local/lib -lforms -L${SYSXLIBDIR} -lX11
|
|
-# FORMSINC = -I/u/share/include/XForms
|
|
+#
|
|
+# XForms is available from /usr/ports/x11/xforms.
|
|
+FORMSLIBS = -L${X11BASE}/lib -lxforms -lX11
|
|
+FORMSINC = -I${X11BASE}/include
|
|
|
|
# If you have Tcl/Tk libraries (tk 4.0 or later), uncomment and edit:
|
|
# indicate cc options to find tk-related libraries and include-files.
|
|
-# TKLIBS = -L/usr/local/lib -ltk -ltcl -L${SYSXLIBDIR} -lX11
|
|
-# TKINC = -I/u/share/include
|
|
+TKLIBS = -L${LOCALBASE}/lib -ltk82 -ltcl82 -L${SYSXLIBDIR} -lX11
|
|
+TKINC = -I${LOCALBASE}/include/tcl8.2 -I${LOCALBASE}/include/tk8.2
|
|
|
|
|
|
# Choose or adapt one of the following sets of definitions.
|
|
@@ -43,9 +45,11 @@
|
|
# MGLIBS =
|
|
|
|
# for OpenGL using Mesa libraries:
|
|
+#
|
|
+# Mesa is available from /usr/ports/graphics/Mesa.
|
|
MGTYPE = -DMGOPENGL
|
|
-MGLIBS = -lMesaGL -lMesaGLU
|
|
-MGINC = # -IMesa-include-file directory
|
|
+MGLIBS = -L${X11BASE}/lib -lMesaGL -lMesaGLU
|
|
+MGINC = -I${X11BASE}/include/Mesa
|
|
|
|
# If the above stuff sets MGTYPE = -DMGOPENGL, and MGINC = whatever's needed
|
|
# for Open GL compilation, then you can also use MGMESAOPTS and/or MGC3DOPTS
|
|
@@ -66,6 +70,6 @@
|
|
# you can still do the following. Define MGX11OPTS to get a separate
|
|
# gvx.X11 geomview executable which uses our own software renderer.
|
|
# It's typically faster than the Mesa renderer, but less capable.
|
|
-# MGX11OPTS = MGTYPE="-DMGX11" \
|
|
-# MGLIBS= \
|
|
-# MGINC=
|
|
+MGX11OPTS = MGTYPE="-DMGX11" \
|
|
+ MGLIBS= \
|
|
+ MGINC=
|