2001-03-23 11:11:10 -05:00
|
|
|
$OpenBSD: patch-sys_unix_Makefile_src,v 1.2 2001/03/23 16:11:11 espie Exp $
|
|
|
|
--- sys/unix/Makefile.src.orig Sat Aug 5 12:52:57 2000
|
|
|
|
+++ sys/unix/Makefile.src Fri Mar 23 03:06:08 2001
|
2000-04-16 16:48:56 -04:00
|
|
|
@@ -1,6 +1,7 @@
|
|
|
|
# NetHack Makefile.
|
|
|
|
# SCCS Id: @(#)Makefile.src 3.3 97/04/17
|
|
|
|
|
|
|
|
+include ${NETHACKCONFIG}
|
|
|
|
# newer makes predefine $(MAKE) to 'make' and do smarter processing of
|
|
|
|
# recursive make calls if $(MAKE) is used
|
|
|
|
# these makes allow $(MAKE) to be overridden by the environment if someone
|
2001-03-23 11:11:10 -05:00
|
|
|
@@ -144,8 +145,7 @@ GNOMEINC=-I/usr/lib/glib/include -I/usr/
|
2000-04-16 16:48:56 -04:00
|
|
|
# flags for debugging:
|
|
|
|
# CFLAGS = -g -I../include
|
|
|
|
|
|
|
|
-CFLAGS = -O -I../include
|
2001-03-23 11:11:10 -05:00
|
|
|
-LFLAGS =
|
2000-04-16 16:48:56 -04:00
|
|
|
+CFLAGS += -DHACKDIR=\"${NHDIR}\" -DHAVE_SYS_PARAM_H -I../include
|
|
|
|
|
2001-03-23 11:11:10 -05:00
|
|
|
# The Qt and Be window systems are written in C++, while the rest of
|
|
|
|
# NetHack is standard C. If using Qt, uncomment the LD line here to get
|
|
|
|
@@ -203,8 +203,6 @@ WINBEOBJ =
|
2000-04-16 16:48:56 -04:00
|
|
|
|
|
|
|
#
|
2001-03-23 11:11:10 -05:00
|
|
|
#
|
2000-04-16 16:48:56 -04:00
|
|
|
-WINSRC = $(WINTTYSRC)
|
|
|
|
-WINOBJ = $(WINTTYOBJ)
|
2001-03-23 11:11:10 -05:00
|
|
|
|
2000-04-16 16:48:56 -04:00
|
|
|
# on some systems the termcap library is in -ltermcap or -lcurses
|
|
|
|
# on 386 Xenix, the -ltermlib tputs() seems not to work; use -lcurses instead
|
2001-03-23 11:11:10 -05:00
|
|
|
@@ -224,7 +222,7 @@ WINTTYLIB = -ltermlib
|
2000-04-16 16:48:56 -04:00
|
|
|
#
|
|
|
|
# libraries for X11
|
|
|
|
# If USE_XPM is defined in config.h, you will also need -lXpm here.
|
|
|
|
-WINX11LIB = -lXaw -lXmu -lXext -lXt -lX11
|
|
|
|
+WINX11LIB = -lXaw -lXmu -lXext -lXt -lX11 -lXpm
|
|
|
|
# WINX11LIB = -lXaw -lXmu -lXt -lX11
|
|
|
|
# WINX11LIB = -lXaw -lXmu -lXext -lXt -lXpm -lX11 -lm
|
|
|
|
# WINX11LIB = -lXaw -lXmu -lXpm -lXext -lXt -lX11 -lSM -lICE -lm # BSD/OS 2.0
|
2001-03-23 11:11:10 -05:00
|
|
|
@@ -243,8 +241,6 @@ WINGEMLIB = -le_gem -lgem
|
2000-04-16 16:48:56 -04:00
|
|
|
#
|
2001-03-23 11:11:10 -05:00
|
|
|
# libraries for BeOS
|
|
|
|
WINBELIB = -lbe
|
2000-04-16 16:48:56 -04:00
|
|
|
-
|
2001-03-23 11:11:10 -05:00
|
|
|
-WINLIB = $(WINTTYLIB)
|
|
|
|
|
2000-04-16 16:48:56 -04:00
|
|
|
# any other strange libraries your system needs (for Sysunix only -- the more
|
|
|
|
# specialized targets should already be right)
|