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