Files
freeipa/ipa-server/ipa-slapi-plugins/ipa-memberof/Makefile

26 lines
526 B
Makefile
Raw Normal View History

include ../../Makefile.common
SONAME = libipa-memberof-plugin.so
LDFLAGS += -llber
CFLAGS += -I/usr/include/$(DIRSRV) -I/usr/include/nss3 -I/usr/include/mozldap -I/usr/include/nspr4 -fPIC -DPIC
OBJS = $(patsubst %.c,%.o,$(wildcard *.c))
all: $(OBJS)
$(CC) $(LDFLAGS) $(OBJS) -Wl,-soname -Wl,$(SONAME) -shared -o $(SONAME)
%.o: %.c
$(CC) $(CFLAGS) -c -o $@ $<
2007-08-10 16:06:23 -07:00
install:
mkdir -p $(PLUGINDIR); \
install -m 644 $(SONAME) $(PLUGINDIR); \
install -m 644 *.ldif $(SHAREDIR)
clean:
rm -f *.o
rm -f $(SONAME)
rm -f *~