mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
16 lines
278 B
Makefile
16 lines
278 B
Makefile
# $OpenLDAP$
|
|
|
|
OPENLDAP := ../../../..
|
|
|
|
#CCFLAGS = -Wall -g -DSLAPD_SHA2_DEBUG
|
|
CCFLAGS = -Wall -g
|
|
|
|
slapd-sha2.so: slapd-sha2.o sha2.o
|
|
$(CC) -I$(OPENLDAP)/include -shared -Wall -g $^ -o $@
|
|
|
|
%.o: %.c
|
|
$(CC) -I$(OPENLDAP)/include $(CCFLAGS) -c $<
|
|
|
|
clean:
|
|
@rm -f slapd-sha2.so *.o
|