[Win] Add flag to enable version information stamping and disable by default.
[WebKit-https.git] / WebKitLibraries / Makefile
1 SCRIPTS_PATH = ../Tools/Scripts
2
3 ifeq ($(shell sw_vers -productVersion | cut -d. -f-2), 10.10)
4 libs:
5         @true
6 cleanlibs:
7         @true
8 else
9 libs:
10         perl $(SCRIPTS_PATH)/copy-webkitlibraries-to-product-directory --wksi
11 cleanlibs:
12         perl $(SCRIPTS_PATH)/copy-webkitlibraries-to-product-directory --clean
13 endif
14
15 all: libs
16
17 debug d:
18         $(SCRIPTS_PATH)/set-webkit-configuration --debug
19         @$(MAKE) libs
20
21 release r:
22         $(SCRIPTS_PATH)/set-webkit-configuration --release
23         @$(MAKE) libs
24
25 analyze:
26         $(SCRIPTS_PATH)/set-webkit-configuration --debug
27         @$(MAKE) libs
28
29 clean:
30         @$(MAKE) cleanlibs