--- Makefile.orig	Wed Nov 12 10:12:20 2003
+++ Makefile	Thu Jun 15 21:12:23 2006
@@ -1,6 +1,7 @@
-include ../platform-settings
+INCDIR=        ${PREFIX}/include/jabber
+include ${INCDIR}/platform-settings
 
-CFLAGS=$(CCFLAGS) -I../jabberd
+CFLAGS:=$(CFLAGS) -I${INCDIR}
 
 jud_OBJECTS=jud.o jud_reg.o jud_search.o
 
