diff options
Diffstat (limited to 'Build/source/libs/icu/icu-4.8.1/tools/gendraft/Makefile')
-rw-r--r-- | Build/source/libs/icu/icu-4.8.1/tools/gendraft/Makefile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/Build/source/libs/icu/icu-4.8.1/tools/gendraft/Makefile b/Build/source/libs/icu/icu-4.8.1/tools/gendraft/Makefile new file mode 100644 index 00000000000..6914b51211d --- /dev/null +++ b/Build/source/libs/icu/icu-4.8.1/tools/gendraft/Makefile @@ -0,0 +1,40 @@ +#******************************************************************************* +#* Copyright (C) 2008-2011, International Business Machines +#* Corporation and others. All Rights Reserved. +#******************************************************************************* + +#sorry, this won't be friendly to out of source builds + +srcdir=. +top_srcdir=../.. +top_builddir=../.. + +include $(top_builddir)/icudefs.mk + +LOCALHEADERS= udeprctd.h udraft.h uintrnal.h usystem.h + +COMMONHDR= $(top_srcdir)/common/unicode +DOCDIR= $(top_builddir)/doc/html +EXCLUDE=$(srcdir)/exclude.txt +-include Makefile.local + +all: + @echo Usage: 'make install-headers' to update headers. + @echo 'be sure to verify the headers (in soure/common/unicode) before checkin!' + @exit 1 + +clean: + -$(RMV) $(LOCALHEADERS) + +$(DOCDIR): + ( cd $(top_builddir) ; $(MAKE) doc ) + +local-headers: $(LOCALHEADERS) + +install-headers: $(DOCDIR) + perl ./genheaders.pl --srcdir=$(DOCDIR) --destdir=$(COMMONHDR) --version=$(VERSION) --exclusion-list=$(EXCLUDE) $(GENHEADERS_OPTS) + ( cd $(COMMONHDR) ; ls -l $(LOCALHEADERS) ) + +%.h: $(COMMONHDR)/%.h + cp $< $@ + |