OLD | NEW |
1 # $Id: Makefile.inc 2234 2009-10-31 21:52:42Z peter $ | |
2 | |
3 # These utility programs have to be built for BUILD host in cross-build. | 1 # These utility programs have to be built for BUILD host in cross-build. |
4 # This makes things rather non-standard automake | 2 # This makes things rather non-standard automake |
5 | 3 |
6 noinst_PROGRAMS += genmacro | 4 noinst_PROGRAMS += genmacro |
7 | 5 |
8 genmacro_SOURCES = | 6 genmacro_SOURCES = |
9 EXTRA_DIST += tools/genmacro/genmacro.c | 7 EXTRA_DIST += tools/genmacro/genmacro.c |
10 genmacro_LDADD = genmacro.$(OBJEXT) | 8 genmacro_LDADD = genmacro.$(OBJEXT) |
11 genmacro_LINK = $(CCLD_FOR_BUILD) -o $@ | 9 genmacro_LINK = $(CCLD_FOR_BUILD) -o $@ |
12 | 10 |
13 genmacro.$(OBJEXT): tools/genmacro/genmacro.c | 11 genmacro.$(OBJEXT): tools/genmacro/genmacro.c |
14 $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(DEFAULT_INCLUDES) $(INCLUDES) \ | 12 $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(DEFAULT_INCLUDES) $(INCLUDES) \ |
15 -c -o $@ `test -f tools/genmacro/genmacro.c || echo '$(srcdir)/'`tools
/genmacro/genmacro.c | 13 -c -o $@ `test -f tools/genmacro/genmacro.c || echo '$(srcdir)/'`tools
/genmacro/genmacro.c |
16 | 14 |
OLD | NEW |