--- Makefile.orig	Tue Feb 25 14:25:42 2003
+++ Makefile	Wed Sep 26 13:29:56 2007
@@ -6,7 +6,7 @@
 
 #   the used tools
 APXS=apxs
-APACHECTL=/etc/rc.d/apache
+APACHECTL=${PREFIX}/sbin/apachectl
 
 #   the default target
 all: mod_ntlm.so
@@ -17,7 +17,7 @@
 
 #   install the shared object file into Apache 
 install: all
-	$(APXS) -i -a -n 'ntlm' mod_ntlm.so
+	$(APXS) -i -a -n 'ntlm' .libs/mod_ntlm.so
 
 #   cleanup
 clean:
