scuffed-code/icu4c/source/tools/gendraft/Makefile
Steven R. Loomis 4ce5af7dc3 ICU-6297 simplify generation of udeprctd.h
X-SVN-Rev: 23963
2008-05-21 23:56:34 +00:00

40 lines
1.1 KiB
Makefile

#*******************************************************************************
#* Copyright (C) 2008, 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
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) $(LOCALHEADERS)
perl ./genheaders.pl --srcdir=$(DOCDIR) --destdir=$(COMMONHDR) --version=$(VERSION) --exclusion-list=$(EXCLUDE)
( cd $(COMMONHDR) ; ls -l $(LOCALHEADERS) )
%.h: $(COMMONHDR)/%.h
cp $< $@