Duplex client has its own listener loop, so special care on reply is needed.
[mono.git] / mcs / class / Mono.Data.Sqlite / Makefile
index 8d5d06649125ed26a8a547291d4ab84c42d990b7..09811f7dad0d37df5af10f671d03a7ea39f48c1d 100644 (file)
@@ -2,17 +2,14 @@ thisdir = class/Mono.Data.Sqlite
 SUBDIRS =
 include ../../build/rules.make
 
-ifeq (net_2_0, $(PROFILE))
-OTHER_LIB_MCS_FLAGS = /r:System.Transactions.dll
-
 RESX_RESOURCES = resources/SR.resources
+OTHER_RESOURCES = $(wildcard resources/*.bmp)
 
-RESOURCES = $(RESX_RESOURCES)
-endif
+RESOURCES = $(RESX_RESOURCES) $(OTHER_RESOURCES)
 
 LIBRARY = Mono.Data.Sqlite.dll
-LIB_MCS_FLAGS = /unsafe /r:System.dll /r:System.Data.dll $(OTHER_LIB_MCS_FLAGS) \
-       $(RESX_RESOURCES:%=-resource:%) -d:MONO_BACKWARD_COMPAT
+LIB_MCS_FLAGS = /unsafe /r:System.dll /r:System.Data.dll /r:System.Transactions.dll /r:System.Xml.dll \
+       $(RESOURCES:%=-resource:%) -d:SQLITE_STANDARD
 
 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) /nowarn:618
 
@@ -21,19 +18,20 @@ EXTRA_DISTFILES = Test/SqliteTest.cs \
        resources/SR.resx       \
        resources/ChangeLog     \
        resources/DataTypes.xml \
-       resources/MetaDataCollections.xml
+       resources/MetaDataCollections.xml \
+       $(wildcard resources/*.bmp)
+       
+CLEAN_FILES += $(RESX_RESOURCES)
 
-run-test-local: test.db 
+test-local: test.db 
 
 test.db: Test/test.sql
        rm -f $@
        sqlite3 $@ < $< || :
 
 include ../../build/library.make
-ifeq (net_2_0, $(PROFILE))
+
 $(the_lib): $(RESOURCES)
 
 $(RESX_RESOURCES): %.resources: %.resx
        $(RESGEN) $<
-endif
-