mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-20 13:37:38 +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$
|
# $Id$
|
||||||
|
|
||||||
ifeq ($(PLUGIN),)
|
ifeq ($(PLUGIN),)
|
||||||
PLUGIN = $(notdir $(shell pwd))
|
PLUGIN = lib$(notdir $(shell pwd)).so
|
||||||
endif
|
endif
|
||||||
|
|
||||||
include $(MODDIR)/make/defs.mk
|
include $(MODDIR)/make/defs.mk
|
||||||
include $(MODDIR)/make/rules.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)
|
all: $(PLUGIN)
|
||||||
install: $(INSTALLED_PLUGIN) $(INSTALLED_PLUGIN_BIN)
|
install: $(INSTALLED_PLUGIN)
|
||||||
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
|
clean: execlean localclean
|
||||||
libpath:
|
distclean: clean
|
||||||
@echo "export LD_LIBRARY_PATH=$(LD_LIBRARY_PATH)"
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue