makefile 693 B

1234567891011121314151617181920212223242526272829303132333435
  1. DIRS=\
  2. System \
  3. System.CodeDom \
  4. System.CodeDom.Compiler \
  5. System.ComponentModel \
  6. System.Configuration \
  7. System.Diagnostics \
  8. System.Net \
  9. System.Net.Sockets \
  10. System.Collections.Specialized \
  11. System.Threading
  12. all:
  13. @echo "You must use 'make windows' or 'make unix'."
  14. @echo "'make unix' is broken for now."
  15. windows: make-list
  16. $(CSC) /target:library /out:System.dll /nowarn:1595 @list
  17. unix:
  18. @echo "'make unix' is broken for now."
  19. make-list:
  20. for i in $(DIRS); do \
  21. cat $$i/common.src $$i/windows.src | sed "s/^/$$i\\\\/"; \
  22. done > list
  23. clean:
  24. if test -e list; then \
  25. rm list; \
  26. fi; \
  27. \
  28. if test -e System.dll; then \
  29. rm System.dll; \
  30. fi; \