Changes to make JSS more easily releasable.

Also, get rid of NS_USE_JDK_TOOLSET.
This commit is contained in:
nicolson%netscape.com 2001-06-29 01:53:01 +00:00
Родитель 6d2963fb11
Коммит 140ec58bc5
2 изменённых файлов: 22 добавлений и 16 удалений

Просмотреть файл

@ -399,7 +399,6 @@ endif
endif
ifdef NS_USE_JDK_TOOLSET
#######################################################################
# [5] Define JDK "Core Components" toolset; #
# (always allow a user to override these values) #
@ -608,5 +607,3 @@ ifeq ($(SERIALVER),)
SERIALVER_FLAGS = $(JDK_THREADING_MODEL_OPT)
SERIALVER = $(SERIALVER_PROG) $(SERIALVER_FLAGS)
endif
endif

Просмотреть файл

@ -242,21 +242,30 @@ endif
release_policy::
+$(LOOP_OVER_DIRS)
ifndef NO_MD_RELEASE
ifdef LIBRARY
MD_LIB_RELEASE_FILES += $(LIBRARY)
endif
ifdef SHARED_LIBRARY
MD_LIB_RELEASE_FILES += $(SHARED_LIBRARY)
endif
ifdef IMPORT_LIBRARY
MD_LIB_RELEASE_FILES += $(IMPORT_LIBRARY)
endif
ifdef PROGRAM
MD_BIN_RELEASE_FILES += $(PROGRAM)
endif
ifdef PROGRAMS
MD_BIN_RELEASE_FILES += $(PROGRAMS)
endif
endif
release_md::
ifdef LIBRARY
$(INSTALL) -m 444 $(LIBRARY) $(SOURCE_RELEASE_PREFIX)/$(SOURCE_RELEASE_LIB_DIR)
ifneq ($(MD_LIB_RELEASE_FILES),)
$(INSTALL) -m 444 $(MD_LIB_RELEASE_FILES) $(SOURCE_RELEASE_PREFIX)/$(SOURCE_RELEASE_LIB_DIR)
endif
ifdef SHARED_LIBRARY
$(INSTALL) -m 555 $(SHARED_LIBRARY) $(SOURCE_RELEASE_PREFIX)/$(SOURCE_RELEASE_LIB_DIR)
endif
ifdef IMPORT_LIBRARY
$(INSTALL) -m 555 $(IMPORT_LIBRARY) $(SOURCE_RELEASE_PREFIX)/$(SOURCE_RELEASE_LIB_DIR)
endif
ifdef PROGRAM
$(INSTALL) -m 555 $(PROGRAM) $(SOURCE_RELEASE_PREFIX)/$(SOURCE_RELEASE_BIN_DIR)
endif
ifdef PROGRAMS
$(INSTALL) -m 555 $(PROGRAMS) $(SOURCE_RELEASE_PREFIX)/$(SOURCE_RELEASE_BIN_DIR)
ifneq ($(MD_BIN_RELEASE_FILES),)
$(INSTALL) -m 555 $(MD_BIN_RELEASE_FILES) $(SOURCE_RELEASE_PREFIX)/$(SOURCE_RELEASE_BIN_DIR)
endif
+$(LOOP_OVER_DIRS)