2 # This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 # Copyright 2005-2011 The OpenLDAP Foundation.
5 # Portions Copyright 2005 Howard Chu, Symas Corp. All Rights Reserved.
7 # Redistribution and use in source and binary forms, with or without
8 # modification, are permitted only as authorized by the OpenLDAP
11 # A copy of this license is available in the file LICENSE in the
12 # top-level directory of the distribution or, alternatively, at
13 # <http://www.OpenLDAP.org/license.html>.
15 LIBTOOL=../../../libtool
18 instdir=$(LIB)/openldap
21 INSTALL=../../../build/shtool install -c
24 INCS=-I../../../include -I../../../servers/slapd -I ../../../../../opt/symas/include
26 LIBS=../../../libraries/libldap_r/libldap_r.la ../../../libraries/liblber/liblber.la
30 proxyOld.lo: proxyOld.c
31 $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(DEFS) $(INCS) -c $?
33 proxyOld.la: proxyOld.lo
34 $(LIBTOOL) --mode=link $(CC) $(OPT) $(LDFLAGS) -version-info $(LTVER) \
35 -rpath $(rundir) -module -o $@ $? $(LIBS) $(LIBEXTRAS)
38 -mkdir $(DESTDIR)$(instdir)
39 $(LIBTOOL) --mode=install $(INSTALL) -m 644 proxyOld.la $(DESTDIR)$(instdir)
42 rm -rf *.o *.lo *.la .libs .libt