]>
Commit | Line | Data |
---|---|---|
46f4442e | 1 | #******************************************************************************* |
4388f060 | 2 | #* Copyright (C) 2008-2011, International Business Machines |
46f4442e A |
3 | #* Corporation and others. All Rights Reserved. |
4 | #******************************************************************************* | |
5 | ||
6 | #sorry, this won't be friendly to out of source builds | |
7 | ||
8 | srcdir=. | |
9 | top_srcdir=../.. | |
10 | top_builddir=../.. | |
11 | ||
12 | include $(top_builddir)/icudefs.mk | |
13 | ||
729e4ab9 | 14 | LOCALHEADERS= udeprctd.h udraft.h uintrnal.h usystem.h |
46f4442e A |
15 | |
16 | COMMONHDR= $(top_srcdir)/common/unicode | |
17 | DOCDIR= $(top_builddir)/doc/html | |
18 | EXCLUDE=$(srcdir)/exclude.txt | |
4388f060 | 19 | -include Makefile.local |
46f4442e A |
20 | |
21 | all: | |
22 | @echo Usage: 'make install-headers' to update headers. | |
23 | @echo 'be sure to verify the headers (in soure/common/unicode) before checkin!' | |
24 | @exit 1 | |
729e4ab9 | 25 | |
46f4442e A |
26 | clean: |
27 | -$(RMV) $(LOCALHEADERS) | |
729e4ab9 | 28 | |
46f4442e A |
29 | $(DOCDIR): |
30 | ( cd $(top_builddir) ; $(MAKE) doc ) | |
31 | ||
32 | local-headers: $(LOCALHEADERS) | |
33 | ||
729e4ab9 | 34 | install-headers: $(DOCDIR) |
4388f060 | 35 | perl ./genheaders.pl --srcdir=$(DOCDIR) --destdir=$(COMMONHDR) --version=$(VERSION) --exclusion-list=$(EXCLUDE) $(GENHEADERS_OPTS) |
46f4442e A |
36 | ( cd $(COMMONHDR) ; ls -l $(LOCALHEADERS) ) |
37 | ||
38 | %.h: $(COMMONHDR)/%.h | |
39 | cp $< $@ | |
729e4ab9 | 40 |