mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
plugin.mk: Remove some legacy stuff from exe.mk
This commit is contained in:
parent
4c25010c0b
commit
6cbbfa0150
1 changed files with 7 additions and 12 deletions
|
|
@ -4,22 +4,17 @@
|
|||
# $Id$
|
||||
|
||||
ifeq ($(PLUGIN),)
|
||||
PLUGIN = $(notdir $(shell pwd))
|
||||
PLUGIN = lib$(notdir $(shell pwd)).so
|
||||
endif
|
||||
|
||||
include $(MODDIR)/make/defs.mk
|
||||
include $(MODDIR)/make/rules.mk
|
||||
|
||||
export LD_LIBRARY_PATH=$(shell echo $(strip $(LD_LIB_PATH)) | sed 's/ /:/g; s/::/:/g')
|
||||
ifeq ($(INSTALLED_PLUGIN),)
|
||||
INSTALLED_PLUGIN = $(INSTALL_LIBDIR)/$(PLUGIN)
|
||||
endif
|
||||
|
||||
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))
|
||||
all: $(PLUGIN)
|
||||
install: $(INSTALLED_PLUGIN)
|
||||
clean: execlean localclean
|
||||
libpath:
|
||||
@echo "export LD_LIBRARY_PATH=$(LD_LIBRARY_PATH)"
|
||||
distclean: clean
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue