makefile.mk (ea15b27d) makefile.mk (fb2e0c6f)
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 42 unchanged lines hidden (view full) ---

51.ENDIF # "$(OS)"=="MACOSX"
52
53.IF "$(debug)" != ""
54.ELSE
55BUILD_OPT=1
56.EXPORT: BUILD_OPT
57.ENDIF
58
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 42 unchanged lines hidden (view full) ---

51.ENDIF # "$(OS)"=="MACOSX"
52
53.IF "$(debug)" != ""
54.ELSE
55BUILD_OPT=1
56.EXPORT: BUILD_OPT
57.ENDIF
58
59.IF "$(GUI)"=="UNX"
60.IF "$(OS)$(COM)"=="LINUXGCC"
61.IF "$(BUILD64)"=="1"
59.IF "$(BUILD64)"=="1"
62# force 64-bit buildmode
60# force the 64-bit build mode for 64bit targets
63USE_64:=1
64.EXPORT : USE_64
61USE_64:=1
62.EXPORT : USE_64
65.ENDIF # "$(CPU)"=="X"
66.ENDIF # "$(OS)$(COM)"=="LINUXGCC"
63.ENDIF # "$(BUILD64)"=="1"
67
64
68.IF "$(OS)$(COM)"=="FREEBSDGCC"
69.IF "$(CPU)"=="X"
70# force 64-bit buildmode
71USE_64:=1
72.EXPORT : USE_64
73.ENDIF # "$(CPU)"=="X"
74.ENDIF # "$(OS)$(COM)"=="LINUXGCC"
75
76.IF "$(OS)"=="MACOSX"
77.IF "$(EXTRA_CFLAGS)"!=""
78CPP:=gcc -E $(EXTRA_CFLAGS)
79CXX:=g++ $(EXTRA_CFLAGS)
80CC:=gcc $(EXTRA_CFLAGS)
81.EXPORT : CPP
82.ENDIF # "$(EXTRA_CFLAGS)"!=""
83.ENDIF # "$(OS)"=="MACOSX"
84
85OUT2LIB=mozilla$/dist$/out$/lib$/*$(DLLPOST)
86
87BUILD_DIR=mozilla$/security$/nss
88BUILD_ACTION= $(GNUMAKE) nss_build_all
89#See #i105566# && moz#513024#
90.IF "$(OS)"=="LINUX"
91BUILD_ACTION+=FREEBL_NO_DEPEND=1 FREEBL_LOWHASH=1
92PATCH_FILES+=nss_linux.patch
93.ENDIF
94
65OUT2LIB=mozilla$/dist$/out$/lib$/*$(DLLPOST)
66
67BUILD_DIR=mozilla$/security$/nss
68BUILD_ACTION= $(GNUMAKE) nss_build_all
69#See #i105566# && moz#513024#
70.IF "$(OS)"=="LINUX"
71BUILD_ACTION+=FREEBL_NO_DEPEND=1 FREEBL_LOWHASH=1
72PATCH_FILES+=nss_linux.patch
73.ENDIF
74
95.ENDIF # "$(GUI)"=="UNX"
96
75
97
98.IF "$(GUI)"=="WNT"
99
100.IF "$(COM)"=="GCC"
101
102PATCH_FILES+=nss.patch.mingw
103
104moz_build:=$(shell cygpath -p $(MOZILLABUILD))
105PATH!:=$(moz_build)/bin:$(PATH)

--- 77 unchanged lines hidden ---
76.IF "$(GUI)"=="WNT"
77
78.IF "$(COM)"=="GCC"
79
80PATCH_FILES+=nss.patch.mingw
81
82moz_build:=$(shell cygpath -p $(MOZILLABUILD))
83PATH!:=$(moz_build)/bin:$(PATH)

--- 77 unchanged lines hidden ---