1 ## Makefile.in for ICU - tools/icuswap
2 ## Copyright (c) 1999-2006, International Business Machines Corporation and
3 ## others. All Rights Reserved.
6 ## Source directory information
8 top_srcdir = @top_srcdir@
12 include $(top_builddir)/icudefs.mk
14 ## Build directory information
15 subdir = tools/icuswap
17 TARGET_STUB_NAME = icuswap
21 #MAN_FILES = $(TARGET_STUB_NAME).$(SECTION)
23 ## Extra files to remove for 'make clean'
24 CLEANFILES = *~ $(DEPS) $(MAN_FILES)
27 TARGET = $(BINDIR)/$(TARGET_STUB_NAME)$(EXEEXT)
29 ifneq ($(top_builddir),$(top_srcdir))
30 CPPFLAGS += -I$(top_builddir)/common
32 CPPFLAGS += -I$(top_srcdir)/common -I$(srcdir)/../toolutil
33 LIBS = $(LIBICUTOOLUTIL) $(LIBICUI18N) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M)
37 DEPS = $(OBJECTS:.o=.d)
39 ## List of phony targets
40 .PHONY : all all-local install install-local clean clean-local \
41 distclean distclean-local dist dist-local check check-local install-man
46 ## List of standard targets
48 install: install-local
50 distclean : distclean-local
52 check: all check-local
54 all-local: $(TARGET) $(MAN_FILES)
56 install-local: all-local install-man
57 $(MKINSTALLDIRS) $(DESTDIR)$(sbindir)
58 $(INSTALL) $(TARGET) $(DESTDIR)$(sbindir)
60 install-man: $(MAN_FILES)
61 # $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man$(SECTION)
62 # $(INSTALL_DATA) $? $(DESTDIR)$(mandir)/man$(SECTION)
68 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
69 $(RMV) $(TARGET) $(OBJECTS)
71 distclean-local: clean-local
74 check-local: all-local
76 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
78 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
80 $(TARGET) : $(OBJECTS)
81 $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
84 %.$(SECTION): $(srcdir)/%.$(SECTION).in
86 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
89 ifeq (,$(MAKECMDGOALS))
92 ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)