Makefile 315 Bytes
Newer Older
1
OPENLDAP_SRC=/usr/local/src/openldap-2.4.6
Gavin Henry's avatar
Gavin Henry committed
2
CPPFLAGS+=-I${OPENLDAP_SRC}/include -I${OPENLDAP_SRC}/servers/slapd
3
LDFLAGS+=-L/usr/local/openldap-2.4.6
Gavin Henry's avatar
Gavin Henry committed
4
5
6
7
8
9
10
11
12
CC=gcc

all: addpartial-overlay.so

addpartial-overlay.so: addpartial-overlay.c
	$(CC) -shared $(CPPFLAGS) $(LDFLAGS) -Wall -o $@ $?

clean:
	rm addpartial-overlay.so