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