1999-09-14 06:51:42 +04:00
|
|
|
#
|
2004-04-19 02:01:16 +04:00
|
|
|
# ***** BEGIN LICENSE BLOCK *****
|
|
|
|
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
1999-09-14 06:51:42 +04:00
|
|
|
#
|
2004-04-19 02:01:16 +04:00
|
|
|
# The contents of this file are subject to the Mozilla Public License Version
|
|
|
|
# 1.1 (the "License"); you may not use this file except in compliance with
|
|
|
|
# the License. You may obtain a copy of the License at
|
|
|
|
# http://www.mozilla.org/MPL/
|
|
|
|
#
|
|
|
|
# Software distributed under the License is distributed on an "AS IS" basis,
|
|
|
|
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
|
|
# for the specific language governing rights and limitations under the
|
|
|
|
# License.
|
1999-09-14 06:51:42 +04:00
|
|
|
#
|
1999-11-06 06:43:54 +03:00
|
|
|
# The Original Code is mozilla.org code.
|
|
|
|
#
|
2004-04-19 02:01:16 +04:00
|
|
|
# The Initial Developer of the Original Code is
|
|
|
|
# Netscape Communications Corporation.
|
|
|
|
# Portions created by the Initial Developer are Copyright (C) 1998
|
|
|
|
# the Initial Developer. All Rights Reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s):
|
1999-11-06 06:43:54 +03:00
|
|
|
#
|
2004-04-19 02:01:16 +04:00
|
|
|
# Alternatively, the contents of this file may be used under the terms of
|
|
|
|
# either the GNU General Public License Version 2 or later (the "GPL"), or
|
|
|
|
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
|
|
# in which case the provisions of the GPL or the LGPL are applicable instead
|
|
|
|
# of those above. If you wish to allow use of your version of this file only
|
|
|
|
# under the terms of either the GPL or the LGPL, and not to allow others to
|
|
|
|
# use your version of this file under the terms of the MPL, indicate your
|
|
|
|
# decision by deleting the provisions above and replace them with the notice
|
|
|
|
# and other provisions required by the GPL or the LGPL. If you do not delete
|
|
|
|
# the provisions above, a recipient may use your version of this file under
|
|
|
|
# the terms of any one of the MPL, the GPL or the LGPL.
|
1999-09-14 06:51:42 +04:00
|
|
|
#
|
2004-04-19 02:01:16 +04:00
|
|
|
# ***** END LICENSE BLOCK *****
|
1998-08-20 00:42:14 +04:00
|
|
|
|
1999-09-14 06:51:42 +04:00
|
|
|
DEPTH = ../..
|
1998-08-20 00:42:14 +04:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
2003-08-16 04:42:35 +04:00
|
|
|
MODULE = plugin
|
|
|
|
|
2001-08-10 11:35:54 +04:00
|
|
|
DIRS = base/public base/src
|
1999-09-02 22:21:11 +04:00
|
|
|
|
2004-04-23 06:47:33 +04:00
|
|
|
ifneq (,$(filter gtk gtk2 xlib ,$(MOZ_WIDGET_TOOLKIT)))
|
|
|
|
DIRS += samples/unixprinting
|
|
|
|
endif
|
|
|
|
|
2000-09-28 10:48:02 +04:00
|
|
|
# These subdirs rely on GTK libraries and header files, it is not
|
|
|
|
# buildable on other non-GTK unix builds
|
2000-07-17 17:06:50 +04:00
|
|
|
|
|
|
|
ifdef MOZ_ENABLE_GTK
|
2001-08-10 11:35:54 +04:00
|
|
|
DIRS += samples/default/unix
|
2000-09-28 10:48:02 +04:00
|
|
|
|
|
|
|
ifdef ENABLE_TESTS
|
2001-08-10 11:35:54 +04:00
|
|
|
DIRS += samples/simple
|
2000-05-13 11:42:31 +04:00
|
|
|
endif
|
2000-07-17 17:06:50 +04:00
|
|
|
|
|
|
|
endif
|
2001-12-18 12:14:29 +03:00
|
|
|
|
2002-11-22 13:23:51 +03:00
|
|
|
ifdef MOZ_ENABLE_GTK2
|
|
|
|
DIRS += samples/default/unix
|
|
|
|
endif
|
|
|
|
|
2001-12-18 12:14:29 +03:00
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
|
|
|
DIRS += samples/default/windows
|
|
|
|
endif
|
2002-06-28 09:39:00 +04:00
|
|
|
|
|
|
|
ifeq ($(OS_ARCH),OS2)
|
|
|
|
DIRS += samples/default/os2
|
2002-11-05 07:24:26 +03:00
|
|
|
ifdef ENABLE_TESTS
|
|
|
|
DIRS += tools/tester/common tools/tester/os2
|
|
|
|
endif
|
2002-06-28 09:39:00 +04:00
|
|
|
endif
|
2003-04-05 02:47:50 +04:00
|
|
|
|
2003-07-01 07:57:47 +04:00
|
|
|
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
2003-04-05 02:47:50 +04:00
|
|
|
DIRS += samples/default/mac
|
|
|
|
endif
|
|
|
|
|
2003-01-30 03:57:22 +03:00
|
|
|
ifdef ENABLE_TESTS
|
2003-01-30 21:38:57 +03:00
|
|
|
ifneq (,$(filter WINNT Darwin Linux,$(OS_ARCH)))
|
2003-01-30 03:57:22 +03:00
|
|
|
DIRS += tools/sdk
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
1998-08-20 00:42:14 +04:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
1999-07-02 08:44:44 +04:00
|
|
|
$(DIST)/bin/plugins:
|
1999-10-22 01:35:37 +04:00
|
|
|
$(NSINSTALL) -D $@
|
1999-07-02 08:44:44 +04:00
|
|
|
|
|
|
|
export:: $(DIST)/bin/plugins
|
1999-09-14 06:51:42 +04:00
|
|
|
|