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.

71 lines
2.1 KiB

  1. #********************************************************************
  2. #** Microsoft Windows **
  3. #** Copyright(c) Microsoft Corp., 1992 - 1996 **
  4. #********************************************************************
  5. !INCLUDE ..\..\commk.msc
  6. # Put compiler specific flags on the first line
  7. CFLAGS = -c -nologo -Zle -W3 $(DBG_FLAGS) \
  8. -D_X86_ $(U_OPTS) $(BYTE_ORDER)
  9. # Put linker specific flags here.
  10. LFLAGS = /nologo $(LDBG_FLAGS)
  11. # CRTINC is the location of the C runtime header files
  12. CRTINC = -I$(CRTDIR)
  13. # The reference implementation needs a C runtime library
  14. EXELIBS =\
  15. $(LIBC)\
  16. ..\..\obj\refstg.lib
  17. OBJDIR = obj
  18. CXXFILES = \
  19. .\cpropvar.cxx\
  20. .\proptest.cxx\
  21. .\testdoc.cxx\
  22. HEADERS = \
  23. .\CHResult.hxx\
  24. .\cpropvar.hxx\
  25. SOURCES=$(CXXFILES) $(HEADERS)
  26. CXX_OBJS=$(CXXFILES:.cxx=.obj)
  27. CXX_OBJS=$(CXX_OBJS:.c=.obj)
  28. # The obj\ in the following line should be replaced with $(OBJDIR) for
  29. # versions of make that can handle it.
  30. CXX_OBJS=$(CXX_OBJS:.\=obj\)
  31. default: "$(OBJDIR)" $(OBJDIR)\proptest.exe
  32. #clear all the files then build
  33. clean: clobber default
  34. # clear all the files
  35. clobber:
  36. @if exist "$(OBJDIR)\*.obj" erase "$(OBJDIR)\*.obj"
  37. @if exist "$(OBJDIR)\*.exe" erase "$(OBJDIR)\*.exe"
  38. @if exist "$(OBJDIR)\*.dll" erase "$(OBJDIR)\*.dll"
  39. @if exist "$(OBJDIR)\*.lib" erase "$(OBJDIR)\*.lib"
  40. @if exist "$(OBJDIR)\*.map" erase "$(OBJDIR)\*.map"
  41. @if exist "$(OBJDIR)\*.exp" erase "$(OBJDIR)\*.exp"
  42. @if exist "$(OBJDIR)\*.lnk" erase "$(OBJDIR)\*.lnk"
  43. # make the directory if it does not exist
  44. $(OBJDIR):
  45. @if not exist $(OBJDIR) mkdir $(OBJDIR)
  46. $(OBJDIR)\proptest.exe: $(CXX_OBJS)
  47. $(LINKER) $(LFLAGS) $(CXX_OBJS) $(EXELIBS) /OUT:$*.exe
  48. tags: $(SOURCES)
  49. dir /s /b *.hxx *.h *.cxx *.c | grep -v ~ | etags -
  50. .c{$(OBJDIR)}.obj:
  51. $(CC) $(CFLAGS) $(CINC) /Fo$(OBJDIR)\ $<
  52. .cxx{$(OBJDIR)}.obj:
  53. $(CC) $(CFLAGS) $(CINC) /Fo$(OBJDIR)\ $<
  54. !include depend.msc