Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. thisdir = class/System.Reactive.Windows.Threading
  2. SUBDIRS =
  3. include ../../build/rules.make
  4. LIBRARY = System.Reactive.Windows.Threading.dll
  5. LIB_REFS = System System.Core System.Reactive.Interfaces System.Reactive.Core System.Reactive.Linq WindowsBase
  6. LIB_MCS_FLAGS = \
  7. @more_build_args
  8. ifeq (true, $(GENERATE_RESOURCES))
  9. LIB_MCS_FLAGS += /define:GENERATING_RESOURCES
  10. endif
  11. RESX_RESOURCES = \
  12. Strings_WindowsThreading.resources
  13. CLEAN_FILES += $(RESX_RESOURCES)
  14. RESOURCES = $(RESX_RESOURCES)
  15. PREBUILT = $(RESX_RESOURCES:=.prebuilt)
  16. ifeq (2.1, $(FRAMEWORK_VERSION))
  17. LIB_MCS_FLAGS += -d:NO_TASK_DELAY -d:HAS_AWAIT
  18. endif
  19. NET_4_5 := $(filter 4.5, $(FRAMEWORK_VERSION))
  20. ifdef NET_4_5
  21. LIB_MCS_FLAGS += -d:HAS_EDI -d:PREFERASYNC -d:PREFER_ASYNC -d:HAS_AWAIT
  22. endif
  23. TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
  24. EXTRA_DISTFILES = more_build_args $(RESX_RESOURCES:.resources=.resx) $(PREBUILT)
  25. INSTALL_PROFILE := $(filter net_4_x, $(PROFILE))
  26. ifndef INSTALL_PROFILE
  27. NO_INSTALL = yes
  28. endif
  29. NO_TEST = yes
  30. include ../../build/library.make
  31. $(the_lib): $(RESOURCES)
  32. $(RESX_RESOURCES): %.resources: %.resx
  33. $(RESGEN) $< || cp [email protected] $@
  34. $(PREBUILT): %.prebuilt: %
  35. cp $* $@
  36. dist-default: $(PREBUILT)