view src/plugins/acl/Makefile.am @ 4413:96d9947fde60 HEAD

mkdir_p doesn't accept multiple directories in some systems, so do it one at a time. This also cleans up the code.
author Timo Sirainen <tss@iki.fi>
date Sat, 17 Jun 2006 21:03:45 +0300
parents 73573b9ecb00
children 93bc9770f938
line wrap: on
line source

AM_CPPFLAGS = \
	-I$(top_srcdir)/src/lib \
	-I$(top_srcdir)/src/lib-mail \
	-I$(top_srcdir)/src/lib-storage

lib01_acl_plugin_la_LDFLAGS = -module -avoid-version

module_LTLIBRARIES = \
	lib01_acl_plugin.la

lib01_acl_plugin_la_SOURCES = \
	acl-api.c \
	acl-backend.c \
	acl-backend-vfile.c \
	acl-cache.c \
	acl-mailbox.c \
	acl-plugin.c \
	acl-storage.c

noinst_HEADERS = \
	acl-api.h \
	acl-api-private.h \
	acl-cache.h \
	acl-plugin.h

install-exec-local:
	for d in imap lda; do \
	  $(mkdir_p) $(DESTDIR)$(moduledir)/$$d; \
	  rm -f $(DESTDIR)$(moduledir)/$$d/lib01_acl_plugin.so; \
	  $(LN_S) ../lib01_acl_plugin.so $(DESTDIR)$(moduledir)/$$d; \
	done