1 # Makefile.in for windows stuff
3 # This file is part of Cygwin.
5 # This software is a copyrighted work licensed under the terms of the
6 # Cygwin license. Please consult the file "CYGWIN_LICENSE" for
9 # This makefile requires GNU make.
16 target_alias
:=@target_alias@
17 build_alias
:=@build_alias@
18 host_alias
:=@host_alias@
21 program_transform_name
:=@program_transform_name@
22 exec_prefix:=@
exec_prefix@
25 ifeq ($(target_alias
),$(host_alias
))
26 ifeq ($(build_alias
),$(host_alias
))
27 tooldir
:=$(exec_prefix)
29 tooldir
:=$(exec_prefix)/$(target_alias
)
32 tooldir
:=$(exec_prefix)/$(target_alias
)
34 datarootdir
:=@datarootdir@
37 includedir:=@
includedir@
40 INSTALL_PROGRAM
:=@INSTALL_PROGRAM@
41 INSTALL_DATA
:=@INSTALL_DATA@
44 INSTALL_SUBDIRS
=${patsubst %,install_
%,$(SUBDIRS
)}
45 CLEAN_SUBDIRS
=${patsubst %,clean_
%,$(SUBDIRS
)}
47 .PHONY
: all install clean distclean all-info
info install-info install-license
check \
48 $(SUBDIRS
) $(INSTALL_SUBDIRS
) $(CLEAN_SUBDIRS
)
52 MAKEOVERRIDES_WORKAROUND
=${wordlist
2,1,a b c
}
54 ifneq ($(MAKEOVERRIDES_WORKAROUND
),)
55 override MAKE
:=$(MAKE
) $(MAKEOVERRIDES
)
60 all: Makefile
$(SUBDIRS
)
62 install-license
: CYGWIN_LICENSE COPYING
63 ${INSTALL} -d
$(DESTDIR
)$(prefix)/share
/doc
/Cygwin
65 ${INSTALL} $$i $(DESTDIR
)$(prefix)/share
/doc
/Cygwin
; \
68 install: Makefile install-license
$(INSTALL_SUBDIRS
)
70 clean distclean: $(CLEAN_SUBDIRS
)
79 @
${MAKE} -C
$@
all ||
([ "$@" == doc
] && echo
"*** error ignored")
82 @
${MAKE} -C
$(patsubst install_
%,%,$@
) install ||
([ "$@" == install_doc
] && echo
"*** error ignored")
85 @if cd
$(patsubst clean_
%,%,$@
) 2>/dev
/null
; then \
86 $(MAKE
) clean || exit
1; \
91 Makefile
: Makefile.in
$(srcdir)/configure config.status
92 $(SHELL
) config.status
94 config.status
: configure
95 $(SHELL
) config.status
--recheck
98 $(MAKE
) -C testsuite
check
106 install_utils
: cygwin
110 install_cygserver
: cygwin