OSDN Git Service

de802d61eae83b966b67819ba0e96530f9a7e6b1
[pf3gnuchains/pf3gnuchains4x.git] / newlib / doc / Makefile.am
1 ## Process this file with automake to generate Makefile.in
2
3 AUTOMAKE_OPTIONS = cygnus
4
5 # We can't use noinst_PROGRAMS, because automake will add $(EXEEXT).
6 noinst_DATA = makedoc
7
8 MKDOC = makedoc$(EXEEXT_FOR_BUILD)
9
10 # We don't use CFLAGS with CC_FOR_BUILD because here CFLAGS will
11 # actually be CFLAGS_FOR_TARGET, and in some cases that will include
12 # -Os, which CC_FOR_BUILD may not recognize.
13
14 $(MKDOC): makedoc.o
15         $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS) -o $(MKDOC) makedoc.o
16
17 makedoc.o: makedoc.c
18         $(CC_FOR_BUILD) -g $(CFLAGS_FOR_BUILD) -c $(srcdir)/makedoc.c
19
20 ACLOCAL_AMFLAGS = -I ..
21 CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host