Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

62 lines (48 sloc) 2.002 kb
assembly = Controls.Data.Test
SDK_SRCDIR=$(srcdir)/../../../../class/Microsoft.SilverlightControls/SDKControls/Data/test
CLEANFILES = \
$(srcdir)/App.xaml.g.cs \
$(assembly).xap \
test.dll \
test.dll.mdb \
test.g.resources
REFERENCES = \
-r:$(srcdir)/../Microsoft.Silverlight.Testing.dll \
-r:$(srcdir)/../Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.dll \
-r:$(srcdir)/../Controls.Test.Common/Controls.Test.Common.dll \
-r:$(srcdir)/../System.Windows.Controls.Data \
-r:$(srcdir)/../System.Windows.Controls \
-r:$(srcdir)/../System.Xml.Linq.dll \
-r:$(srcdir)/../Mono.Moonlight.UnitTesting.dll \
-r:System.Core \
-r:System \
-r:System.Xml \
-r:System.Net \
-r:System.Windows
CSCFLAGS = /codepage:65001 -d:SILVERLIGHT -d:MOONLIGHT -target:library -debug+ -noconfig $(REFERENCES)
FILES= $(shell cat $(srcdir)/$(assembly).sources)
SOURCES = $(foreach file,$(FILES),$(SDK_SRCDIR)/$(file))
SOURCES += $(srcdir)/App.xaml.g.cs
KEYFILE = $(SDK_SRCDIR)/../../MixControls.snk
MANIFEST = $(SDK_SRCDIR)/AppManifest.xaml
$(assembly).sources: $(SOURCES) $(assembly).sources
ls $(SOURCES) | grep -v aspx > $@
App.xaml.g.cs:
$(SYSTEM_MONO) --debug $(top_builddir)/tools/xamlg/xamlg.exe $(SDK_SRCDIR)/App.xaml,$(srcdir)/App.xaml.g.cs
test.g.resources:
$(SYSTEM_MONO) --debug $(top_builddir)/tools/respack/respack.exe test.g.resources $(SDK_SRCDIR)/App.xaml,app.xaml
test.dll: test.g.resources $(SOURCES)
$(SMCS) -out:test.dll $(SOURCES) -keyfile:$(KEYFILE) -res:test.g.resources
$(assembly).xap: test.dll
rm -f $(assembly).xap
zip -j $(assembly).xap \
test.dll* \
$(MANIFEST) \
$(srcdir)/../Controls.Test.Common/Controls.Test.Common.dll* \
$(srcdir)/../Microsoft.Silverlight.Testing.dll* \
$(srcdir)/../Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.dll* \
$(srcdir)/../System.Windows.Controls.Data.dll* \
$(srcdir)/../System.Xml.Linq.dll* \
$(srcdir)/../Mono.Moonlight.UnitTesting.dll*
all-local: $(assembly).xap
install:
Jump to Line
Something went wrong with that request. Please try again.