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.

52 lines
1.4 KiB

  1. ###############################################################################
  2. #
  3. # Microsoft Confidential
  4. # Copyright (C) Microsoft Corporation 1995
  5. # All Rights Reserved.
  6. #
  7. # Internet SDK Proxy/Stub makefile (must make in ..\inc first)
  8. #
  9. ###############################################################################
  10. !ifndef ARCH
  11. ARCH =i386
  12. !endif
  13. IS_32 =TRUE
  14. IS_SDK =TRUE
  15. WANT_C1032=TRUE
  16. # Need this to get the right lib files
  17. MSDEV=$(BLDROOT)\dev\msdev
  18. LINK32_FLAGS=kernel32.lib uuid.lib $(MSDEV)\lib\uuid2.lib ..\lib\$(ARCH)\uuid3.lib rpcrt4.lib /NOLOGO \
  19. /SUBSYSTEM:windows /DLL /INCREMENTAL:no /MACHINE:I386 \
  20. /MERGE:.rdata=.text /MERGE:.bss=.data
  21. OUTDIR=..\retail\$(ARCH)
  22. PROXIES=$(OUTDIR)\sweeprx.dll
  23. CLEANLIST= $(PROXIES) *.obj *.res *.lib *.map *.pch $(OUTDIR)\*.map $(OUTDIR)\*.lib $(OUTDIR)\*.exp *.c
  24. MAKE: $(PROXIES)
  25. SWEEPRX_OBJ=dlldata.obj call_as.obj comcat.obj datapath.obj docobj.obj \
  26. hlink.obj servprov.obj htiframe.obj htiface.obj shldisp.obj
  27. # urlmon.obj
  28. $(OUTDIR)\sweeprx.dll: $(SWEEPRX_OBJ)
  29. link $(LINK32_FLAGS) /MAP:$*.map /OUT:$*.dll /IMPLIB:$*.lib \
  30. /DEF:sweeprx.def $(SWEEPRX_OBJ)
  31. del $*.map
  32. del $*.lib
  33. del $*.exp
  34. sweeprx.res: sweeper.rc
  35. rc /d MODULE=sweeprx /fo sweeprx.res sweeper.rc
  36. !include $(ROOT)\dev\master.mk
  37. CFLAGS=/nologo /Gz /MD /W3 /GX /YX"windows.h" /O2 /D "NDEBUG" /D "WIN32" /D REGISTER_PROXY_DLL
  38. .c.obj:
  39. cl /c $(CFLAGS) /I..\inc $*.c