1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/security/nss/coreconf/nsinstall/Makefile Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,42 @@ 1.4 +# 1.5 +# This Source Code Form is subject to the terms of the Mozilla Public 1.6 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.8 + 1.9 +DEPTH = ../.. 1.10 +CORE_DEPTH = ../.. 1.11 + 1.12 +MODULE = coreconf 1.13 + 1.14 +CSRCS = nsinstall.c pathsub.c 1.15 + 1.16 +PROGRAM = nsinstall 1.17 + 1.18 +# Indicate that this directory builds build tools. 1.19 +INTERNAL_TOOLS = 1 1.20 + 1.21 + 1.22 +include $(DEPTH)/coreconf/config.mk 1.23 + 1.24 +ifeq (,$(filter-out OS2 WIN%,$(OS_TARGET))) 1.25 +PROGRAM = 1.26 +else 1.27 +TARGETS = $(PROGRAM) 1.28 +INSTALL = true 1.29 +endif 1.30 + 1.31 +ifdef NATIVE_CC 1.32 +CC=$(NATIVE_CC) 1.33 +endif 1.34 + 1.35 +ifdef NATIVE_FLAGS 1.36 +OS_CFLAGS=$(NATIVE_FLAGS) 1.37 +endif 1.38 + 1.39 +include $(DEPTH)/coreconf/rules.mk 1.40 + 1.41 +# Redefine MAKE_OBJDIR for just this directory 1.42 +define MAKE_OBJDIR 1.43 +if test ! -d $(@D); then rm -rf $(@D); mkdir $(@D); fi 1.44 +endef 1.45 +