зеркало из https://github.com/mozilla/pjs.git
r=dveditz, sr=brendan Put makefile back so OS/2 uses buffered I/O
This commit is contained in:
Родитель
4f926d7877
Коммит
d1f667f5c3
|
@ -32,10 +32,7 @@ LIBRARY_NAME = mozreg_s
|
||||||
|
|
||||||
PROGRAM = vreg$(BIN_SUFFIX)
|
PROGRAM = vreg$(BIN_SUFFIX)
|
||||||
|
|
||||||
CSRCS = reg.c VerReg.c vr_stubs.c
|
CSRCS = reg.c VerReg.c vr_stubs.c nr_bufio.c
|
||||||
ifneq ($(OS_ARCH),OS2)
|
|
||||||
CSRCS += nr_bufio.c
|
|
||||||
endif
|
|
||||||
|
|
||||||
BIN_SRCS = VerReg.c reg.c vr_stubs.c
|
BIN_SRCS = VerReg.c reg.c vr_stubs.c
|
||||||
PROGOBJS = $(addprefix R_,$(BIN_SRCS:.c=.o))
|
PROGOBJS = $(addprefix R_,$(BIN_SRCS:.c=.o))
|
||||||
|
@ -46,9 +43,7 @@ override NO_STATIC_LIB=
|
||||||
|
|
||||||
include $(topsrcdir)/config/config.mk
|
include $(topsrcdir)/config/config.mk
|
||||||
|
|
||||||
ifneq ($(OS_ARCH),OS2)
|
|
||||||
DEFINES += -DUSE_BUFFERED_REGISTRY_IO
|
DEFINES += -DUSE_BUFFERED_REGISTRY_IO
|
||||||
endif
|
|
||||||
# Memory mapped files are not supported under QNX, Neutrino, HP-UX and BeOS
|
# Memory mapped files are not supported under QNX, Neutrino, HP-UX and BeOS
|
||||||
#ifeq (,$(filter BeOS HP-UX QNX,$(OS_ARCH)))
|
#ifeq (,$(filter BeOS HP-UX QNX,$(OS_ARCH)))
|
||||||
#CSRCS += mmapio.c
|
#CSRCS += mmapio.c
|
||||||
|
|
Загрузка…
Ссылка в новой задаче