Debian Codegraph @

intl/icu/source/extra/scrptrun/Makefile.in

raw
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
8 srcdir = @srcdir@
9 top_srcdir = @top_srcdir@
10
11 top_builddir = ../..
12
13 include $(top_builddir)/icudefs.mk
14
15 ## Build directory information
16 subdir = extra/scrptrun
17
18 ## Extra files to remove for 'make clean'
19 CLEANFILES = *~ $(DEPS)
20
21 ## Target information
22 TARGET = srtest$(EXEEXT)
23
24 DEFS = @DEFS@
25 CPPFLAGS = @CPPFLAGS@ -I$(top_srcdir)/common -I$(top_srcdir)
26 CFLAGS = @CFLAGS@
27 CXXFLAGS = @CXXFLAGS@
28 ENABLE_RPATH = @ENABLE_RPATH@
29 ifeq ($(ENABLE_RPATH),YES)
30 RPATHLDFLAGS = $(LD_RPATH)$(LD_RPATH_PRE)$(libdir)
31 endif
32 LDFLAGS = @LDFLAGS@ $(RPATHLDFLAGS)
33 LIBS = $(LIBICUUC) $(LIB_M)
34
35 SOURCES = $(shell cat $(srcdir)/sources.txt)
36 OBJECTS = $(SOURCES:.cpp=.o)
37
38 DEPS = $(OBJECTS:.o=.d)
39
40 ## List of phony targets
41 .PHONY : all all-local install install-local clean clean-local \
42 distclean distclean-local dist dist-local check check-local
43
44 ## Clear suffix list
45 .SUFFIXES :
46
47 ## List of standard targets
48 all: all-local
49 install: install-local
50 clean: clean-local
51 distclean : distclean-local
52 dist: dist-local
53 check: all check-local
54
55 all-local: $(TARGET)
56
57 install-local:
58
59 dist-local:
60
61 clean-local:
62 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
63 $(RMV) $(OBJECTS) $(TARGET)
64
65 distclean-local: clean-local
66 $(RMV) Makefile
67
68 check-local: all-local
69
70 Makefile: $(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) $(OUTOPT)$@ $^ $(LIBS)
76 $(POST_BUILD_STEP)
77
78 invoke:
79 ICU_DATA=$${ICU_DATA:-$(top_builddir)/data/} TZ=PST8PDT $(INVOKE) $(INVOCATION)
80
81 ifeq (,$(MAKECMDGOALS))
82 -include $(DEPS)
83 else
84 ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
85 -include $(DEPS)
86 endif
87 endif