## 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
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
$(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)