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