19 lines
800 B
Text
19 lines
800 B
Text
$NetBSD: patch-ao,v 1.5 2015/07/04 16:18:28 joerg Exp $
|
|
|
|
--- spkit/spkit/Makefile.netbsd.orig 2003-09-16 01:06:28.000000000 +0200
|
|
+++ spkit/spkit/Makefile.netbsd
|
|
@@ -5,11 +5,10 @@ TOOLTIP = ../../tooltips
|
|
BACKDIR = ../../bak/spkit/spkit
|
|
MAINDIR = ../../main
|
|
HOMEDIR = $(HOME)
|
|
-X11DIR = /usr/X11R6
|
|
-INCDIR = -I. -I.. -I../.. -I$(SOUND) -I$(MAINDIR) -I$(TOOLTIP) -I$(X11DIR)/include -I$(X11DIR)/include/X11 -I$(OTHER_INCLUDE_DIR)
|
|
+X11DIR = ${X11BASE}
|
|
+INCDIR = -I. -I.. -I../.. -I$(SOUND) -I$(MAINDIR) -I$(TOOLTIP) -I$(X11DIR)/include -I$(X11DIR)/include/X11 -I$(OTHER_INCLUDE_DIR) -I${LOCALBASE}/include
|
|
CCFLAGS = $(INCDIR) $(DEBUG) $(OPTIM) -DLINUX -DNETBSD -DBIGENDIAN -DUSINGGCC -Wall -Wno-unused
|
|
-DEBUG = -g3
|
|
-OPTIM = -O2
|
|
+OPTIM = ${CFLAGS}
|
|
|
|
.c.o:
|
|
$(CC) $(CCFLAGS) -c $*.c -o $*.o
|