Home | History | Annotate | Line # | Download | only in proxyOld
Makefile revision 1.1
      1 # $OpenLDAP: pkg/ldap/contrib/slapd-modules/proxyOld/Makefile,v 1.1 2006/03/30 06:22:39 hyc Exp $
      2 # Copyright 2005 Howard Chu, Symas Corp. All Rights Reserved.
      3 #
      4 # Redistribution and use in source and binary forms, with or without
      5 # modification, are permitted only as authorized by the OpenLDAP
      6 # Public License.
      7 #
      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>.
     11 #
     12 LIBTOOL=../../../libtool
     13 ROOT=../../../../..
     14 rundir=$(LIB)
     15 instdir=$(LIB)/openldap
     16 CFLAGS=-g -O2
     17 CC=$(C_CC)
     18 INSTALL=../../../build/shtool install -c
     19 LTVER=1:0:0
     20 
     21 INCS=-I../../../include -I../../../servers/slapd -I ../../../../../opt/symas/include
     22 
     23 LIBS=../../../libraries/libldap_r/libldap_r.la ../../../libraries/liblber/liblber.la
     24 
     25 all:	proxyOld.la
     26 
     27 proxyOld.lo:	proxyOld.c
     28 	$(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(DEFS) $(INCS) -c $?
     29 
     30 proxyOld.la:	proxyOld.lo
     31 	$(LIBTOOL) --mode=link $(CC) $(OPT) $(LDFLAGS) -version-info $(LTVER) \
     32 	-rpath $(rundir) -module -o $@ $? $(LIBS) $(LIBEXTRAS)
     33 
     34 install:
     35 	-mkdir $(DESTDIR)$(instdir)
     36 	$(LIBTOOL) --mode=install $(INSTALL) -m 644 proxyOld.la $(DESTDIR)$(instdir)
     37 
     38 clean:
     39 	rm -rf *.o *.lo *.la .libs .libt
     40 
     41 veryclean: clean
     42