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