2
# The contents of this file are subject to the Netscape Public
3
# License Version 1.1 (the "License"); you may not use this file
4
# except in compliance with the License. You may obtain a copy of
5
# the License at http://www.mozilla.org/NPL/
7
# Software distributed under the License is distributed on an "AS
8
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
9
# implied. See the License for the specific language governing
10
# rights and limitations under the License.
12
# The Original Code is mozilla.org code.
14
# The Initial Developer of the Original Code is Netscape
15
# Communications Corporation. Portions created by Netscape are
16
# Copyright (C) 1998 Netscape Communications Corporation. All
23
DEPTH = ../../../../..
24
topsrcdir = @top_srcdir@
28
include $(DEPTH)/config/autoconf.mk
48
# plugins should always be shared, even in the "static" build
54
SHARED_LIBRARY_LIBS = \
55
$(DIST)/lib/$(LIB_PREFIX)plcommon_s.$(LIB_SUFFIX) \
58
include $(topsrcdir)/config/rules.mk
61
-I$(srcdir)/../include \
64
EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_LIBS) \
67
install-plugin: $(SHARED_LIBRARY)
69
$(INSTALL) $(SHARED_LIBRARY) $(DIST)/bin/plugins
74
install:: $(SHARED_LIBRARY)
76
$(SYSINSTALL) $(IFLAGS2) $< $(DESTDIR)$(mozappdir)/plugins