mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-09 02:52:04 +08:00
21 lines
501 B
Makefile
21 lines
501 B
Makefile
LIBTOOL=../../../libtool
|
|
|
|
CPPFLAGS+=-I../../../include -I../../../servers/slapd
|
|
|
|
all: autogroup.la
|
|
|
|
autogroup.lo: autogroup.c
|
|
$(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) -Wall -c $?
|
|
|
|
autogroup.la: autogroup.lo
|
|
$(LIBTOOL) --mode=link $(CC) -version-info 0:0:0 \
|
|
-rpath $(PREFIX)/lib -module -o $@ $?
|
|
|
|
clean:
|
|
rm -f autogroup.lo autogroup.la
|
|
|
|
install: autogroup.la
|
|
mkdir -p $(PREFIX)/lib/openldap
|
|
$(LIBTOOL) --mode=install cp autogroup.la $(PREFIX)/lib/openldap
|
|
$(LIBTOOL) --finish $(PREFIX)/lib
|