jw-pkg/make/plugin.mk
2005-12-01 08:57:28 +00:00

20 lines
381 B
Makefile

# generic utility modules
# (c) 2001 jannet it services
# contact@jannet.de
# $Id$
ifeq ($(PLUGIN),)
PLUGIN = lib$(notdir $(shell pwd)).so
endif
include $(MODDIR)/make/defs.mk
include $(MODDIR)/make/rules.mk
ifeq ($(INSTALLED_PLUGIN),)
INSTALLED_PLUGIN = $(INSTALL_LIBDIR)/$(PLUGIN)
endif
all: $(PLUGIN)
install: $(INSTALLED_PLUGIN)
clean: execlean localclean
distclean: clean