]>
Commit | Line | Data |
---|---|---|
b75a7d8f A |
1 | ## Makefile.in for ICU - test/testmap |
2 | ## Copyright (c) 2003, International Business Machines Corporation and | |
3 | ## others. All Rights Reserved. | |
4 | ||
5 | ## Source directory information | |
6 | srcdir = @srcdir@ | |
7 | top_srcdir = @top_srcdir@ | |
8 | ||
9 | top_builddir = ../.. | |
10 | ||
11 | include $(top_builddir)/icudefs.mk | |
12 | ||
13 | ## Build directory information | |
14 | subdir = test/testmap | |
15 | ||
16 | ## Extra files to remove for 'make clean' | |
17 | CLEANFILES = *~ $(DEPS) | |
18 | ||
19 | ## Target information | |
20 | TARGET = testmap$(EXEEXT) | |
21 | ||
22 | #DEFS = @DEFS@ | |
23 | CPPFLAGS += -I$(top_builddir)/common -I$(top_srcdir)/common -I$(top_srcdir)/i18n | |
24 | #CFLAGS += @CFLAGS@ | |
25 | #CXXFLAGS = @CXXFLAGS@ | |
26 | ||
27 | LIBS = $(LIBICUI18N) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M) | |
28 | ||
29 | # Data packaging options are set at configure time with --with-data-packaging. | |
30 | CPPFLAGS += @DATA_PACKAGING_CPPFLAGS@ | |
31 | ||
32 | #ifeq ($(PKGDATA_MODE),dll) | |
33 | #CPPFLAGS += -DUDATA_MAP_DLL | |
34 | #LIBICUDATA= -L$(top_srcdir)/../data -licudata | |
35 | ||
36 | OBJECTS = testmap.o | |
37 | ||
38 | DEPS = $(OBJECTS:.o=.d) | |
39 | ||
40 | ## List of phony targets | |
41 | .PHONY : all all-local install install-local clean clean-local \ | |
42 | distclean distclean-local dist dist-local check check-local | |
43 | ||
44 | ## Clear suffix list | |
45 | .SUFFIXES : | |
46 | ||
47 | ## List of standard targets | |
48 | Xall: all-local | |
49 | install: install-local | |
50 | clean: clean-local | |
51 | distclean : distclean-local | |
52 | dist: dist-local | |
53 | check: all check-local | |
54 | ||
55 | all-local: $(TARGET) | |
56 | ||
57 | install-local: | |
58 | ||
59 | dist-local: | |
60 | ||
61 | clean-local: | |
62 | test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) | |
63 | $(RMV) $(OBJECTS) $(TARGET) | |
64 | ||
65 | distclean-local: clean-local | |
66 | $(RMV) Makefile | |
67 | ||
68 | check-local: all-local | |
69 | $(INVOKE) ./$(TARGET) | |
70 | ||
71 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | |
72 | cd $(top_builddir) \ | |
73 | && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status | |
74 | ||
75 | $(TARGET) : $(OBJECTS) | |
76 | $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS) | |
77 | ||
78 | ifeq (,$(MAKECMDGOALS)) | |
79 | -include $(DEPS) | |
80 | else | |
81 | ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),) | |
82 | ifneq ($(patsubst %install,,$(MAKECMDGOALS)),) | |
83 | -include $(DEPS) | |
84 | endif | |
85 | endif | |
86 | endif |