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