security/nss/coreconf/nsinstall/Makefile

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:74fd74208929
1 #
2 # This Source Code Form is subject to the terms of the Mozilla Public
3 # License, v. 2.0. If a copy of the MPL was not distributed with this
4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
6 DEPTH = ../..
7 CORE_DEPTH = ../..
8
9 MODULE = coreconf
10
11 CSRCS = nsinstall.c pathsub.c
12
13 PROGRAM = nsinstall
14
15 # Indicate that this directory builds build tools.
16 INTERNAL_TOOLS = 1
17
18
19 include $(DEPTH)/coreconf/config.mk
20
21 ifeq (,$(filter-out OS2 WIN%,$(OS_TARGET)))
22 PROGRAM =
23 else
24 TARGETS = $(PROGRAM)
25 INSTALL = true
26 endif
27
28 ifdef NATIVE_CC
29 CC=$(NATIVE_CC)
30 endif
31
32 ifdef NATIVE_FLAGS
33 OS_CFLAGS=$(NATIVE_FLAGS)
34 endif
35
36 include $(DEPTH)/coreconf/rules.mk
37
38 # Redefine MAKE_OBJDIR for just this directory
39 define MAKE_OBJDIR
40 if test ! -d $(@D); then rm -rf $(@D); mkdir $(@D); fi
41 endef
42

mercurial