2004-05-20 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
[mono.git] / mcs / class / Npgsql / Makefile
index 906f27721b03eb37079abc29995a713389ff8fa6..262b22cf1ce4cdc14ffe1dfdbf17a11c36735a7a 100755 (executable)
@@ -13,25 +13,10 @@ 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 \
-               -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)
+               @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) 
 
@@ -54,7 +39,7 @@ RESX_RES = Npgsql/NpgsqlState.resources Npgsql/NpgsqlClosedState.resources Npgsq
 all: $(RESX_RES) $(the_lib)
 
 %.resources: %.resx
-       $(RESGEN) $<
+       MONO_PATH=$(topdir)/class/lib/$(PROFILE):$$MONO_PATH $(INTERNAL_RESGEN) $<
 
 clean: clean-recursive clean-local
 
@@ -62,3 +47,11 @@ 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
+