--- Makefile.orig Tue Apr 18 12:40:44 2006 +++ Makefile Tue Apr 18 13:41:51 2006 @@ -1,9 +1,6 @@ # Makefile for libdfui. # $Id: Makefile,v 1.28 2005/08/26 22:44:37 cpressey Exp $ -BASE?=../.. -include ${BASE}/Config - LIB= dfui LIB_VER=4 @@ -12,12 +9,11 @@ form.o \ dump.o system.o lang.o -CFLAGS+= ${EXTRA_CFLAGS} ${WARNS} -fPIC -I../libaura -CFLAGS+= -I/usr/src/lib -I/usr/src/lib/libcaps/${MACHINE_ARCH} -DSMP -CFLAGS+= -I/usr/local/include -I/usr/pkg/include -LDFLAGS+= -L../libaura -LDFLAGS+= -L/usr/local/lib -L/usr/pkg/lib -LDFLAGS+= -laura +CFLAGS+= ${EXTRA_CFLAGS} ${WARNS} -fPIC -I%%LOCALBASE%%/include/aura3 +CFLAGS+= -DSMP +CFLAGS+= -I%%LOCALBASE%%/include +LDFLAGS+= -L%%LOCALBASE%%/lib +LDFLAGS+= -laura3 # Default target: @@ -27,7 +23,6 @@ ${SONAME}: ${OBJS} ${CC} ${OBJS} -shared ${LDFLAGS} -o ${SONAME} - ${LN} -sf ${SONAME} ${SOLINK} ${ANAME}: ${OBJS} ${AR} rc ${ANAME} ${OBJS}