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.

93 lines
1.8 KiB

  1. #
  2. # Create a Win32 application
  3. #
  4. # Things to know about:
  5. #
  6. # Don't put spaces around '=' in assignments as BUILD
  7. # will GP fault
  8. #
  9. # Don't use macros in here. BUILD can't cope
  10. #
  11. #
  12. MAJORCOMP=windows
  13. MINORCOMP=SndRec32
  14. # Define the name and type of the application
  15. TARGETNAME=SndRec32
  16. TARGETPATH=obj
  17. TARGETTYPE=PROGRAM
  18. UMTYPE=windows
  19. UMENTRY=winmain
  20. !if $(PPC)
  21. !if "$(NTDEBUG)" == "cvp"
  22. NTDEBUG=
  23. !endif
  24. !endif
  25. #
  26. # wait for o2base32.lib to finish
  27. #
  28. SYNCHRONIZE_DRAIN=1
  29. # List any libraries not included by WIN32LIBS in MAKEFILE.DEF
  30. TARGETLIBS=$(SDK_LIB_PATH)\winmm.lib \
  31. $(SDK_LIB_PATH)\comdlg32.lib \
  32. $(SDK_LIB_PATH)\shell32.lib \
  33. $(SDK_LIB_PATH)\ole32.lib \
  34. $(SDK_LIB_PATH)\uuid.lib \
  35. $(SDK_LIB_PATH)\msacm32.lib \
  36. $(SDK_LIB_PATH)\comctl32.lib \
  37. ..\..\lib\*\o2base32.lib \
  38. $(SDK_LIB_PATH)\htmlhelp.lib
  39. # Define the path to search for <include> files
  40. INCLUDES=..\o2base;..\..\inc
  41. # Define WIN32 for a 32-bit version
  42. #
  43. # -DUNICODE Windows Unicode
  44. # -D_UNICODE CRuntime Unicode
  45. # -DOLE2ANSI Ansi OLE 2.0
  46. # -DWINVER=0x0400 Chicago UI on NT
  47. #
  48. # Unicode
  49. #
  50. !if $(PPC)
  51. C_DEFINES=-DUNICODE -D_UNICODE -DUSE_COMMCTRL -DPPC
  52. !else
  53. C_DEFINES=-DUNICODE -D_UNICODE -DUSE_COMMCTRL
  54. !endif
  55. # Ansi only
  56. #
  57. # C_DEFINES=-DWIN32 -DWINVER=0x0400 -DUSE_COMMCTRL
  58. # list each C and RC source file
  59. #
  60. SOURCES=soundrec.c \
  61. edit.c \
  62. errorbox.c \
  63. file.c \
  64. init.c \
  65. nftext.c \
  66. sframe.c \
  67. wave.c \
  68. wavedisp.c \
  69. srecnew.c \
  70. oleglue.c \
  71. srfact.cxx \
  72. srs.cxx \
  73. fixreg.c \
  74. convert.c \
  75. soundrec.rc \
  76. reg.c \
  77. buttons.c
  78. MISCFILES=sndrec.wav