OS_ARCH is not set until config.mk is included but the form of CSRCS changes after rules.mk is included

git-svn-id: svn://10.0.0.236/trunk@46763 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cls%seawood.org 1999-09-10 12:42:25 +00:00
parent b62fb98bb5
commit 601aeb148c

View File

@ -34,11 +34,7 @@ BIN_OBJS = $(addprefix R_,$(BIN_SRCS:.c=.o))
MKSHLIB :=
# We don't want a shared lib. Static lib only.
override NO_SHARED_LIB=1
override NO_STATIC_LIB=
include $(topsrcdir)/config/rules.mk
include $(topsrcdir)/config/config.mk
# Memory mapped files are not supported under QNX and Neutrino
ifneq ($(OS_ARCH),QNX)
@ -46,6 +42,12 @@ DEFINES += -DUSE_MMAP_REGISTRY_IO
CSRCS += mmapio.c
endif
# We don't want a shared lib. Static lib only.
override NO_SHARED_LIB=1
override NO_STATIC_LIB=
include $(topsrcdir)/config/rules.mk
# Override gtscc when building vreg on IRIX 5.3.
ifeq ($(OS_ARCH)$(OS_RELEASE),IRIX5)
ifneq ($(CC),gcc)