$NetBSD: patch-ap,v 1.4 2001/05/31 12:30:12 agc Exp $ --- tooltips/Makefile.netbsd.orig Thu Feb 24 01:01:26 2000 +++ tooltips/Makefile.netbsd Mon Apr 10 20:34:10 2000 @@ -29,17 +29,19 @@ XFORMS_INCLUDE_DIR = $(HOME)/xforms/FORMS # Define where the X11 include files are. -X11_INCLUDE_DIR = /usr/X11R6/include/X11 +X11_INCLUDE_DIR = ${X11BASE}/include/X11 # Define where the X11 include files are for Sun systems SUN_INCLUDE_DIR = /usr/openwin/include # Define other include file directories. -OTHER_INCLUDE_DIR = /usr/X11R6/include +OTHER_INCLUDE_DIR = ${X11PREFIX}/include/X11 + +X11_BASE_INCLUDE= ${X11BASE}/include # Uncomment out this line if you do not want debug information included. # DEBUG = -g -Wall -ansi -pedantic -DEBUG = +DEBUG = -O2 # Set the default optimisation OPTIM = -O1 @@ -47,7 +49,7 @@ # Define the utilities to use for compilation. CC = gcc CCOPTS = $(DEBUG) $(OPTIM) -I$(XFORMS_INCLUDE_DIR) -I$(X11_INCLUDE_DIR) \ - -I$(SUN_INCLUDE_DIR) -I$(OTHER_INCLUDE_DIR) + -I$(SUN_INCLUDE_DIR) -I$(OTHER_INCLUDE_DIR) -I${X11_BASE_INCLUDE} AR = ar AROPTS = ruv SED = sed