openldap/contrib/slapd-modules/passwd/sha2/Makefile
2009-01-26 04:08:34 +00:00

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