--- ./auth-ldap-1.0.1/Makefile.nanar 2005-05-11 00:55:36.871552911 +0200 +++ ./auth-ldap-1.0.1/Makefile 2005-05-11 00:56:28.436960644 +0200 @@ -3,8 +3,8 @@ # # This directory is where we will look for openvpn-plugin.h -OPENVPN?= /usr/local/src/openvpn-2.0_rc17 -LDAP?= /usr/local/ +OPENVPN=.. +LDAP= /usr INCLUDE= -I$(OPENVPN) -I$(LDAP)/include -I. LDFLAGS= -L$(LDAP)/lib @@ -15,10 +15,10 @@ OBJS= auth-ldap.o LFString.o LFLDAPConnection.o LFAuthLDAPConfig.o TEST_OBJS= $(OBJS) test.o -.c.o: +%.o: %.c gcc -c $< -o $@ ${CFLAGS} -.m.o: +%.o: %.m gcc -c $< -o $@ ${OBJCFLAGS} openvpn-auth-ldap.so : $(OBJS)