equal
deleted
inserted
replaced
27 .SUFFIXES: |
27 .SUFFIXES: |
28 # Delete target file if command fails. |
28 # Delete target file if command fails. |
29 .DELETE_ON_ERROR: |
29 .DELETE_ON_ERROR: |
30 # Default target. |
30 # Default target. |
31 .DEFAULT_GOAL = help |
31 .DEFAULT_GOAL = help |
|
32 |
|
33 ################################################################ |
|
34 # Determine platform/environment. |
|
35 |
|
36 host_os = unix |
|
37 ifneq '' '$(COMSPEC)' |
|
38 ifneq '' '$(WINDIR)' |
|
39 # Probably under Windows. |
|
40 host_os = windows |
|
41 ifneq '' '$(wildcard /etc/setup/*cygwin*)' |
|
42 # Probably under Cygwin. |
|
43 host_os = cygwin |
|
44 endif |
|
45 endif |
|
46 endif |
|
47 |
|
48 ifneq '' '$(wildcard /etc/wsl.conf)' |
|
49 is_wsl := yes |
|
50 endif |
32 |
51 |
33 ################################################################ |
52 ################################################################ |
34 # Build script definitions. |
53 # Build script definitions. |
35 |
54 |
36 BUILD_SCRIPTS := $(firstword $(MAKEFILE_LIST)) |
55 BUILD_SCRIPTS := $(firstword $(MAKEFILE_LIST)) |
74 echo "visclean=$$visclean"; \ |
93 echo "visclean=$$visclean"; \ |
75 echo "vatrelease=$$vatrelease"; \ |
94 echo "vatrelease=$$vatrelease"; \ |
76 echo "vmajor=$$vmajor"; \ |
95 echo "vmajor=$$vmajor"; \ |
77 echo "vminor=$$vminor"; \ |
96 echo "vminor=$$vminor"; \ |
78 } >$@ |
97 } >$@ |
79 |
|
80 ################################################################ |
|
81 # Determine platform/environment. |
|
82 |
|
83 host_os = unix |
|
84 ifneq '' '$(COMSPEC)' |
|
85 ifneq '' '$(WINDIR)' |
|
86 # Probably under Windows. |
|
87 host_os = windows |
|
88 ifneq '' '$(wildcard /etc/setup/*cygwin*)' |
|
89 # Probably under Cygwin. |
|
90 host_os = cygwin |
|
91 endif |
|
92 endif |
|
93 endif |
|
94 |
|
95 ifneq '' '$(wildcard /etc/wsl.conf)' |
|
96 is_wsl := yes |
|
97 endif |
|
98 |
98 |
99 ################################################################ |
99 ################################################################ |
100 # Build tools definition/switches. |
100 # Build tools definition/switches. |
101 |
101 |
102 INSTALL = install |
102 INSTALL = install |