]>
Commit | Line | Data |
---|---|---|
b75a7d8f | 1 | ## Makefile.in for ICU - tools/gentest |
f3c0d7a5 A |
2 | ## Copyright (C) 2016 and later: Unicode, Inc. and others. |
3 | ## License & terms of use: http://www.unicode.org/copyright.html | |
4388f060 | 4 | ## Copyright (c) 1999-2011, International Business Machines Corporation and |
b75a7d8f A |
5 | ## others. All Rights Reserved. |
6 | ## Madhu Katragadda | |
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/gentest | |
18 | ||
b75a7d8f | 19 | ## Extra files to remove for 'make clean' |
374ca955 | 20 | CLEANFILES = *~ $(DEPS) |
b75a7d8f A |
21 | |
22 | ## Target information | |
23 | TARGET = gentest$(EXEEXT) | |
24 | ||
46f4442e A |
25 | CPPFLAGS += -I$(top_srcdir)/common -I$(srcdir)/../toolutil -I$(top_srcdir)/tools/ctestfw |
26 | CPPFLAGS+= -I$(top_srcdir)/i18n | |
27 | LIBS = $(LIBCTESTFW) $(LIBICUTOOLUTIL) $(LIBICUI18N) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M) | |
b75a7d8f | 28 | |
374ca955 | 29 | OBJECTS = gentest.o genres32.o |
b75a7d8f A |
30 | |
31 | DEPS = $(OBJECTS:.o=.d) | |
32 | ||
b75a7d8f A |
33 | ## List of phony targets |
34 | .PHONY : all all-local install install-local clean clean-local \ | |
73c04bcf | 35 | distclean distclean-local dist dist-local check check-local |
b75a7d8f A |
36 | |
37 | ## Clear suffix list | |
38 | .SUFFIXES : | |
39 | ||
40 | ## List of standard targets | |
41 | all: all-local | |
42 | install: install-local | |
43 | clean: clean-local | |
44 | distclean : distclean-local | |
45 | dist: dist-local | |
46 | check: all check-local | |
47 | ||
48 | all-local: $(TARGET) | |
49 | ||
50 | install-local: all-local | |
51 | ||
52 | dist-local: | |
53 | ||
73c04bcf | 54 | clean-local: |
b75a7d8f A |
55 | test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) |
56 | $(RMV) $(TARGET) $(OBJECTS) | |
57 | ||
58 | distclean-local: clean-local | |
59 | $(RMV) Makefile | |
60 | ||
61 | check-local: all-local | |
62 | ||
63 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | |
64 | cd $(top_builddir) \ | |
65 | && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status | |
66 | ||
67 | $(TARGET) : $(OBJECTS) | |
68 | $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS) | |
46f4442e | 69 | $(POST_BUILD_STEP) |
b75a7d8f A |
70 | |
71 | ifeq (,$(MAKECMDGOALS)) | |
72 | -include $(DEPS) | |
73 | else | |
74 | ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),) | |
75 | -include $(DEPS) | |
76 | endif | |
77 | endif | |
78 |