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.

77 lines
2.3 KiB

  1. #********************************************************************
  2. #** Microsoft Windows **
  3. #** Copyright(c) Microsoft Corp., 1992 - 1993 **
  4. #********************************************************************
  5. # we only compile the object files from cxx files on this sub-dir
  6. #include the common makefile
  7. !INCLUDE ..\commk.msc
  8. # Put compiler specific flags on the first line
  9. CFLAGS = -nologo -Zle -W3 -D_MT -D_DLL $(DBG_FLAGS) \
  10. $(U_OPTS) -DNEWPROPS $(BYTE_ORDER) $(ADD_CFLAGS)
  11. OBJDIR = obj
  12. CXXFILES = \
  13. .\propstg.cxx\
  14. .\psetstg.cxx\
  15. .\utils.cxx\
  16. .\ntprop.cxx\
  17. .\ntpropb.cxx\
  18. .\propstm.cxx\
  19. .\propvar.cxx\
  20. .\stgvarb.cxx
  21. HEADERS = \
  22. .\debtrace.hxx\
  23. .\propdbg.hxx\
  24. .\prophdr.hxx\
  25. .\h\propmac.hxx\
  26. .\propstg.hxx\
  27. .\psetstg.hxx\
  28. ..\h\props.h\
  29. .\utils.hxx
  30. SOURCES=$(CXXFILES) $(HEADERS)
  31. CXX_OBJS=$(CXXFILES:.cxx=.obj)
  32. CXX_OBJS=$(CXX_OBJS:.c=.obj)
  33. # The obj\ in the following line should be replaced with $(OBJDIR) for
  34. # versions of make that can handle it.
  35. CXX_OBJS=$(CXX_OBJS:.\=obj\)
  36. default: "$(OBJDIR)" props_objs
  37. #clear all the files then build
  38. clean: clobber default
  39. #clear all the files
  40. clobber:
  41. @if exist "$(OBJDIR)\*.obj" erase "$(OBJDIR)\*.obj"
  42. @if exist "$(OBJDIR)\*.exe" erase "$(OBJDIR)\*.exe"
  43. @if exist "$(OBJDIR)\*.dll" erase "$(OBJDIR)\*.dll"
  44. @if exist "$(OBJDIR)\*.lib" erase "$(OBJDIR)\*.lib"
  45. @if exist "$(OBJDIR)\*.map" erase "$(OBJDIR)\*.map"
  46. @if exist "$(OBJDIR)\*.exp" erase "$(OBJDIR)\*.exp"
  47. # make the directory if it does not exist
  48. "$(OBJDIR)":
  49. @if not exist "$(OBJDIR)\$(NULL)" mkdir "$(OBJDIR)"
  50. props_objs: $(CXX_OBJS)
  51. tags: $(SOURCES)
  52. dir /s /b ..\h\prop*.* *.hxx *.h *.cxx *.c | grep -v ~ | etags --include=..\TAGS -
  53. depend:
  54. @echo "### Making dependencies - please ignore errors "
  55. -@$(DEPEND) -fdepend.msc $(CINC) -I. -I.\h -I.. -I..\h $(CFLAGS) $(SOURCES) > NULL
  56. .c{$(OBJDIR)}.obj:
  57. $(CC) -c $(CFLAGS) $(CINC) /Fo$(OBJDIR)\ $<
  58. .cxx{$(OBJDIR)}.obj:
  59. $(CC) -c $(CFLAGS) $(CINC) /Fo$(OBJDIR)\ $<
  60. !INCLUDE depend.msc