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.

45 lines
921 B

  1. #
  2. # MAKEFILE
  3. # Sample WBEM Dynamic Instance Provider
  4. #
  5. # Copyright (c)1998 Microsoft Corporation, All Rights Reserved
  6. #
  7. TARGET = utillib.lib
  8. goal: $(TARGET)
  9. OBJS = $(OBJDIR)\utils.obj $(OBJDIR)\wbemsec.obj
  10. #
  11. # Compiler and link flags
  12. #
  13. !ifndef NODEBUG
  14. OBJDIR=debug
  15. LINK = /nologo /NODEFAULTLIB
  16. CFLAGS = /nologo /W3 /GX /D "WIN32" /D "_WINDOWS" /c /MTd /Z7 /Od /D "_DEBUG"
  17. !else
  18. OBJDIR=release
  19. LINK = /nologo /NODEFAULTLIB
  20. CFLAGS = /nologo /W3 /GX /D "WIN32" /D "_WINDOWS" /c /MT /O2 /D "NDEBUG"
  21. !endif #NODEBUG
  22. cc = cl $(CFLAGS)
  23. .cpp{$(OBJDIR)}.obj:
  24. if not exist $(OBJDIR) md $(OBJDIR)
  25. $(cc) $< -Fo$(OBJDIR)\$(<B).obj
  26. $(TARGET) : $(OBJS)
  27. link -lib @<<
  28. $(LINK)
  29. -out:$(OBJDIR)\$(TARGET)
  30. -subsystem:windows,4.0
  31. $(OBJS)
  32. <<
  33. ##### Dependencies #####
  34. utils.obj : utils.cpp utillib.h
  35. wbemsec.obj : wbemsec.cpp wbemsec.h