Home | History | Annotate | Line # | Download | only in allop
Makefile revision 1.1.1.1.2.2
      1  1.1.1.1.2.2  tls # $OpenLDAP$
      2  1.1.1.1.2.2  tls 
      3  1.1.1.1.2.2  tls LDAP_SRC = ../../..
      4  1.1.1.1.2.2  tls LDAP_BUILD = ../../..
      5  1.1.1.1.2.2  tls LDAP_INC = -I$(LDAP_BUILD)/include -I$(LDAP_SRC)/include -I$(LDAP_SRC)/servers/slapd
      6  1.1.1.1.2.2  tls LDAP_LIB = $(LDAP_BUILD)/libraries/libldap_r/libldap_r.la \
      7  1.1.1.1.2.2  tls 	$(LDAP_BUILD)/libraries/liblber/liblber.la
      8  1.1.1.1.2.2  tls 
      9  1.1.1.1.2.2  tls LIBTOOL = $(LDAP_BUILD)/libtool
     10  1.1.1.1.2.2  tls CC = gcc
     11  1.1.1.1.2.2  tls OPT = -g -O2 -Wall
     12  1.1.1.1.2.2  tls DEFS = 
     13  1.1.1.1.2.2  tls INCS = $(LDAP_INC)
     14  1.1.1.1.2.2  tls LIBS = $(LDAP_LIB)
     15  1.1.1.1.2.2  tls 
     16  1.1.1.1.2.2  tls PROGRAMS = allop.la
     17  1.1.1.1.2.2  tls LTVER = 0:0:0
     18  1.1.1.1.2.2  tls 
     19  1.1.1.1.2.2  tls prefix=/usr/local
     20  1.1.1.1.2.2  tls exec_prefix=$(prefix)
     21  1.1.1.1.2.2  tls ldap_subdir=/openldap
     22  1.1.1.1.2.2  tls 
     23  1.1.1.1.2.2  tls libdir=$(exec_prefix)/lib
     24  1.1.1.1.2.2  tls libexecdir=$(exec_prefix)/libexec
     25  1.1.1.1.2.2  tls moduledir = $(libexecdir)$(ldap_subdir)
     26  1.1.1.1.2.2  tls 
     27  1.1.1.1.2.2  tls .SUFFIXES: .c .o .lo
     28  1.1.1.1.2.2  tls 
     29  1.1.1.1.2.2  tls .c.lo:
     30  1.1.1.1.2.2  tls 	$(LIBTOOL) --mode=compile $(CC) $(OPT) $(DEFS) $(INCS) -c $<
     31  1.1.1.1.2.2  tls 
     32  1.1.1.1.2.2  tls all: $(PROGRAMS)
     33  1.1.1.1.2.2  tls 
     34  1.1.1.1.2.2  tls allop.la: allop.lo
     35  1.1.1.1.2.2  tls 	$(LIBTOOL) --mode=link $(CC) $(OPT) -version-info $(LTVER) \
     36  1.1.1.1.2.2  tls 	-rpath $(moduledir) -module -o $@ $? $(LIBS)
     37  1.1.1.1.2.2  tls 
     38  1.1.1.1.2.2  tls clean:
     39  1.1.1.1.2.2  tls 	rm -rf *.o *.lo *.la .libs
     40  1.1.1.1.2.2  tls 
     41  1.1.1.1.2.2  tls install: $(PROGRAMS)
     42  1.1.1.1.2.2  tls 	mkdir -p $(DESTDIR)$(moduledir)
     43  1.1.1.1.2.2  tls 	for p in $(PROGRAMS) ; do \
     44  1.1.1.1.2.2  tls 		$(LIBTOOL) --mode=install cp $$p $(DESTDIR)$(moduledir) ; \
     45  1.1.1.1.2.2  tls 	done
     46  1.1.1.1.2.2  tls 
     47