]> git.sur5r.net Git - openldap/blobdiff - contrib/slapd-modules/nssov/Makefile
Happy New Year
[openldap] / contrib / slapd-modules / nssov / Makefile
index c2a13049de48e0b7ccaa3b004be1606b0103ca49..7daa7c11d928a01ec1e6f6d545fa70c44fe7df38 100644 (file)
@@ -1,7 +1,7 @@
 # $OpenLDAP$
 # This work is part of OpenLDAP Software <http://www.openldap.org/>.
 #
-# Copyright 2008-2012 The OpenLDAP Foundation.
+# Copyright 2008-2013 The OpenLDAP Foundation.
 # Portions Copyright 2008 Howard Chu, Symas Corp. All Rights Reserved.
 #
 # Redistribution and use in source and binary forms, with or without
 # <http://www.OpenLDAP.org/license.html>.
 
 # Path to the OpenLDAP source tree
-LDAPSRC=../../..
+LDAP_SRC=../../..
 
 # Path to the OpenLDAP object tree - same as above unless
 # you're doing out-of-tree builds.
-LDAPOBJ=../../..
+LDAP_BUILD=../../..
 
-LIBTOOL=$(LDAPOBJ)/libtool
-OPT=-g -O2
-CC=gcc
+LDAP_INC = -I$(LDAP_BUILD)/include -I$(LDAP_SRC)/include -I$(LDAP_SRC)/servers/slapd
+LDAP_LIB = $(LDAP_BUILD)/libraries/libldap_r/libldap_r.la \
+       $(LDAP_BUILD)/libraries/liblber/liblber.la
 
-LDAP_INC=-I$(LDAPOBJ)/include -I$(LDAPSRC)/include -I$(LDAPSRC)/servers/slapd
 NLDAPD_INC=-Inss-pam-ldapd
-INCS=$(LDAP_INC) $(NLDAPD_INC)
 
-LDAP_LIB=-lldap_r -llber
-LIBS=$(LDAP_LIB)
+LIBTOOL = $(LDAP_BUILD)/libtool
+OPT = -g -O2 -Wall
+CC = gcc
+DEFS =
+INCS = $(LDAP_INC) $(NLDAPD_INC)
+LIBS = $(LDAP_LIB)
 
 prefix=/usr/local
 exec_prefix=$(prefix)