]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/tools/genrb/Makefile.in
ICU-491.11.1.tar.gz
[apple/icu.git] / icuSources / tools / genrb / Makefile.in
index 8ec43fccb4b35c9c814a50d32de62ab537e1812b..ae05bed8a6c52d54c4f3a099d6ed94ae2a1530ff 100644 (file)
@@ -1,6 +1,8 @@
-## Makefile.in for ICU - tools/genrb
-## Copyright (c) 1999-2005, International Business Machines Corporation and
-## others. All Rights Reserved.
+#################################################################################
+## Makefile.in for ICU - tools/genrb                                            #
+## Copyright (c) 1999-2011, International Business Machines Corporation and     #
+## others. All Rights Reserved.                                                 #
+#################################################################################
 
 ## Source directory information
 srcdir = @srcdir@
@@ -28,11 +30,8 @@ CLEANFILES = *~ $(MAN_FILES) $(DEPS) $(DERB_DEPS)
 TARGET = $(BINDIR)/$(TARGET_STUB_NAME)$(EXEEXT)
 DERB = $(BINDIR)/$(DERB_STUB_NAME)$(EXEEXT)
 
-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)
+LIBS = $(LIBICUTOOLUTIL) $(LIBICUI18N) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M)
 
 OBJECTS = errmsg.o genrb.o parse.o read.o reslist.o ustr.o rbutil.o \
 wrtjava.o rle.o wrtxml.o prscmnts.o
@@ -41,6 +40,8 @@ DERB_OBJ = derb.o
 DEPS = $(OBJECTS:.o=.d)
 DERB_DEPS = $(DERB_OBJ:.o=.d)
 
+-include Makefile.local
+
 ## 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
@@ -84,10 +85,11 @@ Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
 
 $(TARGET) : $(OBJECTS)
        $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS) 
+       $(POST_BUILD_STEP)
 
 $(DERB) : $(DERB_OBJ)
-       $(LINK.c) $(OUTOPT)$@ $^ $(LIBS) 
-
+       $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
+       $(POST_BUILD_STEP)
 
 # This line is needed to serialize builds when the gmake -j option is used.
 $(TARGET_STUB_NAME).$(SECTION): $(DERB_STUB_NAME).$(SECTION)
@@ -105,4 +107,3 @@ ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
 -include $(DEPS)
 endif
 endif
-