make local a component

This commit is contained in:
alecf%netscape.com 1999-03-20 02:05:46 +00:00
parent ab47bf0498
commit 9b730135f9
3 changed files with 64 additions and 1 deletions

View File

@ -22,7 +22,7 @@ srcdir = @srcdir@
include $(DEPTH)/config/autoconf.mk
DIRS = public src
DIRS = public src build
ifdef ENABLE_TESTS
DIRS += tests

View File

@ -0,0 +1 @@
Makefile

View File

@ -0,0 +1,62 @@
#!gmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH = ../../..
topsrcdir = @top_srcdir@
VPATH = @srcdir@
srcdir = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE=localmail
LIBRARY_NAME=localmail
IS_COMPONENT=1
CPPSRCS = \
nsMsgLocalFactory.cpp \
$(NULL)
EXPORTS= \
nsMsgLocalCID.h \
$(NULL)
SHARED_LIBRARY_LIBS = \
$(DIST)/lib/liblocalmailbase_s.a \
$(NULL)
EXTRA_DSO_LDOPTS = \
$(MKSHLIB_FORCE_ALL) \
$(SHARED_LIBRARY_LIBS) \
$(MKSHLIB_UNFORCE_ALL) \
$(NSPR_LIBS) \
-L$(DIST)/bin \
-L$(DIST)/lib \
-lxpcom \
-lraptorbase \
-lxp \
-lrdfutil_s \
-lmsgbaseutil \
-lmailnewsmsgdb \
$(NULL)
$(SHARED_LIBRARY): $(SHARED_LIBRARY_LIBS) Makefile
include $(topsrcdir)/config/config.mk
include $(topsrcdir)/config/rules.mk