defs-orig.mk: Add CONTRIB_LIBS

This commit is contained in:
Jan Lindemann 2001-09-28 15:30:58 +00:00 committed by Jan Lindemann
commit bf11cec801

View file

@ -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)