b807c4ad01
* Makefile.in: Ditto. * configure: Regenerate.
116 lines
2.4 KiB
Makefile
116 lines
2.4 KiB
Makefile
# Makefile.in for windows stuff
|
|
# Copyright 1995, 1996, 1997, 1998, 1999, 2000 Red Hat, Inc.
|
|
#
|
|
# This file is part of Cygwin.
|
|
#
|
|
# This software is a copyrighted work licensed under the terms of the
|
|
# Cygwin license. Please consult the file "CYGWIN_LICENSE" for
|
|
# details.
|
|
|
|
# This makefile requires GNU make.
|
|
|
|
SHELL:=@SHELL@
|
|
VPATH:=@srcdir@
|
|
srcdir:=@srcdir@
|
|
objdir:=.
|
|
|
|
target_alias:=@target_alias@
|
|
build_alias:=@build_alias@
|
|
host_alias:=@host_alias@
|
|
prefix:=@prefix@
|
|
|
|
program_transform_name:=@program_transform_name@
|
|
exec_prefix:=@exec_prefix@
|
|
bindir:=@bindir@
|
|
libdir:=@libdir@
|
|
ifeq ($(target_alias),$(host_alias))
|
|
ifeq ($(build_alias),$(host_alias))
|
|
tooldir:=$(exec_prefix)
|
|
else
|
|
tooldir:=$(exec_prefix)/$(target_alias)
|
|
endif
|
|
else
|
|
tooldir:=$(exec_prefix)/$(target_alias)
|
|
endif
|
|
datadir:=@datadir@
|
|
infodir:=@infodir@
|
|
includedir:=@includedir@
|
|
|
|
SUBDIRS=@SUBDIRS@
|
|
INSTALL_SUBDIRS=${patsubst %,install_%,$(SUBDIRS)}
|
|
CLEAN_SUBDIRS=${patsubst %,clean_%,$(SUBDIRS)}
|
|
ZLIB=${findstring zlib,$(SUBDIRS)}
|
|
|
|
.PHONY: all install clean all-info info install-info check \
|
|
$(SUBDIRS) $(INSTALL_SUBDIRS) $(CLEAN_SUBDIRS)
|
|
|
|
.SUFFIXES:
|
|
|
|
MAKEOVERRIDES_WORKAROUND=${wordlist 2,1,a b c}
|
|
|
|
ifneq ($(MAKEOVERRIDES_WORKAROUND),)
|
|
override MAKE:=$(MAKE) $(MAKEOVERRIDES)
|
|
MAKEOVERRIDES:=
|
|
export MAKEOVERRIDES
|
|
endif
|
|
|
|
all: Makefile $(SUBDIRS)
|
|
|
|
install: Makefile $(INSTALL_SUBDIRS)
|
|
|
|
clean: $(CLEAN_SUBDIRS)
|
|
|
|
all-info:
|
|
|
|
install-info:
|
|
|
|
info:
|
|
|
|
$(SUBDIRS):
|
|
@if cd $@ 2>/dev/null; then \
|
|
$(MAKE) all || exit 1; \
|
|
fi || exit 0
|
|
|
|
$(INSTALL_SUBDIRS):
|
|
@if cd ${patsubst install_%,%,$@} 2>/dev/null; then \
|
|
$(MAKE) install || exit 1; \
|
|
fi || exit 0
|
|
|
|
$(CLEAN_SUBDIRS):
|
|
@if cd ${patsubst clean_%,%,$@} 2>/dev/null; then \
|
|
$(MAKE) clean || exit 1; \
|
|
fi || exit 0
|
|
|
|
.PRECIOUS: Makefile
|
|
|
|
Makefile: Makefile.in $(srcdir)/configure.in config.status
|
|
$(SHELL) config.status
|
|
|
|
config.status: configure
|
|
$(SHELL) config.status --recheck
|
|
|
|
check: cygwin
|
|
@if [ -f testsuite/config.status ]; then \
|
|
cd testsuite; \
|
|
else \
|
|
(mkdir testsuite 2>/dev/null || exit 0); \
|
|
cd testsuite; \
|
|
sed -n -e '1,/^done/{' -e 's%/cygwin%/testsuite%g; ' -e 'p; }' ../cygwin/config.status > config.status; \
|
|
chmod a+x config.status; \
|
|
sh ./config.status --recheck; \
|
|
sh ./config.status; \
|
|
fi; \
|
|
$(MAKE) check
|
|
|
|
utils: cygwin mingw
|
|
|
|
mingw: w32api
|
|
|
|
cygwin: w32api
|
|
|
|
install_utils: cygwin mingw
|
|
|
|
install_mingw: w32api
|
|
|
|
install_cygwin: w32api
|