scuffed-code/icu4c/source/samples/cal/Makefile.in

77 lines
1.6 KiB
Makefile
Raw Normal View History

1999-08-16 21:50:52 +00:00
## Makefile.in for ICU - samples/cal
## Copyright (c) 1999-2004, International Business Machines Corporation and
## others. All Rights Reserved.
1999-08-16 21:50:52 +00:00
## Source directory information
1999-08-16 21:50:52 +00:00
srcdir = @srcdir@
top_srcdir = @top_srcdir@
## Install directory information
top_builddir = ../..
include $(top_builddir)/icudefs.mk
1999-08-16 21:50:52 +00:00
## Build directory information
subdir = samples/cal
## Extra files to remove for 'make clean'
CLEANFILES = *~ $(DEPS)
1999-08-16 21:50:52 +00:00
## Target information
TARGET = icucal$(EXEEXT)
1999-08-16 21:50:52 +00:00
LINK = $(LINK.cc)
CPPFLAGS += -I$(top_builddir)/common -I$(top_srcdir)/common -I$(top_srcdir)/i18n
LIBS = $(LIBICUI18N) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M)
1999-08-16 21:50:52 +00:00
OBJECTS = uprint.o cal.o
DEPS = $(OBJECTS:.o=.d)
## List of phony targets
.PHONY : all all-local install install-local clean clean-local \
distclean distclean-local dist dist-local check check-local
## Clear suffix list
.SUFFIXES :
## List of standard targets
all: all-local
install: install-local
clean: clean-local
distclean : distclean-local
dist: dist-local
check: all check-local
1999-08-16 21:50:52 +00:00
all-local: $(TARGET)
install-local: all-local
dist-local:
clean-local:
test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
$(RMV) $(OBJECTS) $(TARGET)
1999-08-16 21:50:52 +00:00
distclean-local: clean-local
$(RMV) Makefile
1999-08-16 21:50:52 +00:00
check-local:
-$(INVOKE) ./$(TARGET)
1999-08-16 21:50:52 +00:00
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) \
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
$(TARGET) : $(OBJECTS)
$(LINK) $(OUTOPT)$@ $^ $(LIBS)
1999-08-16 21:50:52 +00:00
ifeq (,$(MAKECMDGOALS))
-include $(DEPS)
else
ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
1999-08-16 21:50:52 +00:00
-include $(DEPS)
endif
endif