Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/iconv/Makefile.am')
-rw-r--r--newlib/libc/iconv/Makefile.am39
1 files changed, 39 insertions, 0 deletions
diff --git a/newlib/libc/iconv/Makefile.am b/newlib/libc/iconv/Makefile.am
new file mode 100644
index 000000000..10006df50
--- /dev/null
+++ b/newlib/libc/iconv/Makefile.am
@@ -0,0 +1,39 @@
+## Process this file with automake to generate Makefile.in
+AUTOMAKE_OPTIONS = cygnus
+
+SUBDIRS = ces ccs lib .
+
+cctdir=$(datadir)/iconv_data
+cct_DATA=charset.aliases
+
+INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
+
+SUBDEFS = lib/stmp-def
+
+include $(srcdir)/../../Makefile.shared
+
+CHEWOUT_FILES = iconv.def
+
+iconv.def: lib/iconv.def
+ cp lib/iconv.def iconv.def
+
+stmp-def: force
+ (cd lib && make doc)
+ touch $@
+
+.PHONY: force
+force:
+
+$(SUBDEFS): stmp-def
+
+lib/iconv.def: $(SUBDEFS); @true
+
+lib/stmp-def: ; @true
+
+TARGETDOC = ../tmp.texi
+
+doc: $(CHEWOUT_FILES)
+ cat $(srcdir)/iconv.tex >> $(TARGETDOC)
+
+CLEANFILES = $(CHEWOUT_FILES) *.ref
+