Leaked source code of windows server 2003
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.

63 lines
1.4 KiB

  1. # File: D:\wacker\term\makefile.t (Created: 24-Nov-1993)
  2. #
  3. # Copyright 1993 by Hilgraeve Inc. -- Monroe, MI
  4. # All rights reserved
  5. #
  6. # $Revision: 11 $
  7. # $Date: 12/27/01 11:33a $
  8. #
  9. MKMF_SRCS = .\term.c
  10. HDRS =
  11. EXTHDRS =
  12. SRCS =
  13. OBJS =
  14. #-------------------#
  15. RCSFILES = .\makefile.t .\online.rc \
  16. .\ver_exe.rc .\ver_dll.rc \
  17. .\version.h \
  18. $(SRCS) $(EXTHDRS)
  19. #-------------------#
  20. %include ..\common.mki
  21. #-------------------#
  22. TARGETS : hypertrm.exe
  23. %if defined(MAP_AND_SYMBOLS)
  24. TARGETS : h.sym
  25. %endif
  26. %if $(VERSION) == WIN_DEBUG
  27. LFLAGS += msvcrtd.lib /NODEFAULTLIB:libcmt.lib /NODEFAULTLIB:msvcrt.lib \
  28. %endif
  29. %if $(VERSION) == WIN_RELEASE
  30. LFLAGS += msvcrt.lib /NODEFAULTLIB:libcmtd.lib /NODEFAULTLIB:msvcrtd.lib \
  31. %endif
  32. #-------------------#
  33. hypertrm.exe : $(OBJS) hypertrm.lib online.res
  34. # The incremental linker uses the base name of the target to build an
  35. # .ILK file. Our DLL has the same name as our executable so build it
  36. # H.EXE and then rename it.
  37. @echo Linking $(@,F) ...
  38. @link $(LFLAGS) $(OBJS:X) $(**,M\.lib) $(**,M\.res) -out:$(BD)\h.exe
  39. @-copy $(BD)\h.exe $@
  40. %chdir $(BD)
  41. @bind $@
  42. online.res : online.rc ver_exe.rc
  43. @rc -r $(EXTRA_RC_DEFS) /D$(BLD_VER) /DWIN32 /D$(LANG) -i\.. -fo$@ .\online.rc
  44. h.sym : h.map
  45. @mapsym -o $@ $**