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.

51 lines
1.6 KiB

  1. NAME = protocol
  2. EXT = lib
  3. GLOBAL_RECOMPILE = $(MANROOT)\dplobby\dplobby\recomdpl.log
  4. IS_32 = 1
  5. GOALS = $(PLIB)\$(NAME).lib
  6. OBJS = timer.obj handles.obj psession.obj protocol.obj bilink.obj bufmgr.obj bufpool.obj \
  7. mydebug.obj statpool.obj rcvpool.obj sendpool.obj framebuf.obj send.obj \
  8. receive.obj stats.obj
  9. !if ("$(DEBUG)" == "debug") || ("$(DEBUG)" == "ntdebug")
  10. #COPT =-YX -Ox -DDEBUG -Zi -Fd$(NAME).PDB -DSTART_STR="\"DIRECTPLAYPROTOCOL :\"" -DPROF_SECT="\"DirectPlayProtocol\""
  11. COPT =-DDEBUG -Zi -Fd$(NAME).PDB -DSTART_STR="\"DIRECTPLAYPROTOCOL :\"" -DPROF_SECT="\"DirectPlayProtocol\""
  12. AOPT =-DDEBUG
  13. LOPT =-debug:full -debugtype:cv -pdb:$(NAME).pdb
  14. ROPT =-DDEBUG
  15. !else
  16. COPT =-YX -Ox
  17. AOPT =
  18. LOPT =-debug:none -incremental:no
  19. ROPT =
  20. !endif
  21. #LOGO = 1 # this causes compiler output to be shown
  22. DEF = $(NAME).def
  23. RES = $(NAME).res
  24. CFLAGS =$(COPT) -MT -D_X86_ $(CDEBUG) -Fo$@ -D_MT -D_DLL $(CFLAGS) -D_UNICODE -DUNICODE -DNEW_DPF -I.. -I$(MANROOT)\dplay\dplay -I$(MANROOT)\dplay\common -I$(MANROOT)\dplobby\dplobby -DSECURITY_WIN32
  25. AFLAGS =$(AOPT) -Zp4
  26. LFLAGS =$(LOPT)
  27. RCFLAGS =$(ROPT)
  28. !include ..\..\..\proj.mk
  29. LIBFLAGS=/OUT:$(NAME).$(EXT)
  30. $(NAME).$(EXT): $(OBJS) ..\default.mk
  31. $(LIBEXE) $(LIBFLAGS) $(OBJS)
  32. @if exist $(MANROOT)\nt$(DEBUG)\lib\NUL copy $(NAME).$(EXT) $(MANROOT)\nt$(DEBUG)\lib > NUL
  33. #$(PINC)\dplobby.h : ..\dplobby.h
  34. # sed "/@@BEGIN_MSINTERNAL/,/@@END_MSINTERNAL/D" ..\dplobby.h > $(PINC)\dplobby.h
  35. #$(PINC)\lobbysp.h : ..\lobbysp.h
  36. # sed "/@@BEGIN_MSINTERNAL/,/@@END_MSINTERNAL/D" ..\lobbysp.h > $(PINC)\lobbysp.h