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.

73 lines
1.3 KiB

  1. NAME = ddrawex
  2. EXT = dll
  3. USEDDK32=1
  4. IS_32 = 1
  5. GOALS =\
  6. $(PINC)\ddrawex.h \
  7. $(PBIN)\$(NAME).$(EXT) \
  8. $(PBIN)\$(NAME).sym \
  9. $(PLIB)\$(NAME).lib
  10. LIBS =kernel32.lib user32.lib uuid.lib advapi32.lib gdi32.lib version.lib msvcrt.lib
  11. OBJS = \
  12. comdll.obj \
  13. ddrawex.obj \
  14. vtable.obj \
  15. surface.obj \
  16. factory.obj \
  17. palette.obj
  18. !if ("$(DEBUG)" == "debug") || ("$(DEBUG)" == "ntdebug")
  19. COPT =-YX -Ox -DDEBUG -Zi -Fd$(NAME).PDB
  20. AOPT =-DDEBUG
  21. LOPT =-debug:full -debugtype:cv -pdb:$(NAME).pdb
  22. ROPT =-DDEBUG
  23. !else
  24. COPT =-YX -Ox
  25. AOPT =
  26. LOPT =-debug:none -incremental:no
  27. ROPT =
  28. !endif
  29. DEF = $(NAME).def
  30. RES = $(NAME).res
  31. !if ("$(DEBUG)" == "ntretail") || ("$(DEBUG)" == "ntdebug")
  32. CFLAGS =
  33. !else
  34. CFLAGS =-DWIN95
  35. !endif
  36. CFLAGS =$(COPT) -DTRIDENT_STUFF -MT -D_X86_ $(CDEBUG) -Fo$@ -FAsc -D_MT $(CFLAGS)
  37. AFLAGS =$(AOPT) -Zp4
  38. LFLAGS =$(LOPT)
  39. RCFLAGS =$(ROPT)
  40. !include ..\..\proj.mk
  41. $(NAME).lib $(NAME).$(EXT): \
  42. $(OBJS) $(NAME).res ..\$(NAME).def ..\default.mk
  43. @$(LINK) @<<
  44. $(LFLAGS)
  45. -out:$(NAME).$(EXT)
  46. -map:$(NAME).map
  47. -dll
  48. -machine:i386
  49. -subsystem:windows,4.0
  50. -entry:DllEntryPoint@12
  51. -implib:$(NAME).lib
  52. -def:..\$(NAME).def
  53. -warn:2
  54. $(LIBS)
  55. $(NAME).res
  56. $(OBJS)
  57. <<
  58. mapsym $(NAME).map
  59. $(PINC)\ddrawex.h : ..\ddrawex.h
  60. copy ..\ddrawex.h $(PINC)\ddrawex.h