diff options
| author | Karl MacMillan <kmacmill@redhat.com> | 2007-10-17 15:40:55 -0400 |
|---|---|---|
| committer | Karl MacMillan <kmacmill@redhat.com> | 2007-10-17 15:40:55 -0400 |
| commit | f8fba3b7ddbfbb8eb33faab1df3e024a30986b3e (patch) | |
| tree | 7d79dd620858f31623f4e4e90edc06e37b0be762 /ipa-server/ipa-slapi-plugins/ipa-pwd-extop | |
| parent | bc52446074fb6013d1f06f1bb579e2cbfcb896b2 (diff) | |
Autotool ipa-server - patch from William Jon McCann <mccann@jhu.edu>.
Diffstat (limited to 'ipa-server/ipa-slapi-plugins/ipa-pwd-extop')
| -rw-r--r-- | ipa-server/ipa-slapi-plugins/ipa-pwd-extop/Makefile | 25 | ||||
| -rw-r--r-- | ipa-server/ipa-slapi-plugins/ipa-pwd-extop/Makefile.am | 42 |
2 files changed, 42 insertions, 25 deletions
diff --git a/ipa-server/ipa-slapi-plugins/ipa-pwd-extop/Makefile b/ipa-server/ipa-slapi-plugins/ipa-pwd-extop/Makefile deleted file mode 100644 index 034b8e60b..000000000 --- a/ipa-server/ipa-slapi-plugins/ipa-pwd-extop/Makefile +++ /dev/null @@ -1,25 +0,0 @@ -include ../../Makefile.common - -SONAME = libipa_pwd_extop.so -LDFLAGS += -lkrb5 -llber -lldap -llber -lssl -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 $@ $< - -install: - mkdir -p $(PLUGINDIR); \ - install -m 644 $(SONAME) $(PLUGINDIR); \ - install -m 644 *.ldif $(SHAREDIR) - -clean: - rm -f *.o - rm -f $(SONAME) - rm -f *~ - - diff --git a/ipa-server/ipa-slapi-plugins/ipa-pwd-extop/Makefile.am b/ipa-server/ipa-slapi-plugins/ipa-pwd-extop/Makefile.am new file mode 100644 index 000000000..684243839 --- /dev/null +++ b/ipa-server/ipa-slapi-plugins/ipa-pwd-extop/Makefile.am @@ -0,0 +1,42 @@ +NULL = + +INCLUDES = \ + -I. \ + -I$(srcdir) \ + -DPREFIX=\""$(prefix)"\" \ + -DBINDIR=\""$(bindir)"\" \ + -DLIBDIR=\""$(libdir)"\" \ + -DLIBEXECDIR=\""$(libexecdir)"\" \ + -DDATADIR=\""$(datadir)"\" \ + $(MOZLDAP_CFLAGS) \ + $(LDAP_CFLAGS) \ + $(KRB5_CFLAGS) \ + $(WARN_CFLAGS) \ + $(NULL) + +plugindir = $(libdir)/dirsrv/plugins +plugin_LTLIBRARIES = \ + libipa_pwd_extop.la \ + $(NULL) + +libipa_pwd_extop_la_SOURCES = \ + ipa_pwd_extop.c \ + $(NULL) + +libipa_pwd_extop_la_LIBADD = \ + $(MOZLDAP_LIBS) \ + $(NULL) + +appdir = $(IPA_DATA_DIR) +app_DATA = \ + pwd-extop-conf.ldif \ + $(NULL) + +EXTRA_DIST = \ + README \ + $(app_DATA) \ + $(NULL) + +MAINTAINERCLEANFILES = \ + *~ \ + Makefile.in |
