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.

69 lines
1.4 KiB

  1. # mmsystem16 makefile
  2. #
  3. # Copyright (c) 1991, Microsoft Corporation
  4. #
  5. # History:
  6. # Created 02-Oct-1992 David Treadwell (davidtr)
  7. #
  8. !INCLUDE ..\makefile.inc
  9. W16LIBS = ..\lib\sdllcew.lib
  10. .asm{$(DEST)}.obj:
  11. $(ASM) $(AOBJ) $(*F),S*;
  12. .asm{$(DEST)}.lst:
  13. $(ASM) $(AOBJ) -l $(*F),nul,$*.lst;
  14. .c{$(DEST)}.obj:
  15. $(CL) -c -nologo $(CW16) $(*F).c
  16. .c{$(DEST)}.lst:
  17. $(CL) -c -nologo $(CW16) -Fonul -Fc$*.lst $(*F).c
  18. .def{$(DEST)}.lib:
  19. implib $*.lib $(*F).def
  20. .map{$(DEST)}.sym:
  21. mapsym -o S*.sym $*
  22. .rc{$(DEST)}.res:
  23. @set include=$(ENVINCS);$(INCLUDE)
  24. $(RC) -r -fo $*.res $(*F).rc
  25. all: $(DEST)\winsock.dll $(DEST)\winsock.sym
  26. -binplace -o $(ALT_PROJECT_TARGET) $(DEST)\winsock.dll $(DEST)\winsock.map $(DEST)\winsock.sym
  27. clean: cleanup all
  28. cleanup:
  29. cd $(DEST)
  30. if exist *.lrf del *.lrf
  31. if exist *.obj del *.obj
  32. if exist *.dll del *.dll
  33. if exist *.map del *.map
  34. if exist *.sym del *.sym
  35. if exist *.res del *.res
  36. cd ..\..\..
  37. $(DEST)\winsock.obj: $(*F).asm ..\..\inc\wow.inc ..\..\inc\wowwsock.inc
  38. $(ASM) $(AOBJ) $(*F),$*;
  39. $(DEST)\winsock.lrf: makefile.sub
  40. echo $*.obj >$@
  41. echo $*.dll>>$@
  42. echo $* $(LINKOPTS)>>$@
  43. echo ..\lib\$(ALT_PROJECT)\libw.lib /nod>>$@
  44. echo $(*F);>>$@
  45. $(DEST)\winsock.dll: $*.obj $*.lrf $(*F).def $*.res
  46. $(LINK) @$*.lrf;
  47. $(RC) -t $*.res $@
  48. $(DEST)\winsock.res: $(*F).rc $(*F).rcv ..\inc\common.ver