mirror of
https://github.com/roytam1/UXP.git
synced 2026-05-26 13:58:49 +00:00
d388e478a0
Vim control lines were re-introduced or not entirely cleaned up. This nukes them again. Removing from the rest of js, caps, chrome, config, devtools, docshell, image, intl. More to come.
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# -*- makefile -*-
|
|
#
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
ifndef NO_DIST_INSTALL
|
|
|
|
ifneq (,$(strip $(PROGRAM)$(SIMPLE_PROGRAMS)))
|
|
PROGRAMS_EXECUTABLES = $(SIMPLE_PROGRAMS) $(PROGRAM)
|
|
PROGRAMS_DEST ?= $(FINAL_TARGET)
|
|
PROGRAMS_TARGET := target
|
|
INSTALL_TARGETS += PROGRAMS
|
|
endif
|
|
|
|
ifdef LIBRARY
|
|
ifdef DIST_INSTALL
|
|
ifdef IS_COMPONENT
|
|
$(error Shipping static component libs makes no sense.)
|
|
endif
|
|
endif # DIST_INSTALL
|
|
endif # LIBRARY
|
|
|
|
|
|
ifdef SHARED_LIBRARY
|
|
SHARED_LIBRARY_FILES = $(SHARED_LIBRARY)
|
|
SHARED_LIBRARY_DEST ?= $(FINAL_TARGET)$(if $(IS_COMPONENT),/components)
|
|
SHARED_LIBRARY_TARGET = target
|
|
INSTALL_TARGETS += SHARED_LIBRARY
|
|
endif # SHARED_LIBRARY
|
|
|
|
ifneq (,$(strip $(HOST_SIMPLE_PROGRAMS)$(HOST_PROGRAM)))
|
|
HOST_PROGRAMS_EXECUTABLES = $(HOST_SIMPLE_PROGRAMS) $(HOST_PROGRAM)
|
|
HOST_PROGRAMS_DEST ?= $(DIST)/host/bin
|
|
HOST_PROGRAMS_TARGET = host
|
|
INSTALL_TARGETS += HOST_PROGRAMS
|
|
endif
|
|
|
|
endif # !NO_DIST_INSTALL
|
|
|
|
# EOF
|