Debian Codegraph @

intl/icu/source/tools/gennorm2/Makefile.in

raw
1 ## Makefile.in for ICU - tools/gennorm2
2 ## Copyright (C) 2016 and later: Unicode, Inc. and others.
3 ## License & terms of use: http://www.unicode.org/copyright.html
4 ## Copyright (c) 2009-2011, International Business Machines Corporation and
5 ## others. All Rights Reserved.
6 ## Steven R. Loomis/Markus W. Scherer
7
8 ## Source directory information
9 srcdir = @srcdir@
10 top_srcdir = @top_srcdir@
11
12 top_builddir = ../..
13
14 include $(top_builddir)/icudefs.mk
15
16 ## Build directory information
17 subdir = tools/gennorm2
18
19 TARGET_STUB_NAME = gennorm2
20
21 ## Extra files to remove for 'make clean'
22 CLEANFILES = *~ $(DEPS)
23
24 ## Target information
25 TARGET = $(BINDIR)/$(TARGET_STUB_NAME)$(EXEEXT)
26
27 CPPFLAGS += -I$(srcdir) -I$(top_srcdir)/common -I$(srcdir)/../toolutil
28 LIBS = $(LIBICUTOOLUTIL) $(LIBICUI18N) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M)
29
30 SOURCES = $(shell cat $(srcdir)/sources.txt)
31 OBJECTS = $(SOURCES:.cpp=.o)
32
33 DEPS = $(OBJECTS:.o=.d)
34
35 ## List of phony targets
36 .PHONY : all all-local install install-local clean clean-local \
37 distclean distclean-local dist dist-local check check-local install-man
38
39 ## Clear suffix list
40 .SUFFIXES :
41
42 ## List of standard targets
43 all: all-local
44 install: install-local
45 clean: clean-local
46 distclean : distclean-local
47 dist: dist-local
48 check: all check-local
49
50 all-local: $(TARGET)
51
52 install-local: all-local
53 $(MKINSTALLDIRS) $(DESTDIR)$(sbindir)
54 $(INSTALL) $(TARGET) $(DESTDIR)$(sbindir)
55
56 dist-local:
57
58 clean-local:
59 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
60 $(RMV) $(TARGET) $(OBJECTS)
61
62 distclean-local: clean-local
63 $(RMV) Makefile
64
65 check-local: all-local
66
67 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
68 cd $(top_builddir) \
69 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
70
71 $(TARGET) : $(OBJECTS)
72 $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
73 $(POST_BUILD_STEP)
74
75
76 ifeq (,$(MAKECMDGOALS))
77 -include $(DEPS)
78 else
79 ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
80 -include $(DEPS)
81 endif
82 endif