mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
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>
24 lines
809 B
Makefile
24 lines
809 B
Makefile
# 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 $< $@
|