2010-04-07 Jb Evain <jbevain@novell.com>
[mcs.git] / class / Npgsql / Makefile
blob1dafe2da7d1be154f21cf4f9d7c2ee3ed237d317
1 thisdir = class/Npgsql
2 SUBDIRS =
4 include ../../build/rules.make
6 LIBRARY = Npgsql.dll
7 LIBRARY_SNK = Npgsql/Npgsql.snk
9 LIB_MCS_FLAGS = /r:$(corlib) /r:System.dll /r:System.Xml.dll \
10 /r:System.Data.dll \
11 /r:Mono.Security.dll \
12 @Npgsql.dll.resources
14 TEST_MCS_FLAGS = /r:$(corlib) /r:System.dll /r:System.Xml.dll \
15 /r:System.Web.dll /r:System.Data.dll \
16 -nowarn:0618 -nowarn:219 -nowarn:169
18 LIB_MCS_FLAGS_RESOURCES = $(LIB_MCS_FLAGS)
20 # TODO: We need System.Web.UI.WebControls to build DataAdapterTests.cs
21 # and DataReaderTests.cs
23 EXTRA_DISTFILES = \
24 LICENSE.txt \
25 README.txt \
26 RELEASENOTES.txt \
27 STATUS.txt \
28 TODO.txt \
29 Npgsql/Npgsql.snk \
30 Npgsql/Npgsql.pub \
31 $(RESX_RES:.resources=.resx) \
32 $(OTHER_RES) \
33 Npgsql.dll.resources
35 CLEAN_FILES = $(RESX_RES)
37 OTHER_RES = \
38 Npgsql/NpgsqlConnection.bmp \
39 Npgsql/NpgsqlCommand.bmp \
40 Npgsql/NpgsqlDataAdapter.bmp
42 RESX_RES = \
43 Npgsql/NpgsqlState.resources \
44 Npgsql/NpgsqlClosedState.resources \
45 Npgsql/NpgsqlParameterCollection.resources \
46 Npgsql/NpgsqlCommand.resources \
47 Npgsql/NpgsqlCommandBuilder.resources \
48 Npgsql/NpgsqlConnectedState.resources \
49 Npgsql/NpgsqlParameter.resources \
50 Npgsql/NpgsqlConnection.resources \
51 Npgsql/NpgsqlReadyState.resources \
52 Npgsql/NpgsqlTransaction.resources \
53 Npgsql/NpgsqlEventLog.resources \
54 Npgsql/NpgsqlException.resources \
55 Npgsql/PGUtil.resources \
56 Npgsql/NpgsqlConnectionString.resources \
57 NpgsqlTypes/NpgsqlTypesHelper.resources
59 include ../../build/library.make
61 $(the_lib): $(RESX_RES) $(OTHER_RES)
63 $(RESX_RES): %.resources: %.resx
64 $(RESGEN) `echo $< | $(PLATFORM_CHANGE_SEPARATOR_CMD)`