• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1## Makefile.in for ICU - test/testmap
2## Copyright (C) 2016 and later: Unicode, Inc. and others.
3## License & terms of use: http://www.unicode.org/copyright.html
4## Copyright (c) 2003-2012, 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## Build directory information
16subdir = test/testmap
17
18## Extra files to remove for 'make clean'
19CLEANFILES = *~ $(DEPS)
20
21## Target information
22TARGET = testmap$(EXEEXT)
23
24#DEFS = @DEFS@
25CPPFLAGS += -I$(top_srcdir)/common -I$(top_srcdir)/i18n  $(SHAREDLIBCPPFLAGS) $(SHAREDLIBCFLAGS)
26#CFLAGS += @CFLAGS@
27#CXXFLAGS = @CXXFLAGS@
28
29LIBS = $(LIBICUI18N) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M)
30
31OBJECTS = testmap.o
32
33DEPS = $(OBJECTS:.o=.d)
34
35## List of phony targets
36.PHONY : all all-local install install-local clean clean-local	\
37distclean distclean-local dist dist-local check check-local
38
39## Clear suffix list
40.SUFFIXES :
41
42## List of standard targets
43Xall: all-local
44install: install-local
45clean: clean-local
46distclean : distclean-local
47dist: dist-local
48check: all check-local
49
50all-local: $(TARGET)
51
52install-local:
53
54dist-local:
55
56clean-local:
57	test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
58	$(RMV) $(OBJECTS) $(TARGET)
59
60distclean-local: clean-local
61	$(RMV) Makefile
62
63check-local: all-local
64	$(INVOKE) ./$(TARGET)
65
66Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
67	cd $(top_builddir) \
68	 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
69
70$(TARGET) : $(OBJECTS)
71	$(LINK.cc) $(OUTOPT)$@ $^ $(LIBS) $(CFLAGS) $(SHAREDLIBCFLAGS)
72	$(POST_BUILD_STEP)
73
74ifeq (,$(MAKECMDGOALS))
75-include $(DEPS)
76else
77ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
78ifneq ($(patsubst %install,,$(MAKECMDGOALS)),)
79-include $(DEPS)
80endif
81endif
82endif
83