Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

75 lines
2.4 KiB

  1. # Build file for the standard model-independent Windows import lib (libw.lib)
  2. # and other related modules for the Windows part of c6 libs.- LR
  3. !include ..\makefile.inc
  4. !IF "$(ALT_PROJECT)" == "USA"
  5. target: $(DEST)\kernel.lib $(DEST)\user.lib $(DEST)\gdi.lib $(DEST)\system.lib \
  6. $(DEST)\shell.lib $(DEST)\mmsystem.lib
  7. #$(DEST)\libw.lib
  8. !else
  9. target: $(DEST)\kernel.lib $(DEST)\user.lib $(DEST)\gdi.lib $(DEST)\system.lib \
  10. $(DEST)\shell.lib $(DEST)\mmsystem.lib $(DEST)\winnls.lib
  11. #$(DEST)\libw.lib
  12. !endif
  13. # Standard (model-independent) import library
  14. $(DEST)\libw.lib: ..\kernel31\kernel.def ..\gdi\$(ALT_PROJECT)\gdi.def ..\user\user.def \
  15. ..\drivers\sound\sound.def ..\drivers\keyboard\keyboard.def \
  16. ..\shell\library\shell.def
  17. upd /ne ..\drivers\sound . sound.def
  18. upd /ne ..\drivers\keyboard . keyboard.def
  19. -implib $(DEST)\libw.lib ..\kernel31\kernel.def ..\gdi\$(ALT_PROJECT)\gdi.def ..\user\user.def \
  20. sound.def keyboard.def ..\shell\library\shell.def
  21. lib16 $(DEST)\libw.lib;
  22. #
  23. # Import library build for internal use only
  24. #
  25. !if "$(ALT_PROJECT)"!="USA"
  26. all: $(DEST)\kernel.lib $(DEST)\system.lib $(DEST)\gdi.lib $(DEST)\user.lib $(DEST)\shell.lib $(DEST)\mmsystem.lib $(DEST)\winnls.lib
  27. #$(DEST)\libw.lib
  28. !else
  29. all: $(DEST)\kernel.lib $(DEST)\system.lib $(DEST)\gdi.lib $(DEST)\user.lib $(DEST)\shell.lib $(DEST)\mmsystem.lib
  30. #$(DEST)\libw.lib
  31. !endif
  32. $(DEST)\kernel.lib: ..\kernel31\kernel.def
  33. implib $(DEST)\kernel.lib ..\kernel31\kernel.def
  34. $(DEST)\system.lib: ..\system\$(ALT_PROJECT)\system.def
  35. implib $(DEST)\system.lib ..\system\$(ALT_PROJECT)\system.def
  36. $(DEST)\gdi.lib: ..\gdi\$(ALT_PROJECT)\gdi.def
  37. implib $(DEST)\gdi.lib ..\gdi\$(ALT_PROJECT)\gdi.def
  38. $(DEST)\user.lib: ..\user\user.def
  39. implib $(DEST)\user.lib ..\user\user.def
  40. $(DEST)\shell.lib: ..\shell\shell.def
  41. implib $(DEST)\shell.lib ..\shell\shell.def
  42. $(DEST)\mmsystem.lib: ..\mmsystem\mmsystem.def
  43. implib $@ ..\mmsystem\mmsystem.def
  44. !if "$(ALT_PROJECT)" != "USA"
  45. $(DEST)\winnls.lib: ..\$(*F)\winnls.def
  46. implib $@ ..\$(*F)\winnls.def
  47. !endif
  48. clean: cleanup all
  49. cleanup:
  50. cd $(DEST)
  51. if exist kernel.lib del kernel.lib
  52. if exist system.lib del system.lib
  53. if exist gdi.lib del gdi.lib
  54. if exist user.lib del user.lib
  55. if exist shell.lib del shell.lib
  56. if exist mmsystem.lib del mmsystem.lib
  57. if exist winnnls.lib del winnls.lib
  58. if exist libw.lib del libw.lib
  59. cd ..\..\..