mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
defs-orig.mk: Add CONTRIB_LIBS
This commit is contained in:
parent
06ec730692
commit
bf11cec801
1 changed files with 7 additions and 0 deletions
|
|
@ -10,6 +10,11 @@ else
|
||||||
LIBNAME := $(PROJECT)
|
LIBNAME := $(PROJECT)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifndef MODDIR
|
||||||
|
MODDIR := $(TOPDIR)
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
VERSION = $(shell cat $(TOPDIR)/VERSION)
|
VERSION = $(shell cat $(TOPDIR)/VERSION)
|
||||||
WINVERSION = $(shell cat $(TOPDIR)/VERSION | sed -e "s/\./_/g")
|
WINVERSION = $(shell cat $(TOPDIR)/VERSION | sed -e "s/\./_/g")
|
||||||
LOCAL_VERSION = $(shell cat VERSION)
|
LOCAL_VERSION = $(shell cat VERSION)
|
||||||
|
|
@ -46,6 +51,8 @@ PREREQ_CPP = $(foreach dir,$(PREREQ_DIR),$(wildcard $(dir)/*.c)) \
|
||||||
$(foreach dir,$(PREREQ_DIR),$(wildcard $(dir)/*.cpp))
|
$(foreach dir,$(PREREQ_DIR),$(wildcard $(dir)/*.cpp))
|
||||||
PREREQ_CSRC = $(PREREQ_H) $(PREREQ_C) $(PREREQ_CPP)
|
PREREQ_CSRC = $(PREREQ_H) $(PREREQ_C) $(PREREQ_CPP)
|
||||||
|
|
||||||
|
CONTRIB_MOD = $(addprefix contrib/,$(CONTRIB_LIBS))
|
||||||
|
REQUIRED += $(CONTRIB_MOD)
|
||||||
ALL_H = $(LOCAL_H) $(PREREQ_H)
|
ALL_H = $(LOCAL_H) $(PREREQ_H)
|
||||||
ALL_C = $(LOCAL_C) $(PREREQ_CPP)
|
ALL_C = $(LOCAL_C) $(PREREQ_CPP)
|
||||||
ALL_CPP = $(LOCAL_CPP) $(PREREQ_CPP)
|
ALL_CPP = $(LOCAL_CPP) $(PREREQ_CPP)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue