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
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
-