libaltos needs -I. on all systems
authorKeith Packard <keithp@keithp.com>
Tue, 27 Jul 2010 07:08:38 +0000 (00:08 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 27 Jul 2010 07:08:38 +0000 (00:08 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
ao-tools/libaltos/Makefile

index 5cdc0fa..7ed45b7 100644 (file)
@@ -2,7 +2,7 @@ OS:=$(shell uname)
 
 ifeq ($(OS),Linux)
 
-JAVA_CFLAGS=-I/usr/lib/jvm/java-6-openjdk/include -I.
+JAVA_CFLAGS=-I/usr/lib/jvm/java-6-openjdk/include
 
 OS_CFLAGS=-DLINUX -DPOSIX_TTY $(JAVA_CFLAGS)
 
@@ -52,7 +52,7 @@ all: libaltos.$(LIBEXT) cjnitest $(CLASSFILES)
 .java.class:
        javac -cp "$(CLASSPATH)" $(JAVAFLAGS) $*.java
 
-CFLAGS=$(OS_CFLAGS) -O0 -g
+CFLAGS=$(OS_CFLAGS) -O0 -g -I.
 
 HEADERS=libaltos.h
 SRCS = libaltos.c $(SWIG_WRAP)