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