diff options
author | Gonzalo Paniagua Javier <gonzalo.mono@gmail.com> | 2003-07-14 15:38:40 +0400 |
---|---|---|
committer | Gonzalo Paniagua Javier <gonzalo.mono@gmail.com> | 2003-07-14 15:38:40 +0400 |
commit | 3f761fefe47213af1301315e2aca06a792d706cc (patch) | |
tree | 64e4512476c90c3fc6207a30cfb9f883a6c72ca1 /mcs/class/Npgsql/Makefile | |
parent | f6574c38ac9619e9a69b60ce39288c38ff1aa5e7 (diff) |
New build system from Peter Williams (peter@newton.cx)
svn path=/trunk/mcs/; revision=16195
Diffstat (limited to 'mcs/class/Npgsql/Makefile')
-rwxr-xr-x | mcs/class/Npgsql/Makefile | 54 |
1 files changed, 17 insertions, 37 deletions
diff --git a/mcs/class/Npgsql/Makefile b/mcs/class/Npgsql/Makefile index 1a49f9cb75b..abd9b942e05 100755 --- a/mcs/class/Npgsql/Makefile +++ b/mcs/class/Npgsql/Makefile @@ -1,41 +1,21 @@ -# Makefile -# -# Copyright (C) 2002 The Npgsql Development Team -# npgsql-general@gborg.postgresql.org -# http://gborg.postgresql.org/project/npgsql/projdisplay.php -# -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, 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 -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +thisdir = class/Npgsql +SUBDIRS = +include ../../build/rules.make -NPGSQL_LIB=Npgsql.dll -# Allow compiling under Cygwin -ifeq ($(OS),"Windows_NT") - CC=csc.exe - LDFLAGS=/r:System.Data.dll /target:library /out:$(NPGSQL_LIB) -else - CC=mcs - LDFLAGS=-r /usr/lib/System.Data.dll --target library -o $(NPGSQL_LIB) -endif -CVS2CL=cvs2cl.pl -OBJECTS:=$(shell ls *.cs) +LIBRARY = Npgsql.dll +LIB_MCS_FLAGS = /r:$(corlib) /r:System.dll /r:System.Xml.dll /r:System.Data.dll +TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -all: $(OBJECTS) - $(CC) $(LDFLAGS) $(OBJECTS) +# TODO: We need System.Web.UI.WebControls to build DataAdapterTests.cs +# and DataReaderTests.cs -clean: - rm -rf $(NPGSQL_LIB) *~ +EXTRA_DISTFILES = \ + LICENSE.txt \ + README.txt \ + RELEASENOTES.txt \ + STATUS.txt \ + TODO.txt \ + Npgsql/Npgsql.snk \ + Npgsql/Npgsql.xml -changelog: - $(CVS2CL) +include ../../build/library.make |