mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
make, scripts: Re-add files necessary for building ytools
Re-add everthing needed for building and packaging ytools. This is a big commit, 2002 lines of code. It mostly consists of C/C++ machinery, plus some documentation-related stuff. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
0a9340af49
commit
bf16c6714b
27 changed files with 1975 additions and 0 deletions
24
make/so.mk
Normal file
24
make/so.mk
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
# generic utility modules
|
||||
# (c) 2001 jannet it services
|
||||
# contact@jannet.de
|
||||
# $Id$
|
||||
|
||||
include $(JWBDIR)/make/defs.mk
|
||||
include $(JWBDIR)/make/defs-cpp.mk
|
||||
|
||||
LDFLAGS += -shared
|
||||
BUILD_SHOBJS = $(addprefix $(BUILD_LIBDIR)/, $(SHOBJS))
|
||||
SHOBJS = $(patsubst %.cpp,$(SO_PREFIX)%.so,$(patsubst %.cc,$(SO_PREFIX)%.so,$(patsubst %.c,$(SO_PREFIX)%.so,$(SRC_ALL_CPP))))
|
||||
INSTALLED_SHOBJS += $(addprefix $(INSTALL_LIBDIR)/,$(SHOBJS))
|
||||
INSTALLED_ALL_LIBS += $(INSTALLED_SHOBJS)
|
||||
|
||||
include $(JWBDIR)/make/ldlibpath.mk
|
||||
include $(JWBDIR)/make/debugger.mk
|
||||
include $(JWBDIR)/make/rules.mk
|
||||
|
||||
all: $(SHOBJS) $(BUILD_SHOBJS)
|
||||
clean: objclean textclean localclean profclean
|
||||
install: $(ALL) install_dir_LIB installso
|
||||
|
||||
$(BUILD_LIBDIR)/%.so: %.so
|
||||
install -m 755 $< $@
|
||||
Loading…
Add table
Add a link
Reference in a new issue