mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
plugin.mk: Add file
This commit is contained in:
parent
419a0c29e9
commit
9f13ac5959
1 changed files with 25 additions and 0 deletions
25
make/plugin.mk
Normal file
25
make/plugin.mk
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# generic utility modules
|
||||
# (c) 2001 jannet it services
|
||||
# contact@jannet.de
|
||||
# $Id$
|
||||
|
||||
ifeq ($(PLUGIN),)
|
||||
PLUGIN = $(notdir $(shell pwd))
|
||||
endif
|
||||
|
||||
include $(MODDIR)/make/defs.mk
|
||||
include $(MODDIR)/make/rules.mk
|
||||
|
||||
export LD_LIBRARY_PATH=$(shell echo $(strip $(LD_LIB_PATH)) | sed 's/ /:/g')
|
||||
|
||||
all: $(PLUGIN) $(PLUGIN_BIN)
|
||||
install: $(INSTALLED_PLUGIN) $(INSTALLED_PLUGIN_BIN)
|
||||
run: $(PLUGIN) $(PLUGIN_BIN)
|
||||
./$(PLUGIN) $(PLUGIN_ARGS)
|
||||
strace: $(PLUGIN) $(PLUGIN_BIN)
|
||||
strace -f ./$(PLUGIN) $(PLUGIN_ARGS)
|
||||
kdbg gdb ddd:
|
||||
rm -f $(CORE); make run; $@ $(PLUGIN) $(firstword $(CORE))
|
||||
clean: execlean localclean
|
||||
libpath:
|
||||
@echo "export LD_LIBRARY_PATH=$(LD_LIBRARY_PATH)"
|
||||
Loading…
Add table
Add a link
Reference in a new issue