]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/samples/date/Makefile.in
ICU-57131.0.1.tar.gz
[apple/icu.git] / icuSources / samples / date / Makefile.in
index 761d739c542d983c6fe1827428d04b1a6accd425..fd2d6282e98bc0dc976409946d273bef1af0aaf5 100644 (file)
@@ -1,18 +1,16 @@
 ## Makefile.in for ICU - samples/date
-## Copyright (c) 1999-2001, International Business Machines Corporation and
+## Copyright (c) 1999-2012, International Business Machines Corporation and
 ## others. All Rights Reserved.
 
 ## Source directory information
-srcdir = @srcdir@
-top_srcdir = @top_srcdir@
+
+srcdir=@srcdir@
+top_srcdir=@top_srcdir@
 
 top_builddir = ../..
 
 include $(top_builddir)/icudefs.mk
 
-## Platform-specific setup
-include @platform_make_fragment@
-
 ## Build directory information
 subdir = samples/date
 
@@ -20,14 +18,10 @@ subdir = samples/date
 CLEANFILES = *~ $(DEPS)
 
 ## Target information
-TARGET = icudate
-
-ENABLE_STATIC = @ENABLE_STATIC@
-
-LINK = $(LINK.cc)
+TARGET = icudate$(EXEEXT)
 
-CPPFLAGS += -I$(top_builddir)/common -I$(top_srcdir)/common -I$(top_srcdir)/i18n
-LIBS = $(LIBICUI18N) $(LIBICUUC) @LIBS@ @LIB_M@
+CPPFLAGS += -I$(top_srcdir)/common -I$(top_srcdir)/i18n
+LIBS = $(LIBICUI18N) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M)
 
 OBJECTS = uprint.o date.o
 
@@ -62,14 +56,15 @@ distclean-local: clean-local
        $(RMV) Makefile
 
 check-local:
-       -$(INVOKE) ./$(TARGET)
+       -$(INVOKE) ./$(TARGET) $(ICUDATE_OPTS)
 
 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
        cd $(top_builddir) \
         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
 
 $(TARGET) : $(OBJECTS)
-       $(LINK) -o $@ $^ $(LIBS)
+       $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
+       $(POST_BUILD_STEP)
 
 ifeq (,$(MAKECMDGOALS))
 -include $(DEPS)