# glob is in libc too.
GLOB =
-CPPFLAGS := $(CPPFLAGS) \
- -DSTDC_HEADERS -DHAVE_UNISTD_H -DHAVE_GLOB_H \
- -DHAVE_GETDTABLESIZE -DHAVE_SYS_SIGLIST -DHAVE_DUP2 \
- -DHAVE_GETCWD -DHAVE_SIGSETMASK -DHAVE_GETGROUPS -DHAVE_SETLINEBUF
-
else
globdep = glob/libglob.a
$(archpfx)remote.dep: remote.c
$(mkdep) $(REMOTE) $< | sed 's,$*\.o,& $@,' > $@
-CPPFLAGS := $(CPPFLAGS) $(filter-out @%@,$(defines))
+CPPFLAGS := -I$(ARCH) $(CPPFLAGS) $(filter-out @%@,$(defines))
ifneq "$(wildcard $(ARCH)/makefile)" ""
include $(ARCH)/makefile