1998-08-20 00:42:14 +04:00
|
|
|
#! 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.
|
|
|
|
|
|
|
|
|
|
|
|
##########################################################################
|
|
|
|
#
|
|
|
|
# Name: Makefile
|
|
|
|
# Description: Makefile for Xfe Widgets and related libraries
|
|
|
|
# Author: Ramiro Estrugo <ramiro@netscape.com>
|
|
|
|
#
|
|
|
|
##########################################################################
|
|
|
|
|
|
|
|
DEPTH = ../../..
|
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
1998-08-26 08:04:57 +04:00
|
|
|
VPATH = @srcdir@
|
1998-08-20 00:42:14 +04:00
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
1998-09-22 07:47:27 +04:00
|
|
|
ifdef ENABLE_TESTS
|
1998-08-20 00:42:14 +04:00
|
|
|
ifdef XFE_WIDGETS_BUILD_TESTS
|
|
|
|
TEST_DIRS = \
|
|
|
|
XfeTest \
|
|
|
|
tests \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
1998-08-26 08:04:57 +04:00
|
|
|
ifdef XFE_WIDGETS_BUILD_UNUSED
|
|
|
|
UNUSED_DIRS = \
|
|
|
|
XfeCaption \
|
1998-10-10 07:09:15 +04:00
|
|
|
XfePref \
|
1998-08-26 08:04:57 +04:00
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
1998-08-20 00:42:14 +04:00
|
|
|
DIRS = \
|
|
|
|
Xfe \
|
|
|
|
XfeBm \
|
1998-09-22 07:47:27 +04:00
|
|
|
XfeToolBar \
|
1998-09-24 18:35:54 +04:00
|
|
|
XfeToolTip \
|
1998-10-07 19:34:47 +04:00
|
|
|
XfeComboBox \
|
1998-08-26 08:04:57 +04:00
|
|
|
$(UNUSED_DIRS) \
|
1998-08-20 00:42:14 +04:00
|
|
|
$(TEST_DIRS)
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
1998-10-22 05:37:11 +04:00
|
|
|
CFLAGS += $(FE_X_CFLAGS)
|
1998-08-20 00:42:14 +04:00
|
|
|
ifdef ENABLE_TESTS
|
|
|
|
tests::
|
|
|
|
@$(MAKE) all XFE_WIDGETS_BUILD_TESTS=1
|
|
|
|
endif
|