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.

80 lines
2.5 KiB

  1. NAME =cdplayer
  2. EXT =exe
  3. ROOT =..\..\..
  4. OBJ1 =buttons.obj cdapi.obj cdapimci.obj $(NAME).obj commands.obj
  5. OBJ2 =database.obj diskinfo.obj dragdrop.obj ledwnd.obj preferen.obj
  6. OBJ3 =literals.obj scan.obj trklst.obj
  7. OBJS =$(OBJ1) $(OBJ2) $(OBJ3)
  8. LIBS =kernel32.lib user32.lib crtdll.lib gdi32.lib comctl32.lib shell32.lib winmm.lib advapi32.lib
  9. GOALS =$(PBIN)\$(NAME).$(EXT) $(PBIN)\$(NAME).sym
  10. !if "$(DEBUG)" == "retail"
  11. DEF =
  12. CDEBUG =$(DEF)
  13. L32DEBUG=-debug:none
  14. RDEBUG =
  15. !else
  16. !if "$(DEBUG)" == "debug"
  17. DEF =-DDEBUG_RETAIL
  18. CDEBUG =$(DEF)
  19. L32DEBUG=-debug:none
  20. RDEBUG =-v $(DEF)
  21. !else
  22. DEF =-DDEBUG -DDBG
  23. CDEBUG =$(DEF)
  24. L32DEBUG=-debug:full -debugtype:cv
  25. RDEBUG =-v $(DEF)
  26. !endif
  27. !endif
  28. CFLAGS =-Oxt -D_X86_ $(CDEBUG) -Fo$@ -DCHICAGO -DSTRICT
  29. L32FLAGS=-section:.sdata,rws $(L32DEBUG)
  30. RCFLAGS =$(RDEBUG)
  31. OS =i386
  32. LB =lib # Don't want c816 lib
  33. IS_32 =TRUE
  34. IS_OEM =TRUE
  35. WANT_C932 = TRUE
  36. !include $(ROOT)\build\project.mk
  37. buttons.obj: ..\..\$$(@B).c ..\..\$$(@B).h
  38. cdapi.obj: ..\..\$$(@B).c ..\..\resource.h ..\..\$(NAME).h ..\..\$$(@B).h ..\..\scan.h ..\..\trklst.h
  39. cdapimci.obj: ..\..\$$(@B).c ..\..\resource.h ..\..\$(NAME).h ..\..\cdapi.h ..\..\scan.h ..\..\trklst.h
  40. $(NAME).obj: ..\..\$$(@B).c ..\..\resource.h ..\..\$(NAME).h ..\..\ledwnd.h ..\..\cdapi.h ..\..\scan.h ..\..\trklst.h ..\..\database.h ..\..\commands.h ..\..\buttons.h
  41. commands.obj: ..\..\$$(@B).c ..\..\resource.h ..\..\$(NAME).h ..\..\ledwnd.h ..\..\cdapi.h ..\..\scan.h ..\..\trklst.h ..\..\database.h ..\..\$$(@B).h ..\..\diskinfo.h
  42. database.obj: ..\..\$$(@B).c ..\..\resource.h ..\..\cdapi.h ..\..\$(NAME).h ..\..\$$(@B).h
  43. diskinfo.obj: ..\..\$$(@B).c ..\..\resource.h ..\..\$(NAME).h ..\..\ledwnd.h ..\..\cdapi.h ..\..\scan.h ..\..\trklst.h ..\..\$$(@B).h ..\..\diskinfo.h ..\..\dragdrop.h
  44. dragdrop.obj: ..\..\$$(@B).c ..\..\resource.h ..\..\$$(@B).h
  45. ledwnd.obj: ..\..\$$(@B).c ..\..\resource.h ..\..\$(NAME).h ..\..\ledwnd.h ..\..\buttons.h
  46. scan.obj: ..\..\$$(@B).c ..\..\resource.h ..\..\$(NAME).h ..\..\cdapi.h ..\..\$$(@B).h ..\..\trklst.h ..\..\database.h
  47. trklst.obj: ..\..\$$(@B).c ..\..\resource.h ..\..\$(NAME).h ..\..\cdapi.h ..\..\scan.h ..\..\database.h ..\..\$$(@B).h
  48. $(NAME).res: \
  49. ..\..\$(NAME).rc ..\..\$(NAME).rcv ..\..\$(NAME).h ..\..\resource.h
  50. @$(RC) $(RCFLAGS) -fo$@ -I..\.. ..\..\$(@B).rc
  51. $(NAME).lib $(NAME).$(EXT) $(NAME).map: \
  52. $(OBJS) $(NAME).res
  53. @$(LINK32) $(L32FLAGS) @<<
  54. -out:$(@B).$(EXT)
  55. -machine:$(OS)
  56. -subsystem:windows,4.0
  57. -map:$(@B).map
  58. $(NAME).res
  59. $(OBJ1)
  60. $(OBJ2)
  61. $(OBJ3)
  62. $(LIBS)
  63. <<