mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 00:25:27 +00:00
70 lines
1.6 KiB
Makefile
70 lines
1.6 KiB
Makefile
#! gmake
|
|
#
|
|
# The contents of this file are subject to the Netscape 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/NPL/
|
|
#
|
|
# 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.
|
|
#
|
|
# The Original Code is mozilla.org code.
|
|
#
|
|
# The Initial Developer of the Original Code is Netscape
|
|
# Communications Corporation. Portions created by Netscape are
|
|
# Copyright (C) 1998 Netscape Communications Corporation. All
|
|
# Rights Reserved.
|
|
#
|
|
# Contributor(s):
|
|
|
|
|
|
##########################################################################
|
|
#
|
|
# Name: Makefile
|
|
# Description: Makefile for Xfe Widgets and related libraries
|
|
# Author: Ramiro Estrugo <ramiro@netscape.com>
|
|
#
|
|
##########################################################################
|
|
|
|
DEPTH = ../../..
|
|
topsrcdir = @top_srcdir@
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
ifdef ENABLE_TESTS
|
|
ifdef XFE_WIDGETS_BUILD_TESTS
|
|
TEST_DIRS = \
|
|
XfeTest \
|
|
tests \
|
|
$(NULL)
|
|
endif
|
|
endif
|
|
|
|
ifdef XFE_WIDGETS_BUILD_UNUSED
|
|
UNUSED_DIRS = \
|
|
XfeCaption \
|
|
XfePref \
|
|
$(NULL)
|
|
endif
|
|
|
|
DIRS = \
|
|
Xfe \
|
|
XfeBm \
|
|
XfeToolBar \
|
|
XfeToolTip \
|
|
XfeComboBox \
|
|
$(UNUSED_DIRS) \
|
|
$(TEST_DIRS)
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
CFLAGS += $(FE_X_CFLAGS)
|
|
ifdef ENABLE_TESTS
|
|
tests::
|
|
@$(MAKE) all XFE_WIDGETS_BUILD_TESTS=1
|
|
endif
|