freebsd-dev/contrib/libstdc++/tests/Makefile.in
1999-10-04 08:12:38 +00:00

36 lines
1.3 KiB
Makefile

# Copyright (C) 1994 Free Software Foundation
# This file is part of the GNU ANSI C++ Library. This library is free
# software; you can redistribute it and/or modify it under the terms of
# the GNU General Public License as published by the Free Software
# Foundation; either version 2, or (at your option) any later version.
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this library; see the file COPYING. If not, write to the Free
# Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
VERSION = 2.9.0
SHLIB = libstdc++.so.$(VERSION)
DEPLIBS = ../libstdc++.a
LDLIBS = -L.. -lstdc++
MDEPLIBS = $(DEPLIBS)
MLDLIBS = $(LDLIBS) -lm
#### package, host, target, and site dependent Makefile fragments come in here.
##
tcomplex.o: ${srcdir}/../std/complext.h ${srcdir}/../std/dcomplex.h
tcomplex: tcomplex.o $(MDEPLIBS)
$(CXX) $(CXXFLAGS) -o tcomplex tcomplex.o $(MLDLIBS)
tstring.o: ${srcdir}/../std/bastring.h
# NOTE: Rules for following tests are generated by $(srcdir)/configure.in !!!