Updated makefiles to almost work.

git-svn-id: svn://10.0.0.236/trunk@65990 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
tonyr%fbdesigns.com
2000-04-14 14:37:23 +00:00
parent 61018349a5
commit 648840c2d6
3 changed files with 17 additions and 11 deletions

View File

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

View File

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

View File

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