~ubuntu-branches/ubuntu/quantal/icu/quantal

« back to all changes in this revision

Viewing changes to source/samples/date/Makefile.in

  • Committer: Package Import Robot
  • Author(s): Yves Arrouye
  • Date: 2002-03-03 15:31:13 UTC
  • Revision ID: package-import@ubuntu.com-20020303153113-3ssceqlq45xbmbnc
Tags: upstream-2.0-2.1pre20020303
ImportĀ upstreamĀ versionĀ 2.0-2.1pre20020303

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
## Makefile.in for ICU - samples/date
 
2
## Copyright (c) 1999-2001, International Business Machines Corporation and
 
3
## others. All Rights Reserved.
 
4
 
 
5
## Source directory information
 
6
srcdir = @srcdir@
 
7
top_srcdir = @top_srcdir@
 
8
 
 
9
top_builddir = ../..
 
10
 
 
11
include $(top_builddir)/icudefs.mk
 
12
 
 
13
## Platform-specific setup
 
14
include @platform_make_fragment@
 
15
 
 
16
## Build directory information
 
17
subdir = samples/date
 
18
 
 
19
## Extra files to remove for 'make clean'
 
20
CLEANFILES = *~ $(DEPS)
 
21
 
 
22
## Target information
 
23
TARGET = date
 
24
 
 
25
ENABLE_STATIC = @ENABLE_STATIC@
 
26
 
 
27
ifneq ($(ENABLE_STATIC),)
 
28
LINK = $(LINK.cc)
 
29
else
 
30
LINK = $(LINK.c)
 
31
endif
 
32
 
 
33
DEFS = @DEFS@
 
34
CPPFLAGS = @CPPFLAGS@ -I$(top_builddir)/common -I$(top_srcdir)/common -I$(top_srcdir)/i18n
 
35
CFLAGS = @CFLAGS@
 
36
CXXFLAGS = @CXXFLAGS@
 
37
ENABLE_RPATH = @ENABLE_RPATH@
 
38
ifeq ($(ENABLE_RPATH),YES)
 
39
RPATHLDFLAGS = $(LD_RPATH)$(LD_RPATH_PRE)$(libdir)
 
40
endif
 
41
LDFLAGS = @LDFLAGS@ $(RPATHLDFLAGS)
 
42
LIBS = $(LIBICUI18N) $(LIBICUUC) @LIBS@ @LIB_M@
 
43
 
 
44
OBJECTS = uprint.o date.o
 
45
 
 
46
DEPS = $(OBJECTS:.o=.d)
 
47
 
 
48
## List of phony targets
 
49
.PHONY : all all-local install install-local clean clean-local \
 
50
distclean distclean-local dist dist-local check check-local
 
51
 
 
52
## Clear suffix list
 
53
.SUFFIXES :
 
54
 
 
55
## List of standard targets
 
56
all: all-local
 
57
install: install-local
 
58
clean: clean-local
 
59
distclean : distclean-local
 
60
dist: dist-local
 
61
check: all check-local
 
62
 
 
63
all-local: $(TARGET)
 
64
 
 
65
install-local: all-local
 
66
 
 
67
dist-local:
 
68
 
 
69
clean-local:
 
70
        test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
 
71
        $(RMV) $(OBJECTS) $(TARGET)
 
72
 
 
73
distclean-local: clean-local
 
74
        $(RMV) Makefile
 
75
 
 
76
check-local:
 
77
 
 
78
Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
 
79
        cd $(top_builddir) \
 
80
         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
 
81
 
 
82
$(TARGET) : $(OBJECTS)
 
83
        $(LINK) -o $@ $^ $(LIBS)
 
84
 
 
85
ifeq (,$(MAKECMDGOALS))
 
86
-include $(DEPS)
 
87
else
 
88
ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
 
89
-include $(DEPS)
 
90
endif
 
91
endif