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.

65 lines
1.6 KiB

  1. #############################################################################
  2. #
  3. # Microsoft Confidential
  4. # Copyright (C) Microsoft Corporation 1992
  5. # All Rights Reserved.
  6. #
  7. # Makefile for $(PROJ)
  8. #
  9. #############################################################################
  10. # We must be Win95-compatible
  11. PROJ=OPOSSERV
  12. ROOT=..\..\..\..\..
  13. SRCDIR=..
  14. IS_32=TRUE
  15. IS_SDK=TRUE
  16. IS_PRIVATE=TRUE # IToClass
  17. DEPENDNAME=..\depend.mk
  18. WANT_C1032=TRUE
  19. BUILD_COFF=TRUE
  20. BUILDDLL=TRUE
  21. L32EXE=$(PROJ).DLL
  22. L32RES=$(PROJ).RES
  23. L32DEF=$(SRCDIR)\$(PROJ).DEF
  24. L32MAP=$(PROJ).MAP
  25. DLLENTRY=DllMain
  26. DEFENTRY=DllMain
  27. L32FLAGS= -entry:$(DLLENTRY) -def:$(L32DEF) $(L32FLAGS)
  28. L32OBJS= oposserv.obj iclsfact.obj iunknown.obj main.obj debug.obj
  29. TARGETS=$(L32EXE)
  30. LIBNAME=L32EXE
  31. LIBOBJS=L32OBJS
  32. L32LIBSNODEP= msvcrt.lib kernel32.lib advapi32.lib user32.lib shell32.lib comctl32.lib gdi32.lib mpr.lib uuid.lib setupapi.lib setupapa.lib ole32.lib
  33. # I hate includes.exe
  34. #
  35. # Must manually exclude all the random header files that never change.
  36. #
  37. # And it still doesn't generate the dependency for the .rc file properly,
  38. # so
  39. #
  40. # WARNING WARNING WARNING
  41. #
  42. # After an "nmake depend", append the following lines to depend.mk by hand:
  43. #
  44. # $(OBJDIR)\sendtox.res: ..\sendtox.rc ..\stx.h
  45. #
  46. #INCFLAGS=$(INCFLAGS) -nwindows.h -noleidl.h -nwindowsx.h -nshlobj.h -nshellapi.h -nshell2.h -nprsht.h -nstdarg.h
  47. # L32FLAGS=$(L32FLAGS) -base:0x403F0000
  48. !include $(ROOT)\dev\master.mk
  49. INCLUDE=..\..\..\inc;$(SRCDIR)\..\..\..\ddk\inc;$(ROOT)\win\core\shell\inc;$(INCLUDE)
  50. CFLAGS=$(CFLAGS) -YX -Zp1 -Oxs -W3 -Gz -GF -LD
  51. #-WX