2004-05-20 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
[mono.git] / mcs / class / Npgsql / Makefile
index e006c4bf92285e0143584a9c672d8f8fb466af6c..262b22cf1ce4cdc14ffe1dfdbf17a11c36735a7a 100755 (executable)
@@ -9,8 +9,14 @@ include ../../build/rules.make
 LIBRARY = Npgsql.dll
 
 
-LIB_MCS_FLAGS = /r:$(corlib) /r:System.dll /r:System.Xml.dll /r:System.Data.dll /r:System.Drawing.dll /r:System.Windows.Forms.dll /r:System.Design.dll /r:System.Security.Tls.dll -resource:Npgsql/NpgsqlConnection.bmp -resource:Npgsql/NpgsqlCommand.bmp -resource:Npgsql/NpgsqlDataAdapter.bmp -resource:Npgsql/NpgsqlState.resources -resource:Npgsql/NpgsqlClosedState.resources -resource:Npgsql/NpgsqlParameterCollection.resources -resource:Npgsql/NpgsqlParameter.resources -resource:Npgsql/NpgsqlCommand.resources -resource:Npgsql/NpgsqlConnectedState.resources -resource:Npgsql/NpgsqlConnection.resources -resource:Npgsql/NpgsqlReadyState.resources -resource:Npgsql/NpgsqlTransaction.resources -resource:Npgsql/NpgsqlEventLog.resources -resource:Npgsql/NpgsqlException.resources -resource:Npgsql/PGUtil.resources -resource:NpgsqlTypes/NpgsqlTypesHelper.resources -resource:Npgsql/Design/ConnectionStringEditorForm.resources
-TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
+LIB_MCS_FLAGS = /r:$(corlib) /r:System.dll /r:System.Xml.dll \
+               /r:System.Data.dll /r:System.Drawing.dll \
+               /r:System.Windows.Forms.dll /r:System.Design.dll \
+               /r:Mono.Security.dll \
+               @Npgsql.dll.resources
+
+TEST_MCS_FLAGS = /r:$(corlib) /r:System.dll /r:System.Xml.dll \
+                /r:System.Web.dll /r:System.Data.dll
 
 LIB_MCS_FLAGS_RESOURCES = $(LIB_MCS_FLAGS) 
 
@@ -33,8 +39,19 @@ RESX_RES = Npgsql/NpgsqlState.resources Npgsql/NpgsqlClosedState.resources Npgsq
 all: $(RESX_RES) $(the_lib)
 
 %.resources: %.resx
-       monoresgen $<
+       MONO_PATH=$(topdir)/class/lib/$(PROFILE):$$MONO_PATH $(INTERNAL_RESGEN) $<
 
 clean: clean-recursive clean-local
 
 install: install-recursive install-local
+
+uninstall: uninstall-recursive uninstall-local
+
+test: test-recursive test-local
+
+run-test: run-test-recursive test-local run-test-local
+
+clean: clean-recursive clean-local
+
+uninstall: uninstall-recursive uninstall-local
+