1 # cross.mk -- used by Makefiles for build-host executables.
4 BUILDCFLAGS = @BUILDCFLAGS@
5 BUILDCPPFLAGS = @BUILDCPPFLAGS@
7 ALL_BUILDCPPFLAGS = $(DEFS) -I. -I$(srcdir) -I$(kpathsea_parent) \
8 -I$(kpathsea_srcdir_parent) $(prog_cflags) $(BUILDCPPFLAGS)
9 ALL_BUILDCFLAGS = $(ALL_BUILDCPPFLAGS) $(BUILDCFLAGS)
10 build_compile = $(BUILDCC) $(ALL_BUILDCFLAGS)
12 # Don't include $(BUILDCFLAGS), since ld -g under Linux forces
13 # static libraries, e.g., libc.a and libX*.a.
14 BUILDLDFLAGS = @BUILDLDFLAGS@
16 # May as well separate linking from compiling, just in case.
17 BUILDCCLD = @BUILDCCLD@
18 build_link_command = $(BUILDCCLD) -o $@ $(BUILDLDFLAGS)