aboutsummaryrefslogtreecommitdiff
path: root/winsup/Makefile.in
blob: 2bc1c419c38f88c5fd4f282988edd12b3f2d9874 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# 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)}

.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):
	@$(MAKE) -C $@ all

$(INSTALL_SUBDIRS):
	@$(MAKE) -C ${patsubst install_%,%,$@} install

$(CLEAN_SUBDIRS):
	@$(MAKE) -C ${patsubst clean_%,%,$@} clean

.PRECIOUS: Makefile

Makefile: Makefile.in $(srcdir)/configure.in config.status
	$(SHELL) config.status

config.status: configure
	$(SHELL) config.status --recheck

check:
	@$(MAKE) -C testsuite check