* FileSystemInfo.cs: corrected COM visibility of UTC properties
[mono.git] / mcs / class / Npgsql / Makefile
1 thisdir = class/Npgsql
2 SUBDIRS = 
3
4 OVERRIDE_BARE_TARGETS = 1
5
6
7 include ../../build/rules.make
8
9 LIBRARY = Npgsql.dll
10
11
12 LIB_MCS_FLAGS = /r:$(corlib) /r:System.dll /r:System.Xml.dll \
13                 /r:System.Data.dll /r:System.Drawing.dll \
14                 /r:System.Windows.Forms.dll /r:System.Design.dll \
15                 /r:Mono.Security.dll \
16                 -resource:Npgsql/NpgsqlConnection.bmp,Npgsql.NpgsqlConnection.bmp \
17                 -resource:Npgsql/NpgsqlCommand.bmp,Npgsql.NpgsqlCommand.bmp \
18                 -resource:Npgsql/NpgsqlDataAdapter.bmp,Npgsql.NpgsqlDataAdapter.bmp \
19                 -resource:Npgsql/NpgsqlState.resources,Npgsql.NpgsqlState.resources \
20                 -resource:Npgsql/NpgsqlClosedState.resources,Npgsql.NpgsqlClosedState.resources \
21                 -resource:Npgsql/NpgsqlParameterCollection.resources,Npgsql.NpgsqlParameterCollection.resources \
22                 -resource:Npgsql/NpgsqlParameter.resources,Npgsql.NpgsqlParameter.resources \
23                 -resource:Npgsql/NpgsqlCommand.resources,Npgsql.NpgsqlCommand.resources \
24                 -resource:Npgsql/NpgsqlConnectedState.resources,Npgsql.NpgsqlConnectedState.resources \
25                 -resource:Npgsql/NpgsqlConnection.resources,Npgsql.NpgsqlConnection.resources \
26                 -resource:Npgsql/NpgsqlReadyState.resources,Npgsql.NpgsqlReadyState.resources \
27                 -resource:Npgsql/NpgsqlTransaction.resources,Npgsql.NpgsqlTransaction.resources \
28                 -resource:Npgsql/NpgsqlEventLog.resources,Npgsql.NpgsqlEventLog.resources \
29                 -resource:Npgsql/NpgsqlException.resources,Npgsql.NpgsqlException.resources \
30                 -resource:Npgsql/PGUtil.resources,Npgsql.PGUtil.resources \
31                 -resource:NpgsqlTypes/NpgsqlTypesHelper.resources,NpgsqlTypes.NpgsqlTypesHelper.resources \
32                 -resource:Npgsql/Design/ConnectionStringEditorForm.resources,Npgsql.Design.ConnectionStringEditorForm.resources
33
34 TEST_MCS_FLAGS = /r:$(corlib) /r:System.dll /r:System.Xml.dll \
35                  /r:System.Web.dll /r:System.Data.dll
36
37 LIB_MCS_FLAGS_RESOURCES = $(LIB_MCS_FLAGS) 
38
39 # TODO: We need System.Web.UI.WebControls to build DataAdapterTests.cs
40 # and DataReaderTests.cs
41
42 EXTRA_DISTFILES = \
43         LICENSE.txt             \
44         README.txt              \
45         RELEASENOTES.txt        \
46         STATUS.txt              \
47         TODO.txt                \
48         Npgsql/Npgsql.snk       \
49         Npgsql/Npgsql.xml
50
51 include ../../build/library.make
52
53 RESX_RES = Npgsql/NpgsqlState.resources Npgsql/NpgsqlClosedState.resources Npgsql/NpgsqlParameterCollection.resources Npgsql/NpgsqlCommand.resources Npgsql/NpgsqlConnectedState.resources Npgsql/NpgsqlParameter.resources Npgsql/NpgsqlConnection.resources Npgsql/NpgsqlReadyState.resources Npgsql/NpgsqlTransaction.resources Npgsql/NpgsqlEventLog.resources Npgsql/NpgsqlException.resources Npgsql/PGUtil.resources NpgsqlTypes/NpgsqlTypesHelper.resources Npgsql/Design/ConnectionStringEditorForm.resources
54
55 all: $(RESX_RES) $(the_lib)
56
57 %.resources: %.resx
58         $(RESGEN) $<
59
60 clean: clean-recursive clean-local
61
62 install: install-recursive install-local
63
64 uninstall: uninstall-recursive uninstall-local
65
66 test: test-recursive test-local
67
68 run-test: run-test-recursive test-local run-test-local
69
70 clean: clean-recursive clean-local
71
72 uninstall: uninstall-recursive uninstall-local
73