]> sourceware.org Git - newlib-cygwin.git/blame - winsup/Makefile.in
Cygwin: Always configure in testsuite subdirectory
[newlib-cygwin.git] / winsup / Makefile.in
CommitLineData
1fd5e000 1# Makefile.in for windows stuff
1fd5e000
CF
2#
3# This file is part of Cygwin.
4#
5# This software is a copyrighted work licensed under the terms of the
6# Cygwin license. Please consult the file "CYGWIN_LICENSE" for
7# details.
8
9# This makefile requires GNU make.
10
11SHELL:=@SHELL@
12VPATH:=@srcdir@
13srcdir:=@srcdir@
14objdir:=.
15
16target_alias:=@target_alias@
17build_alias:=@build_alias@
18host_alias:=@host_alias@
81fa7891 19prefix:=@prefix@
fd49ac27 20
81fa7891
CF
21program_transform_name:=@program_transform_name@
22exec_prefix:=@exec_prefix@
23bindir:=@bindir@
24libdir:=@libdir@
1fd5e000
CF
25ifeq ($(target_alias),$(host_alias))
26ifeq ($(build_alias),$(host_alias))
27tooldir:=$(exec_prefix)
28else
29tooldir:=$(exec_prefix)/$(target_alias)
30endif
31else
32tooldir:=$(exec_prefix)/$(target_alias)
33endif
3bc912c0 34datarootdir:=@datarootdir@
81fa7891
CF
35datadir:=@datadir@
36infodir:=@infodir@
37includedir:=@includedir@
1fd5e000 38
95dc8840
CV
39INSTALL:=@INSTALL@
40INSTALL_PROGRAM:=@INSTALL_PROGRAM@
41INSTALL_DATA:=@INSTALL_DATA@
42
99fc5e10 43SUBDIRS=@subdirs@
1fd5e000
CF
44INSTALL_SUBDIRS=${patsubst %,install_%,$(SUBDIRS)}
45CLEAN_SUBDIRS=${patsubst %,clean_%,$(SUBDIRS)}
46
97349b78 47.PHONY: all install clean distclean all-info info install-info install-license check \
344a1924 48 $(SUBDIRS) $(INSTALL_SUBDIRS) $(CLEAN_SUBDIRS)
1fd5e000
CF
49
50.SUFFIXES:
51
7f363152
CF
52MAKEOVERRIDES_WORKAROUND=${wordlist 2,1,a b c}
53
54ifneq ($(MAKEOVERRIDES_WORKAROUND),)
55 override MAKE:=$(MAKE) $(MAKEOVERRIDES)
56 MAKEOVERRIDES:=
57 export MAKEOVERRIDES
58endif
1fd5e000
CF
59
60all: Makefile $(SUBDIRS)
61
888784b6 62install-license: CYGWIN_LICENSE COPYING
99fe2b78 63 ${INSTALL} -d $(DESTDIR)$(prefix)/share/doc/Cygwin
888784b6 64 for i in $^; do \
99fe2b78 65 ${INSTALL} $$i $(DESTDIR)$(prefix)/share/doc/Cygwin ; \
888784b6 66 done
1fd5e000 67
1996cb7e 68install: Makefile install-license $(INSTALL_SUBDIRS)
7e5d0e9f 69
97349b78 70clean distclean: $(CLEAN_SUBDIRS)
1fd5e000 71
344a1924
CF
72all-info:
73
74install-info:
75
76info:
77
1fd5e000 78$(SUBDIRS):
13dbf6b0 79 @${MAKE} -C $@ all || ([ "$@" == doc ] && echo "*** error ignored")
1fd5e000
CF
80
81$(INSTALL_SUBDIRS):
dfd2ffdc 82 @${MAKE} -C $(patsubst install_%,%,$@) install || ([ "$@" == install_doc ] && echo "*** error ignored")
1fd5e000
CF
83
84$(CLEAN_SUBDIRS):
13dbf6b0 85 @if cd $(patsubst clean_%,%,$@) 2>/dev/null; then \
94597cd0 86 $(MAKE) clean || exit 1; \
a9f20457 87 fi || exit 0
1fd5e000
CF
88
89.PRECIOUS: Makefile
90
0d82dbb1 91Makefile: Makefile.in $(srcdir)/configure config.status
1fd5e000
CF
92 $(SHELL) config.status
93
94config.status: configure
95 $(SHELL) config.status --recheck
39630fe3 96
a9f20457 97check: cygwin
a7cb126b 98 $(MAKE) -C testsuite check
15d0cbd6 99
68157644 100utils: cygwin
15d0cbd6 101
68157644 102cygwin:
15d0cbd6 103
95b11561
CV
104cygserver: cygwin
105
68157644 106install_utils: cygwin
15d0cbd6 107
68157644 108install_cygwin:
350c2f44
CF
109
110install_cygserver: cygwin
This page took 0.299423 seconds and 5 git commands to generate.