widget/src/windows/tests/Makefile.in
author Mark Banner <bugzilla@standard8.plus.com>
Tue, 10 Aug 2010 10:44:25 +0100
changeset 49261 0de04ae0386f5c74d5750cb3cf882db2c6ae24f6
parent 48706 a4d86c3a34944a99de1c6be96812cd3e7cce4f27
child 49263 9055296192194f323e2bdde08d7b6f479d728056
permissions -rw-r--r--
Bug 585734 Disable some c++ unit tests (TestCSSPropertyLookup, TestWinDND) in static builds due to compilation failures. r=khuey,a=test-only fix

#
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# 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.
#
# The Original Code is Mozilla Windows Drag and Drop Tests.
#
# The Initial Developer of the Original Code is
# Kyle Huey <me@kylehuey.com>
# Portions created by the Initial Developer are Copyright (C) 2009
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
#
# 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.
#
# ***** END LICENSE BLOCK *****

DEPTH		= ../../../..
topsrcdir	= @top_srcdir@
srcdir		= @srcdir@
VPATH		= @srcdir@

include $(DEPTH)/config/autoconf.mk

ifndef BUILD_STATIC_LIBS
ifndef MOZ_ENABLE_LIBXUL
LOCAL_INCLUDES =  -I$(srcdir)/../   \
                  -I$(srcdir)/../../xpwidgets \
                  $(NULL)

LIBS = ../$(LIB_PREFIX)widget_windows.$(LIB_SUFFIX) \
       ../../xpwidgets/$(LIB_PREFIX)xpwidgets_s.$(LIB_SUFFIX) \
       $(DIST)/lib/$(LIB_PREFIX)thebes.$(LIB_SUFFIX) \
       $(DIST)/lib/$(LIB_PREFIX)gkgfx.$(LIB_SUFFIX) \
       $(XPCOM_LIBS) \
       $(MOZ_UNICHARUTIL_LIBS) \
		   $(QCMS_LIBS) \
       $(NULL)

EXTRA_DSO_LDOPTS += $(LIBS_DIR)

OS_LIBS += $(call EXPAND_LIBNAME,ole32 oleaut32 shell32 comctl32 comdlg32 imm32 shlwapi winspool)

CPP_UNIT_TESTS = TestWinDND.cpp \
                 $(NULL)
endif
endif

include $(topsrcdir)/config/rules.mk