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.

49 lines
1.4 KiB

  1. # SHELL16 makefile
  2. #
  3. # Copyright (c) 1991, Microsoft Corporation
  4. #
  5. # History:
  6. # 26-Jan-1991 Jeff Parsons (jeffpar)
  7. # Created.
  8. #
  9. !INCLUDE ..\makefile.inc
  10. DEFINES=-DWOW -DBUILDDLL $(MVDMFLAGS)
  11. AOBJ=-Mx -t $(DEFINES) $(INCS)
  12. all: $(DEST)\shell.dll $(DEST)\shell.sym
  13. -binplace -o $(ALT_PROJECT_TARGET) $(DEST)\shell.dll
  14. -binplace -o $(ALT_PROJECT_TARGET) $(DEST)\shell.sym
  15. clean: cleanup all
  16. cleanup:
  17. if exist $(DEST)\*.lrf del $(DEST)\*.lrf
  18. if exist $(DEST)\*.obj del $(DEST)\*.obj
  19. if exist $(DEST)\*.dll del $(DEST)\*.dll
  20. if exist $(DEST)\*.map del $(DEST)\*.map
  21. if exist $(DEST)\*.sym del $(DEST)\*.sym
  22. if exist $(DEST)\*.lst del $(DEST)\*.lst
  23. if exist $(DEST)\*.res del $(DEST)\*.res
  24. $(DEST)\shell.obj: shell.asm ..\..\inc\wow.inc ..\..\inc\wowshell.inc
  25. $(ASM) $(AOBJ) shell,$(DEST)\shell;
  26. #$(DEST)\dragdrop.obj: dragdrop.c ..\..\inc\wow.inc ..\..\inc\wowshell.inc
  27. # $(CL) -c $(CW16) -Fo$(DEST)\dragdrop dragdrop.c
  28. $(DEST)\shell.lrf: makefile.sub
  29. echo $(DEST)\shell.obj $(DEST)\dragdrop.obj>$@
  30. echo $(DEST)\shell.dll>>$@
  31. echo $(DEST)\shell /MAP>>$@
  32. echo ..\lib\$(ALT_PROJECT)\libw.lib /nod >>$@
  33. echo shell;>>$@
  34. $(DEST)\shell.dll $(DEST)\shell.map: $(DEST)\shell.obj $(DEST)\shell.lrf shell.def $(DEST)\shell.res $(DEST)\dragdrop.obj
  35. $(LINK) @$(DEST)\shell.lrf;
  36. $(RC) -t $(DEST)\shell.res $(DEST)\shell.dll
  37. $(DEST)\shell.res: shell.rc shell.rcv ..\inc\common.ver