## modules/Makefile.conf - Common Makefile.am stubs ## Copyright (C) 2000, 2001 Gergely Nagy <8@free.bsd.hu> ## ## This file is part of POP3Lite. ## ## POP3Lite is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or ## (at your option) any later version. ## ## POP3Lite is distributed in the hope that it will be useful, ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with this program; if not, write to the Free Software ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ## ## $Id: Makefile.conf,v 1.9 2001/02/01 11:04:25 algernon Exp $ MAINTAINERCLEANFILES = Makefile.in CLEANFILES = *~ TAGS GLIB_CFLAGS = @GLIB_CFLAGS@ AM_CFLAGS = $(CONFIG_CFLAGS) $(GLIB_CFLAGS) \ -I$(top_builddir)/includes \ -I$(top_srcdir)/includes $($(MODULE)_la_EXTRA_FLAGS) MODULE_DOCS = $(shell echo "$(MODULE)" | tr "abcdefghijklmnopqrstuvwxyz" "ABCDEFGHIJKLMNOPQRSTUVWXYZ") MODULE_HEADS = $(if $(wildcard $(srcdir)/$(MODULE).h),$(MODULE).h) M_DOCS = $(if $(findstring $(MODULE),$(P3L_MODULES) $(P3L_BUILTIN_LIST)),$(MODULE_DOCS)) M_HDRS = $(if $(findstring $(MODULE),$(P3L_MODULES) $(P3L_BUILTIN_LIST)),$(MODULE_HEADS)) pkginclude_HEADERS = $(M_HDRS) moddoc_DATA = $(M_DOCS) EXTRA_DIST = $(MODULE_HEADS) $(MODULE_DOCS) module_LINKFLAGS = $(if $(findstring $(MODULE),$(P3L_BUILTIN_LIST)),,-rpath $(pkglibdir)) \ -avoid-version