Home | History | Annotate | Line # | Download | only in proxyOld
Makefile revision 1.1.1.2
      1  1.1.1.2  lukem # OpenLDAP: pkg/ldap/contrib/slapd-modules/proxyOld/Makefile,v 1.1.2.1 2009/08/17 21:48:59 quanah Exp
      2  1.1.1.2  lukem # This work is part of OpenLDAP Software <http://www.openldap.org/>.
      3  1.1.1.2  lukem #
      4  1.1.1.2  lukem # Copyright 2005-2009 The OpenLDAP Foundation.
      5  1.1.1.2  lukem # Portions Copyright 2005 Howard Chu, Symas Corp. All Rights Reserved.
      6      1.1  lukem #
      7      1.1  lukem # Redistribution and use in source and binary forms, with or without
      8      1.1  lukem # modification, are permitted only as authorized by the OpenLDAP
      9      1.1  lukem # Public License.
     10      1.1  lukem #
     11      1.1  lukem # A copy of this license is available in the file LICENSE in the
     12      1.1  lukem # top-level directory of the distribution or, alternatively, at
     13      1.1  lukem # <http://www.OpenLDAP.org/license.html>.
     14      1.1  lukem #
     15      1.1  lukem LIBTOOL=../../../libtool
     16      1.1  lukem ROOT=../../../../..
     17      1.1  lukem rundir=$(LIB)
     18      1.1  lukem instdir=$(LIB)/openldap
     19      1.1  lukem CFLAGS=-g -O2
     20      1.1  lukem CC=$(C_CC)
     21      1.1  lukem INSTALL=../../../build/shtool install -c
     22      1.1  lukem LTVER=1:0:0
     23      1.1  lukem 
     24      1.1  lukem INCS=-I../../../include -I../../../servers/slapd -I ../../../../../opt/symas/include
     25      1.1  lukem 
     26      1.1  lukem LIBS=../../../libraries/libldap_r/libldap_r.la ../../../libraries/liblber/liblber.la
     27      1.1  lukem 
     28      1.1  lukem all:	proxyOld.la
     29      1.1  lukem 
     30      1.1  lukem proxyOld.lo:	proxyOld.c
     31      1.1  lukem 	$(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(DEFS) $(INCS) -c $?
     32      1.1  lukem 
     33      1.1  lukem proxyOld.la:	proxyOld.lo
     34      1.1  lukem 	$(LIBTOOL) --mode=link $(CC) $(OPT) $(LDFLAGS) -version-info $(LTVER) \
     35      1.1  lukem 	-rpath $(rundir) -module -o $@ $? $(LIBS) $(LIBEXTRAS)
     36      1.1  lukem 
     37      1.1  lukem install:
     38      1.1  lukem 	-mkdir $(DESTDIR)$(instdir)
     39      1.1  lukem 	$(LIBTOOL) --mode=install $(INSTALL) -m 644 proxyOld.la $(DESTDIR)$(instdir)
     40      1.1  lukem 
     41      1.1  lukem clean:
     42      1.1  lukem 	rm -rf *.o *.lo *.la .libs .libt
     43      1.1  lukem 
     44      1.1  lukem veryclean: clean
     45