1 ## Makefile.in for ICU - tools/icuswap
2 ## Copyright (c) 1999-2004, 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
19 TARGET_STUB_NAME = icuswap
23 #MANX_FILES = $(TARGET_STUB_NAME).$(SECTION)
25 #ALL_MAN_FILES = $(MANX_FILES)
27 ## Extra files to remove for 'make clean'
28 CLEANFILES = *~ $(DEPS) $(ALL_MAN_FILES)
31 TARGET = $(BINDIR)/$(TARGET_STUB_NAME)$(EXEEXT)
33 CPPFLAGS += -I$(top_builddir)/common -I$(top_srcdir)/common -I$(srcdir)/../toolutil $(BIR_CPPFLAGS)
34 LIBS = $(LIBICUTOOLUTIL) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M)
38 DEPS = $(OBJECTS:.o=.d)
40 ## List of phony targets
41 .PHONY : all all-local install install-local clean clean-local \
42 distclean distclean-local dist dist-local check \
43 check-local install-man install-manx
48 ## List of standard targets
50 install: install-local
52 distclean : distclean-local
54 check: all check-local
56 all-local: $(TARGET) $(ALL_MAN_FILES)
58 install-local: all-local install-man
59 $(MKINSTALLDIRS) $(DESTDIR)$(sbindir)
60 $(INSTALL) $(TARGET) $(DESTDIR)$(sbindir)
65 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
66 $(RMV) $(TARGET) $(OBJECTS)
68 distclean-local: clean-local
71 check-local: all-local
73 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
75 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
77 $(TARGET) : $(OBJECTS)
78 $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
81 install-man: install-manx
82 install-manx: $(MANX_FILES)
83 # $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man$(SECTION)
84 # $(INSTALL_DATA) $? $(DESTDIR)$(mandir)/man$(SECTION)
86 %.$(SECTION): $(srcdir)/%.$(SECTION).in
88 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
90 ifeq (,$(MAKECMDGOALS))
93 ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)