Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | # |
michael@0 | 2 | # This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 3 | # License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 4 | # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 5 | |
michael@0 | 6 | include $(CORE_DEPTH)/coreconf/UNIX.mk |
michael@0 | 7 | |
michael@0 | 8 | DEFAULT_COMPILER = $(CORE_DEPTH)/build/hcc |
michael@0 | 9 | |
michael@0 | 10 | CPU_ARCH = mips |
michael@0 | 11 | |
michael@0 | 12 | ifdef NS_USE_GCC |
michael@0 | 13 | CC = gcc |
michael@0 | 14 | CCC = g++ |
michael@0 | 15 | else |
michael@0 | 16 | CC = $(CORE_DEPTH)/build/hcc |
michael@0 | 17 | OS_CFLAGS = -Xa -KGnum=0 -KOlimit=4000 |
michael@0 | 18 | CCC = g++ |
michael@0 | 19 | endif |
michael@0 | 20 | |
michael@0 | 21 | MKSHLIB = $(LD) $(DSO_LDOPTS) |
michael@0 | 22 | ifdef MAPFILE |
michael@0 | 23 | # Add LD options to restrict exported symbols to those in the map file |
michael@0 | 24 | endif |
michael@0 | 25 | # Change PROCESS to put the mapfile in the correct format for this platform |
michael@0 | 26 | PROCESS_MAP_FILE = cp $< $@ |
michael@0 | 27 | |
michael@0 | 28 | RANLIB = /bin/true |
michael@0 | 29 | |
michael@0 | 30 | OS_CFLAGS += $(ODD_CFLAGS) -DSVR4 -D__SVR4 -DNEC -Dnec_ews -DHAVE_STRERROR |
michael@0 | 31 | OS_LIBS = -lsocket -lnsl -ldl $(LDOPTIONS) |
michael@0 | 32 | LDOPTIONS = -lc -L/usr/ucblib -lucb |
michael@0 | 33 | |
michael@0 | 34 | NOSUCHFILE = /nec-rm-f-sucks |
michael@0 | 35 | |
michael@0 | 36 | DSO_LDOPTS = -G |