Blame nss/coreconf/nsinstall/Makefile
|
Packit |
40b132 |
#
|
|
Packit |
40b132 |
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
Packit |
40b132 |
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
Packit |
40b132 |
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
DEPTH = ../..
|
|
Packit |
40b132 |
CORE_DEPTH = ../..
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
MODULE = coreconf
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
CSRCS = nsinstall.c pathsub.c
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
PROGRAM = nsinstall
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
# Indicate that this directory builds build tools.
|
|
Packit |
40b132 |
INTERNAL_TOOLS = 1
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
include $(DEPTH)/coreconf/config.mk
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
ifeq (,$(filter-out OS2 WIN%,$(OS_TARGET)))
|
|
Packit |
40b132 |
PROGRAM =
|
|
Packit |
40b132 |
else
|
|
Packit |
40b132 |
TARGETS = $(PROGRAM)
|
|
Packit |
40b132 |
INSTALL = true
|
|
Packit |
40b132 |
endif
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
ifdef NATIVE_CC
|
|
Packit |
40b132 |
CC=$(NATIVE_CC)
|
|
Packit |
40b132 |
endif
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
ifdef NATIVE_FLAGS
|
|
Packit |
40b132 |
OS_CFLAGS=$(NATIVE_FLAGS)
|
|
Packit |
40b132 |
endif
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
include $(DEPTH)/coreconf/rules.mk
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
# Redefine MAKE_OBJDIR for just this directory
|
|
Packit |
40b132 |
define MAKE_OBJDIR
|
|
Packit |
40b132 |
if test ! -d $(@D); then rm -rf $(@D); mkdir $(@D); fi
|
|
Packit |
40b132 |
endef
|
|
Packit |
40b132 |
|