77 lines
3.3 KiB
Plaintext
77 lines
3.3 KiB
Plaintext
$OpenBSD: patch-config_rules_mk,v 1.2 2004/11/26 18:29:15 pvalchev Exp $
|
|
--- config/rules.mk.orig 2004-06-10 07:50:09.000000000 +0200
|
|
+++ config/rules.mk 2004-06-16 13:05:25.000000000 +0200
|
|
@@ -667,7 +667,7 @@ ifdef SHARED_LIBRARY
|
|
ifdef IS_COMPONENT
|
|
ifdef GRE_MODULE
|
|
ifndef DISABLE_DIST_GRE
|
|
- $(INSTALL) $(IFLAGS2) $(SHARED_LIBRARY) $(GRE_DIST)/components
|
|
+ $(INSTALL) $(IFLAGS1) $(SHARED_LIBRARY) $(GRE_DIST)/components
|
|
$(ELF_DYNSTR_GC) $(GRE_DIST)/components/$(SHARED_LIBRARY)
|
|
ifdef BEOS_ADDON_WORKAROUND
|
|
( cd $(GRE_DIST)/components && $(CC) -nostart -o $(SHARED_LIBRARY).stub $(SHARED_LIBRARY) )
|
|
@@ -677,11 +677,11 @@ endif # GRE_MODULE
|
|
ifeq ($(OS_ARCH),OS2)
|
|
$(INSTALL) $(IFLAGS2) $(IMPORT_LIBRARY) $(DIST)/lib/components
|
|
else
|
|
- $(INSTALL) $(IFLAGS2) $(SHARED_LIBRARY) $(DIST)/lib/components
|
|
+ $(INSTALL) $(IFLAGS1) $(SHARED_LIBRARY) $(DIST)/lib/components
|
|
$(ELF_DYNSTR_GC) $(DIST)/lib/components/$(SHARED_LIBRARY)
|
|
endif
|
|
ifndef _SKIP_OLD_GRE_INSTALL
|
|
- $(INSTALL) $(IFLAGS2) $(SHARED_LIBRARY) $(DIST)/bin/components
|
|
+ $(INSTALL) $(IFLAGS1) $(SHARED_LIBRARY) $(DIST)/bin/components
|
|
$(ELF_DYNSTR_GC) $(DIST)/bin/components/$(SHARED_LIBRARY)
|
|
ifdef BEOS_ADDON_WORKAROUND
|
|
( cd $(DIST)/bin/components && $(CC) -nostart -o $(SHARED_LIBRARY).stub $(SHARED_LIBRARY) )
|
|
@@ -690,7 +690,7 @@ endif # ! _SKIP_OLD_GRE_INSTALL
|
|
else # ! IS_COMPONENT
|
|
ifdef GRE_MODULE
|
|
ifndef DISABLE_DIST_GRE
|
|
- $(INSTALL) $(IFLAGS2) $(SHARED_LIBRARY) $(GRE_DIST)
|
|
+ $(INSTALL) $(IFLAGS1) $(SHARED_LIBRARY) $(GRE_DIST)
|
|
ifdef BEOS_ADDON_WORKAROUND
|
|
( cd $(GRE_DIST) && $(CC) -nostart -o $(SHARED_LIBRARY).stub $(SHARED_LIBRARY) )
|
|
endif
|
|
@@ -699,10 +699,10 @@ endif # GRE_MODULE
|
|
ifneq (,$(filter OS2 WINNT,$(OS_ARCH)))
|
|
$(INSTALL) $(IFLAGS2) $(IMPORT_LIBRARY) $(DIST)/lib
|
|
else
|
|
- $(INSTALL) $(IFLAGS2) $(SHARED_LIBRARY) $(DIST)/lib
|
|
+ $(INSTALL) $(IFLAGS1) $(SHARED_LIBRARY) $(DIST)/lib
|
|
endif
|
|
ifndef _SKIP_OLD_GRE_INSTALL
|
|
- $(INSTALL) $(IFLAGS2) $(SHARED_LIBRARY) $(DIST)/bin
|
|
+ $(INSTALL) $(IFLAGS1) $(SHARED_LIBRARY) $(DIST)/bin
|
|
ifdef BEOS_ADDON_WORKAROUND
|
|
( cd $(DIST)/bin && $(CC) -nostart -o $(SHARED_LIBRARY).stub $(SHARED_LIBRARY) )
|
|
endif
|
|
@@ -766,15 +766,15 @@ ifndef NO_INSTALL
|
|
ifdef SHARED_LIBRARY
|
|
ifdef IS_COMPONENT
|
|
ifdef MRE_DIST
|
|
- $(SYSINSTALL) $(IFLAGS2) $(SHARED_LIBRARY) $(IMPORT_LIBRARY) $(DESTDIR)$(mredir)/components
|
|
+ $(SYSINSTALL) $(IFLAGS1) $(SHARED_LIBRARY) $(IMPORT_LIBRARY) $(DESTDIR)$(mredir)/components
|
|
else
|
|
- $(SYSINSTALL) $(IFLAGS2) $(SHARED_LIBRARY) $(IMPORT_LIBRARY) $(DESTDIR)$(mozappdir)/components
|
|
+ $(SYSINSTALL) $(IFLAGS1) $(SHARED_LIBRARY) $(IMPORT_LIBRARY) $(DESTDIR)$(mozappdir)/components
|
|
endif
|
|
else
|
|
ifdef MRE_DIST
|
|
- $(SYSINSTALL) $(IFLAGS2) $(SHARED_LIBRARY) $(IMPORT_LIBRARY) $(DESTDIR)$(mredir)
|
|
+ $(SYSINSTALL) $(IFLAGS1) $(SHARED_LIBRARY) $(IMPORT_LIBRARY) $(DESTDIR)$(mredir)
|
|
else
|
|
- $(SYSINSTALL) $(IFLAGS2) $(SHARED_LIBRARY) $(IMPORT_LIBRARY) $(DESTDIR)$(mozappdir)
|
|
+ $(SYSINSTALL) $(IFLAGS1) $(SHARED_LIBRARY) $(IMPORT_LIBRARY) $(DESTDIR)$(mozappdir)
|
|
endif
|
|
endif
|
|
endif # SHARED_LIBRARY
|
|
@@ -1023,7 +1023,6 @@ endif # NO_LD_ARCHIVE_FLAGS
|
|
else # os2 vacpp
|
|
$(MKSHLIB) /O:$@ /DLL /INC:_dllentry $(LDFLAGS) $(OBJS) $(LOBJS) $(EXTRA_DSO_LDOPTS) $(OS_LIBS) $(EXTRA_LIBS) $(DEF_FILE)
|
|
endif # !os2 vacpp
|
|
- chmod +x $@
|
|
ifndef NO_COMPONENT_LINK_MAP
|
|
ifndef MOZ_COMPONENTS_VERSION_SCRIPT_LDFLAGS
|
|
ifndef MOZ_DEBUG
|