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.

65 lines
1.7 KiB

  1. MINORCOMP=apidll_a
  2. TARGETNAME=setupapi
  3. ANSI_SETUPAPI=1
  4. !if !$(386)
  5. # Do nothing for non-x86 platforms
  6. TARGETPATH=obj
  7. TARGETTYPE=NOTARGET
  8. !else
  9. !include ..\sources.inc
  10. USE_LIBCMT=1
  11. USE_MAPSYM=1
  12. C_DEFINES=$(C_DEFINES) -D_MBCS -D_SETUPAPI_ -DANSI_SETUPAPI -D_SETUPAPI_VER=0x0501
  13. # To enable asserts, add: -DASSERTS_ON=1
  14. SUBSYSTEM_VERSION=4.00
  15. CHICAGO_PRODUCT=1
  16. BINPLACE_PLACEFILE=placefil.txt
  17. PASS1_PUBLISH={$(O)\$(TARGETNAME).lib=$(SDK_LIB_PATH)\$(TARGETNAME)_chicago.lib}
  18. NTTARGETFILE0=$(NTTARGETFILE0) $(O)\setupapi.def
  19. #
  20. # ***** DO NOT CHANGE THIS LIST *****
  21. #
  22. # unless you are adding a DLL that runs on the gold release of Windows 95
  23. #
  24. # lz32.lib must be before kernel32.lib so that we pull in lz32.dll
  25. #
  26. TARGETLIBS=\
  27. $(SDK_LIB_PATH)\lz32.lib \
  28. $(SDK_LIB_DEST)\chicago\*\kernel32.lib \
  29. $(SDK_LIB_DEST)\chicago\*\advapi32.lib \
  30. $(SDK_LIB_PATH)\comctl32.lib \
  31. $(SDK_LIB_PATH)\comdlg32.lib \
  32. $(SDK_LIB_DEST)\chicago\*\gdi32.lib \
  33. $(SDK_LIB_DEST)\chicago\*\mpr.lib \
  34. $(SDK_LIB_PATH)\ole32.lib \
  35. $(SDK_LIB_PATH)\rpcrt4.lib \
  36. $(SDK_LIB_PATH)\rpcutil.lib \
  37. $(SHELL_LIB_PATH)\shell32p.lib \
  38. $(SDK_LIB_DEST)\chicago\*\user32.lib \
  39. $(SDK_LIB_PATH)\version.lib \
  40. $(SDK_LIB_DEST)\chicago\*\winspool.lib \
  41. $(SDK_LIB_PATH)\cabinet.lib \
  42. $(BASE_LIB_PATH)\setuplga.lib \
  43. .\cfgmgr32.lib
  44. LINKLIBS=\
  45. $(PROJECT_LIB_PATH)\sputilsa.lib
  46. MISCFILES = i386\cfgmgra.dll
  47. !endif
  48. i386_SOURCES=$(SOURCES)
  49. SOURCES=
  50. LINKER_FLAGS=$(LINKER_FLAGS) /pdb:$(O)\setupapi_ansi.pdb