# Copyright (C) 2006 International Business Machines and others.
# All Rights Reserved.
# This file is distributed under the Common Public License.

## $Id: Makefile.am 636 2006-10-25 18:29:49Z ladanyi $

# Author:  Andreas Waechter           IBM    2006-04-13

AUTOMAKE_OPTIONS = foreign

########################################################################
#                      unitTest for CoinUtils                          #
########################################################################

noinst_PROGRAMS = unitTest

unitTest_SOURCES = \
	CoinDenseVectorTest.cpp \
	CoinErrorTest.cpp \
	CoinIndexedVectorTest.cpp \
	CoinMessageHandlerTest.cpp \
	CoinModelTest.cpp \
	CoinMpsIOTest.cpp \
	CoinPackedMatrixTest.cpp \
	CoinPackedVectorTest.cpp \
	CoinShallowPackedVectorTest.cpp \
	unitTest.cpp

# List libraries of COIN projects
unitTest_LDADD = $(COINUTILSOBJDIR)/src/libCoinUtils.la

# List additional libraries
LIBS += $(ADDLIBS)

# Here list all include flags, relative to this "srcdir" directory.  This
# "cygpath" stuff is necessary to compile with native compilers on Cygwin
AM_CPPFLAGS = \
        -I`$(CYGPATH_W) $(COINUTILSSRCDIR)/src`

# This line is necessary to allow VPATH compilation with MS compilers
# on Cygwin
DEFAULT_INCLUDES = -I. -I`$(CYGPATH_W) $(srcdir)` -I$(top_builddir)/inc

test: unitTest$(EXEEXT)
	./unitTest$(EXEEXT)

.PHONY: test

########################################################################
#                          Cleaning stuff                              #
########################################################################

# Here we list everything that is not generated by the compiler, e.g.,
# output files of a program

DISTCLEANFILES = \
	byColumn.mps  byRow.mps  CoinMpsIoTest.mps  string.mps


syntax highlighted by Code2HTML, v. 0.9.1