зеркало из https://github.com/mozilla/gecko-dev.git
Updated makefiles to almost work.
This commit is contained in:
Родитель
cf0d927494
Коммит
3b12f1c55f
|
@ -19,14 +19,14 @@
|
|||
# Contributor(s):
|
||||
#
|
||||
|
||||
DEPTH = ..
|
||||
DEPTH = ../..
|
||||
topsrcdir = @top_srcdir@
|
||||
srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
DIRS = public
|
||||
DIRS = public unix base
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
|
|
|
@ -28,10 +28,11 @@ include $(DEPTH)/config/autoconf.mk
|
|||
|
||||
MODULE = extprotocol
|
||||
LIBRARY_NAME = extprotocol
|
||||
SHORT_LIBNAME = extproto
|
||||
IS_COMPONENT = 1
|
||||
|
||||
|
||||
CPPSRCS = nsExternalFactory.cpp \
|
||||
CPPSRCS = nsExternalFactory.cpp \
|
||||
nsExternalProtocol.cpp \
|
||||
$(NULL)
|
||||
|
||||
|
@ -40,11 +41,13 @@ SHARED_LIBRARY_LIBS = \
|
|||
$(NULL)
|
||||
|
||||
EXTRA_DSO_LDOPTS = \
|
||||
-L$(DIST)/bin \
|
||||
$(SHARED_LIBRARY_LIBS) \
|
||||
$(NSPR_LIBS) \
|
||||
$(XPCOM_LIBS) \
|
||||
$(NULL)
|
||||
$(MKSHLIB_FORCE_ALL) \
|
||||
$(SHARED_LIBRARY_LIBS) \
|
||||
$(MKSHLIB_UNFORCE_ALL) \
|
||||
-L$(DIST)/lib \
|
||||
-L$(DIST)/bin \
|
||||
$(MOZ_COMPONENT_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
|
|
|
@ -29,9 +29,12 @@ include $(DEPTH)/config/autoconf.mk
|
|||
MODULE = extprotocol
|
||||
LIBRARY_NAME = extprotocolunix_s
|
||||
|
||||
CPPSRCS = \
|
||||
nsExternalProcotolUnix.cpp \
|
||||
$(NULL)
|
||||
CPPSRCS = nsExternalProcotolUnix.cpp \
|
||||
$(NULL)
|
||||
|
||||
XPIDLSRCS = $(NULL)
|
||||
|
||||
EXPORTS = $(NULL)
|
||||
|
||||
# we don't want the shared lib, but we want to force the creation of a static lib.
|
||||
override NO_SHARED_LIB=1
|
||||
|
|
Загрузка…
Ссылка в новой задаче