Installing loadable components in components/ directory

This commit is contained in:
dp%netscape.com 1999-03-03 01:25:21 +00:00
parent f306806afc
commit 06a110237c
16 changed files with 25 additions and 5 deletions

View File

@ -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)

View File

@ -23,6 +23,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = ender
IS_COMPONENT = 1
CPPSRCS = \
nsEditor.cpp \

View File

@ -24,6 +24,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = txmgr
IS_COMPONENT = 1
CPPSRCS = \
nsTransactionItem.cpp \

View File

@ -21,6 +21,7 @@ srcdir = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = nslocale
IS_COMPONENT = 1
MODULE = locale

View File

@ -23,6 +23,7 @@ include $(DEPTH)/config/autoconf.mk
MODULE = lwbrk
LIBRARY_NAME = lwbrk
IS_COMPONENT = 1
CSRCS = \
$(NULL)

View File

@ -23,6 +23,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = strres
IS_COMPONENT = 1
CPPSRCS = nsStringBundle.cpp

View File

@ -23,6 +23,7 @@ include $(DEPTH)/config/autoconf.mk
MODULE = uconv
LIBRARY_NAME = uconv
IS_COMPONENT = 1
CSRCS = \
ugen.c \

View File

@ -23,6 +23,7 @@ include $(DEPTH)/config/autoconf.mk
MODULE = ucvja
LIBRARY_NAME = ucvja
IS_COMPONENT = 1
CSRCS = \
$(NULL)

View File

@ -23,6 +23,7 @@ include $(DEPTH)/config/autoconf.mk
MODULE = ucvja2
LIBRARY_NAME = ucvja2
IS_COMPONENT = 1
CSRCS = \
$(NULL)

View File

@ -23,6 +23,7 @@ include $(DEPTH)/config/autoconf.mk
MODULE = ucvlatin
LIBRARY_NAME = ucvlatin
IS_COMPONENT = 1
CSRCS = \
$(NULL)

View File

@ -23,6 +23,7 @@ include $(DEPTH)/config/autoconf.mk
MODULE = unicharutil
LIBRARY_NAME = unicharutil
IS_COMPONENT = 1
CSRCS = \
$(NULL)

View File

@ -25,6 +25,7 @@ include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/config.mk
LIBRARY_NAME = rdf
IS_COMPONENT = 1
CPPSRCS = \
dlldeps.cpp \

View File

@ -24,6 +24,7 @@ include $(DEPTH)/config/autoconf.mk
MODULE = silentdl
LIBRARY_NAME = silentdl
IS_COMPONENT = 1
CPPSRCS = \
nsJSSilentDownload.cpp \

View File

@ -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);

View File

@ -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);

View File

@ -24,7 +24,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = appcores
IS_COMPONENT = 1
MODULE=raptor
CPPSRCS= \