Duplex client has its own listener loop, so special care on reply is needed.
[mono.git] / mcs / class / Mono.Data.Sqlite / Makefile
index 582678fa8c965cee50e4fa83ebde93f25c3a1e04..09811f7dad0d37df5af10f671d03a7ea39f48c1d 100644 (file)
@@ -2,17 +2,13 @@ thisdir = class/Mono.Data.Sqlite
 SUBDIRS =
 include ../../build/rules.make
 
-ifneq (1, $(FRAMEWORK_VERSION_MAJOR))
-OTHER_LIB_MCS_FLAGS = /r:System.Transactions.dll
-
 RESX_RESOURCES = resources/SR.resources
 OTHER_RESOURCES = $(wildcard resources/*.bmp)
 
 RESOURCES = $(RESX_RESOURCES) $(OTHER_RESOURCES)
-endif
 
 LIBRARY = Mono.Data.Sqlite.dll
-LIB_MCS_FLAGS = /unsafe /r:System.dll /r:System.Data.dll $(OTHER_LIB_MCS_FLAGS) \
+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
@@ -24,18 +20,18 @@ EXTRA_DISTFILES = Test/SqliteTest.cs \
        resources/DataTypes.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 (2, $(FRAMEWORK_VERSION_MAJOR))
+
 $(the_lib): $(RESOURCES)
 
 $(RESX_RESOURCES): %.resources: %.resx
        $(RESGEN) $<
-endif
-