summaryrefslogtreecommitdiff
path: root/audio/dap/patches/patch-ap
blob: bf6765a97288dfc8702b3fc3e2817a555c9c59bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
$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