dvitomp fix from Akira
[mplib] / src / texk / make / cross.mk
1 # cross.mk -- used by Makefiles for build-host executables.
2
3 BUILDCC = @BUILDCC@
4 BUILDCFLAGS = @BUILDCFLAGS@
5 BUILDCPPFLAGS = @BUILDCPPFLAGS@
6
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)
11
12 # Don't include $(BUILDCFLAGS), since ld -g under Linux forces
13 # static libraries, e.g., libc.a and libX*.a.
14 BUILDLDFLAGS = @BUILDLDFLAGS@
15
16 # May as well separate linking from compiling, just in case.
17 BUILDCCLD = @BUILDCCLD@
18 build_link_command = $(BUILDCCLD) -o $@ $(BUILDLDFLAGS) 
19
20 # End of cross.mk.