Debian Codegraph @

intl/icu/source/test/letest/Makefile.in

raw
1 ## Makefile.in for ICU - test/letest
2 ## Copyright (C) 2016 and later: Unicode, Inc. and others.
3 ## License & terms of use: http://www.unicode.org/copyright.html
4 ## Copyright (c) 2001-2014, 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 = test/letest
17
18 ## Extra files to remove for 'make clean'
19 CLEANFILES = *~ $(DEPS)
20
21 ## Target information
22 TESTTARGET = letest
23
24 BUILDDIR := $(CURR_SRCCODE_FULL_DIR)/../../
25 # Simplify the path for Unix
26 BUILDDIR := $(BUILDDIR:test/cintltst/../../=)
27 # Simplify the path for Windows
28 BUILDDIR := $(BUILDDIR:test\\cintltst/../../=)
29 # Simplify the path for Windows 98
30 BUILDDIR := $(BUILDDIR:TEST\\CINTLTST/../../=)
31
32 CPPFLAGS += -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(top_srcdir)/tools/ctestfw -I$(top_srcdir)/tools/toolutil -I$(top_srcdir)/layoutex $(ICULE_CFLAGS) $(ICULEHB_CFLAGS)
33 DEFS += -D'U_TOPSRCDIR="$(top_srcdir)/"' -D'U_TOPBUILDDIR="$(BUILDDIR)"'
34 LIBS = $(LIBICULX) $(LIBICUUC) $(LIBICUI18N) $(LIBCTESTFW) $(LIBICUTOOLUTIL) $(DEFAULT_LIBS) $(LIB_M) $(ICULEHB_LIBS)
35
36 COMMONOBJECTS = SimpleFontInstance.o
37 TESTOBJECTS = letest.o
38
39 OBJECTS = $(COMMONOBJECTS) $(TESTOBJECTS)
40
41 DEPS = $(OBJECTS:.o=.d)
42
43 ## List of phony targets
44 .PHONY : all all-local install install-local clean clean-local \
45 distclean distclean-local dist dist-local check check-local xcheck xcheck-local
46
47 ## Clear suffix list
48 .SUFFIXES :
49
50 ## List of standard targets
51 all: all-local
52 install: install-local
53 clean: clean-local
54 distclean : distclean-local
55 dist: dist-local
56 check: all check-local
57 xcheck: all xcheck-local
58
59 all-local: $(TESTTARGET)
60
61 install-local:
62
63 dist-local:
64
65 clean-local:
66 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
67 $(RMV) $(COMMONOBJECTS) $(TESTOBJECTS) $(TARGET)
68
69 distclean-local: clean-local
70 $(RMV) Makefile
71
72 check-local: all-local
73 $(INVOKE) ./$(TESTTARGET) $(TEST_OUTPUT_OPTS) $(LETEST_OPTS)
74
75 TESTXML=$(top_builddir)/test-$(TESTTARGET).xml
76 xcheck-local: all-local
77 $(INVOKE) ./$(TESTTARGET) $(TEST_OUTPUT_OPTS) $(LETEST_OPTS) -x $(TESTXML)
78
79 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
80 cd $(top_builddir) \
81 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
82
83 $(TESTTARGET) : $(COMMONOBJECTS) $(TESTOBJECTS)
84 $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
85 $(POST_BUILD_STEP)
86
87 invoke:
88 ICU_DATA=$${ICU_DATA:-$(top_builddir)/data/} TZ=PST8PDT $(INVOKE) $(INVOCATION)
89
90 ifeq (,$(MAKECMDGOALS))
91 -include $(DEPS)
92 else
93 ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
94 ifneq ($(patsubst %install,,$(MAKECMDGOALS)),)
95 -include $(DEPS)
96 endif
97 endif
98 endif