mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-04-02 12:32:55 +00:00
Installing loadable components in components/ directory
This commit is contained in:
parent
f306806afc
commit
06a110237c
@ -326,8 +326,12 @@ ifdef MAPS
|
||||
$(INSTALL) -m 444 $(MAPS) $(DIST)/bin
|
||||
endif
|
||||
ifdef SHARED_LIBRARY
|
||||
ifdef IS_COMPONENT
|
||||
$(INSTALL) -m 555 $(SHARED_LIBRARY) $(DIST)/bin/components
|
||||
else
|
||||
$(INSTALL) -m 555 $(SHARED_LIBRARY) $(DIST)/bin
|
||||
endif
|
||||
endif
|
||||
ifdef PROGRAM
|
||||
$(INSTALL) -m 444 $(PROGRAM) $(DIST)/bin
|
||||
endif
|
||||
@ -343,7 +347,11 @@ ifdef LIBRARY
|
||||
endif
|
||||
endif
|
||||
ifdef SHARED_LIBRARY
|
||||
ifdef IS_COMPONENT
|
||||
$(INSTALL) -m 555 $(SHARED_LIBRARY) $(DIST)/bin/components
|
||||
else
|
||||
$(INSTALL) -m 555 $(SHARED_LIBRARY) $(DIST)/bin
|
||||
endif
|
||||
endif
|
||||
+$(LOOP_OVER_DIRS)
|
||||
|
||||
|
@ -23,6 +23,7 @@ VPATH = @srcdir@
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
LIBRARY_NAME = ender
|
||||
IS_COMPONENT = 1
|
||||
|
||||
CPPSRCS = \
|
||||
nsEditor.cpp \
|
||||
|
@ -24,6 +24,7 @@ VPATH = @srcdir@
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
LIBRARY_NAME = txmgr
|
||||
IS_COMPONENT = 1
|
||||
|
||||
CPPSRCS = \
|
||||
nsTransactionItem.cpp \
|
||||
|
@ -21,6 +21,7 @@ srcdir = @srcdir@
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
LIBRARY_NAME = nslocale
|
||||
IS_COMPONENT = 1
|
||||
|
||||
MODULE = locale
|
||||
|
||||
|
@ -23,6 +23,7 @@ include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
MODULE = lwbrk
|
||||
LIBRARY_NAME = lwbrk
|
||||
IS_COMPONENT = 1
|
||||
|
||||
CSRCS = \
|
||||
$(NULL)
|
||||
|
@ -23,6 +23,7 @@ VPATH = @srcdir@
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
LIBRARY_NAME = strres
|
||||
IS_COMPONENT = 1
|
||||
|
||||
CPPSRCS = nsStringBundle.cpp
|
||||
|
||||
|
@ -23,6 +23,7 @@ include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
MODULE = uconv
|
||||
LIBRARY_NAME = uconv
|
||||
IS_COMPONENT = 1
|
||||
|
||||
CSRCS = \
|
||||
ugen.c \
|
||||
|
@ -23,6 +23,7 @@ include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
MODULE = ucvja
|
||||
LIBRARY_NAME = ucvja
|
||||
IS_COMPONENT = 1
|
||||
|
||||
CSRCS = \
|
||||
$(NULL)
|
||||
|
@ -23,6 +23,7 @@ include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
MODULE = ucvja2
|
||||
LIBRARY_NAME = ucvja2
|
||||
IS_COMPONENT = 1
|
||||
|
||||
CSRCS = \
|
||||
$(NULL)
|
||||
|
@ -23,6 +23,7 @@ include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
MODULE = ucvlatin
|
||||
LIBRARY_NAME = ucvlatin
|
||||
IS_COMPONENT = 1
|
||||
|
||||
CSRCS = \
|
||||
$(NULL)
|
||||
|
@ -23,6 +23,7 @@ include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
MODULE = unicharutil
|
||||
LIBRARY_NAME = unicharutil
|
||||
IS_COMPONENT = 1
|
||||
|
||||
CSRCS = \
|
||||
$(NULL)
|
||||
|
@ -25,6 +25,7 @@ include $(DEPTH)/config/autoconf.mk
|
||||
include $(topsrcdir)/config/config.mk
|
||||
|
||||
LIBRARY_NAME = rdf
|
||||
IS_COMPONENT = 1
|
||||
|
||||
CPPSRCS = \
|
||||
dlldeps.cpp \
|
||||
|
@ -24,6 +24,7 @@ include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
MODULE = silentdl
|
||||
LIBRARY_NAME = silentdl
|
||||
IS_COMPONENT = 1
|
||||
|
||||
CPPSRCS = \
|
||||
nsJSSilentDownload.cpp \
|
||||
|
@ -1618,9 +1618,9 @@ nsresult nsRepository::AutoRegister(NSRegistrationInstant when,
|
||||
//XXX get default pathlist from registry
|
||||
//XXX Temporary hack. Registering components from current directory
|
||||
#ifdef XP_UNIX
|
||||
// XXX This will change to ./components very soon
|
||||
const char *defaultPathList = ".";
|
||||
const char *defaultPathList = "./components";
|
||||
#else
|
||||
// XXX This will change to ./components very soon
|
||||
const char *defaultPathList = ".";
|
||||
#endif
|
||||
SyncComponentsInPathList(defaultPathList);
|
||||
|
@ -1618,9 +1618,9 @@ nsresult nsRepository::AutoRegister(NSRegistrationInstant when,
|
||||
//XXX get default pathlist from registry
|
||||
//XXX Temporary hack. Registering components from current directory
|
||||
#ifdef XP_UNIX
|
||||
// XXX This will change to ./components very soon
|
||||
const char *defaultPathList = ".";
|
||||
const char *defaultPathList = "./components";
|
||||
#else
|
||||
// XXX This will change to ./components very soon
|
||||
const char *defaultPathList = ".";
|
||||
#endif
|
||||
SyncComponentsInPathList(defaultPathList);
|
||||
|
@ -24,7 +24,7 @@ VPATH = @srcdir@
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
LIBRARY_NAME = appcores
|
||||
|
||||
IS_COMPONENT = 1
|
||||
MODULE=raptor
|
||||
|
||||
CPPSRCS= \
|
||||
|
Loading…
x
Reference in New Issue
Block a user