diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2017-12-15 09:38:53 -0500 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2017-12-15 09:39:34 -0500 |
commit | f95a4a932476be2ba99e2fd081e8d2bc6ea12813 (patch) | |
tree | 75f67192cb2d7b7b575c94edda318e475239b63c /newlib/doc/Makefile.am | |
parent | f60aca96985e68c7d8a52eb7bc955fb80e132f73 (diff) |
Import newlib and create makefile
Diffstat (limited to 'newlib/doc/Makefile.am')
-rw-r--r-- | newlib/doc/Makefile.am | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/newlib/doc/Makefile.am b/newlib/doc/Makefile.am new file mode 100644 index 0000000..de802d6 --- /dev/null +++ b/newlib/doc/Makefile.am @@ -0,0 +1,21 @@ +## Process this file with automake to generate Makefile.in + +AUTOMAKE_OPTIONS = cygnus + +# We can't use noinst_PROGRAMS, because automake will add $(EXEEXT). +noinst_DATA = makedoc + +MKDOC = makedoc$(EXEEXT_FOR_BUILD) + +# We don't use CFLAGS with CC_FOR_BUILD because here CFLAGS will +# actually be CFLAGS_FOR_TARGET, and in some cases that will include +# -Os, which CC_FOR_BUILD may not recognize. + +$(MKDOC): makedoc.o + $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS) -o $(MKDOC) makedoc.o + +makedoc.o: makedoc.c + $(CC_FOR_BUILD) -g $(CFLAGS_FOR_BUILD) -c $(srcdir)/makedoc.c + +ACLOCAL_AMFLAGS = -I .. +CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host |