thisdir = class/System.Drawing
include ../../build/rules.make
-ifeq ($(PLATFORM),win32)
SUBDIRS =
-else
-SUBDIRS = gdiplus
-endif
-
-# to use JPEG decoder add -r ./cdeclRedirector/cdeclCallback.dll
-# and remove -define:DECLARE_CDECL_DELEGATES
-# cdeclCallback.dll should be manually copied to library folder
LIBRARY = System.Drawing.dll
-LIB_MCS_FLAGS = /unsafe /define:DECLARE_CDECL_DELEGATES /r:$(corlib) \
- /r:System.dll /nowarn:649 /nowarn:169
-NO_TEST = yes
+
+LIB_MCS_FLAGS = /unsafe /r:$(corlib) /r:System.dll /nowarn:649 /nowarn:169
+
+TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -resource:Test/resources/indexed.png,indexed.png \
+ /r:System.Drawing.dll -nowarn:0618 -nowarn:219 -nowarn:169 -nowarn:1595
include ../../build/library.make
+
+EXTRA_DISTFILES = Test/resources/indexed.png
\ No newline at end of file