summaryrefslogtreecommitdiff
path: root/Build/source/libs/icu-xetex/tools/genuca/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/icu-xetex/tools/genuca/Makefile.in')
-rw-r--r--Build/source/libs/icu-xetex/tools/genuca/Makefile.in40
1 files changed, 16 insertions, 24 deletions
diff --git a/Build/source/libs/icu-xetex/tools/genuca/Makefile.in b/Build/source/libs/icu-xetex/tools/genuca/Makefile.in
index 3ec6f6b8d15..34fbb443a95 100644
--- a/Build/source/libs/icu-xetex/tools/genuca/Makefile.in
+++ b/Build/source/libs/icu-xetex/tools/genuca/Makefile.in
@@ -1,5 +1,5 @@
## Makefile.in for ICU - tools/genuca
-## Copyright (c) 1999-2004, International Business Machines Corporation and
+## Copyright (c) 1999-2005, International Business Machines Corporation and
## others. All Rights Reserved.
## Source directory information
@@ -10,7 +10,8 @@ top_builddir = ../..
include $(top_builddir)/icudefs.mk
-##
+## Build directory information
+subdir = tools/genuca
TARGET_STUB_NAME = genuca
@@ -18,27 +19,26 @@ SECTION = 8
MAN_FILES = $(TARGET_STUB_NAME).$(SECTION)
-## Build directory information
-subdir = tools/genuca
## Extra files to remove for 'make clean'
-CLEANFILES = *~ $(MAN_FILES) $(DEPS)
+CLEANFILES = *~ $(DEPS) $(MAN_FILES)
## Target information
TARGET = $(BINDIR)/$(TARGET_STUB_NAME)$(EXEEXT)
-CPPFLAGS += -I$(top_builddir)/common -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(srcdir)/../toolutil
+ifneq ($(top_builddir),$(top_srcdir))
+CPPFLAGS += -I$(top_builddir)/common
+endif
+CPPFLAGS += -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(srcdir)/../toolutil
LIBS = $(LIBICUI18N) $(LIBICUTOOLUTIL) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M)
OBJECTS = genuca.o
DEPS = $(OBJECTS:.o=.d)
-
## List of phony targets
.PHONY : all all-local install install-local clean clean-local \
-distclean distclean-local dist dist-local check \
-check-local install-man
+distclean distclean-local dist dist-local check check-local install-man
## Clear suffix list
.SUFFIXES :
@@ -51,15 +51,19 @@ distclean : distclean-local
dist: dist-local
check: all check-local
-all-local: $(TARGET) $(MAN_FILES)
+all-local: $(TARGET) $(MAN_FILES)
install-local: all-local install-man
$(MKINSTALLDIRS) $(DESTDIR)$(sbindir)
$(INSTALL) $(TARGET) $(DESTDIR)$(sbindir)
+install-man: $(MAN_FILES)
+ $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man$(SECTION)
+ $(INSTALL_DATA) $? $(DESTDIR)$(mandir)/man$(SECTION)
+
dist-local:
-clean-local:
+clean-local:
test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
$(RMV) $(TARGET) $(OBJECTS)
@@ -76,23 +80,10 @@ $(TARGET) : $(OBJECTS)
$(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
-# the 'mv' will always fail if you are building in the source dir
-
-# man page
-install-man: $(MAN_FILES)
- $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man$(SECTION)
- $(INSTALL_DATA) $< $(DESTDIR)$(mandir)/man$(SECTION)
-
%.$(SECTION): $(srcdir)/%.$(SECTION).in
cd $(top_builddir) \
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
-# build postscript and pdf formats
-#$(TARGET).ps: $(TARGET).$(SECTION)
-# groff -man < $< > $@
-
-#$(TARGET).pdf: $(TARGET).ps
-# ps2pdf $< $@
ifeq (,$(MAKECMDGOALS))
-include $(DEPS)
@@ -101,3 +92,4 @@ ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
-include $(DEPS)
endif
endif
+