mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-27 01:59:38 -05:00
libtoolize
This commit is contained in:
parent
4988447cf1
commit
4e08a2da1b
1 changed files with 8 additions and 4 deletions
|
|
@ -1,9 +1,13 @@
|
|||
CPPFLAGS+=-I../../../include -I../../../servers/slapd
|
||||
|
||||
all: nops.so
|
||||
all: nops.la
|
||||
|
||||
nops.so: nops.c
|
||||
$(CC) -shared $(CPPFLAGS) -Wall -o $@ $?
|
||||
nops.lo: nops.c
|
||||
$(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) -c $?
|
||||
|
||||
nops.la: nops.lo
|
||||
$(LIBTOOL) --mode=link $(CC) -version-info 0:0:0 \
|
||||
-rpath $(PREFIX)/lib -module -o $@ $?
|
||||
|
||||
clean:
|
||||
rm nops.so
|
||||
rm nops.lo nops.la
|
||||
|
|
|
|||
Loading…
Reference in a new issue