Home | History | Annotate | Line # | Download | only in autogroup
Makefile revision 1.1.1.2
      1 LIBTOOL=../../../libtool
      2 
      3 CPPFLAGS+=-I../../../include -I../../../servers/slapd
      4 
      5 all: autogroup.la
      6 
      7 autogroup.lo:	autogroup.c
      8 	$(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) -Wall -c $?
      9 
     10 autogroup.la:	autogroup.lo
     11 	$(LIBTOOL) --mode=link $(CC) -version-info 0:0:0 \
     12 	-rpath $(PREFIX)/lib -module -o $@ $? 
     13 
     14 clean:
     15 	rm -f autogroup.lo autogroup.la
     16 
     17 install: autogroup.la
     18 	mkdir -p $(PREFIX)/lib/openldap
     19 	$(LIBTOOL) --mode=install cp autogroup.la $(PREFIX)/lib/openldap
     20 	$(LIBTOOL) --finish $(PREFIX)/lib
     21