mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This adjusts the library link names so that linking works properly on case sensitive file systems (e.g. ext4) when cross-linking.
205 lines
3.4 KiB
Plaintext
205 lines
3.4 KiB
Plaintext
//===--- WinSDK.modulemap -------------------------------------------------===//
|
|
//
|
|
// This source file is part of the Swift.org open source project
|
|
//
|
|
// Copyright (c) 2014 - 2018 Apple Inc. and the Swift project authors
|
|
// Licensed under Apache License v2.0 with Runtime Library Exception
|
|
//
|
|
// See https://swift.org/LICENSE.txt for license information
|
|
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
module WinSDK [system] [extern_c] {
|
|
module WinSock2 {
|
|
header "WinSock2.h"
|
|
header "WS2tcpip.h"
|
|
export *
|
|
|
|
link "WS2_32.Lib"
|
|
}
|
|
|
|
module core {
|
|
module acl {
|
|
header "AclAPI.h"
|
|
export *
|
|
}
|
|
|
|
module compress {
|
|
header "compressapi.h"
|
|
export *
|
|
}
|
|
|
|
module console {
|
|
header "consoleapi.h"
|
|
export *
|
|
}
|
|
|
|
// api-ms-win-core-errhandling-l1-1-0.dll
|
|
module errhandling {
|
|
header "errhandlingapi.h"
|
|
export *
|
|
}
|
|
|
|
// api-ms-win-core-file-l1-1-0.dll
|
|
module file {
|
|
header "fileapi.h"
|
|
export *
|
|
}
|
|
|
|
// api-ms-win-core-handle-l1-1-0.dll
|
|
module handle {
|
|
header "handleapi.h"
|
|
export *
|
|
}
|
|
|
|
// api-ms-win-heapapi-l1-1-0.dll
|
|
module heap {
|
|
header "heapapi.h"
|
|
export *
|
|
}
|
|
|
|
// api-ms-win-core-interlocked-l1-1-0.dll
|
|
module interlocked {
|
|
header "interlockedapi.h"
|
|
export *
|
|
}
|
|
|
|
// iphlpapi.dll
|
|
module iphlp {
|
|
header "iphlpapi.h"
|
|
export *
|
|
|
|
link "iphlpapi.lib"
|
|
}
|
|
|
|
// api-ms-win-core-libloader-l1-1-0.dll
|
|
module libloader {
|
|
header "libloaderapi.h"
|
|
export *
|
|
}
|
|
|
|
// api-ms-win-core-namedpipe-l1-1-2-0.dll
|
|
module namedpipe {
|
|
header "namedpipeapi.h"
|
|
export *
|
|
}
|
|
|
|
// api-ms-win-core-Path-l1-0.dll
|
|
module path {
|
|
header "PathCch.h"
|
|
export *
|
|
}
|
|
|
|
// api-ms-win-core-processthreads-l1-1-2.dll
|
|
module processthreads {
|
|
header "processthreadsapi.h"
|
|
export *
|
|
}
|
|
|
|
// api-ms-win-core-synch-l1-2-0.dll
|
|
module synch {
|
|
header "synchapi.h"
|
|
export *
|
|
}
|
|
|
|
// api-ms-win-core-sysinfo-l1-1-0.dll
|
|
module sysinfo {
|
|
header "sysinfoapi.h"
|
|
export *
|
|
}
|
|
|
|
// api-ms-win-core-timezone-l1-1-0.dll
|
|
module timezone {
|
|
header "timezoneapi.h"
|
|
export *
|
|
}
|
|
}
|
|
|
|
module AuthZ {
|
|
header "AuthZ.h"
|
|
export *
|
|
|
|
link "AuthZ.Lib"
|
|
}
|
|
|
|
module CommCtrl {
|
|
header "CommCtrl.h"
|
|
export *
|
|
}
|
|
|
|
// FIXME(compnerd) this is a hack for the HWND typedef for DbgHelp
|
|
module __DirectX {
|
|
header "directmanipulation.h"
|
|
export *
|
|
}
|
|
|
|
module DFS {
|
|
header "LMDFS.h"
|
|
header "LM.h"
|
|
export *
|
|
|
|
link "NetAPI32.Lib"
|
|
}
|
|
|
|
module DbgHelp {
|
|
header "DbgHelp.h"
|
|
export *
|
|
|
|
link "DbgHelp.Lib"
|
|
}
|
|
|
|
module FCI {
|
|
header "fci.h"
|
|
export *
|
|
|
|
link "Cabinet.Lib"
|
|
}
|
|
|
|
module Shell {
|
|
header "ShlObj.h"
|
|
export *
|
|
}
|
|
|
|
module ShellAPI {
|
|
header "Shlwapi.h"
|
|
export *
|
|
|
|
link "ShLwApi.Lib"
|
|
}
|
|
|
|
module OLE32 {
|
|
header "oaidl.h"
|
|
export *
|
|
|
|
link "OleAut32.Lib"
|
|
}
|
|
|
|
module User {
|
|
header "WinUser.h"
|
|
export *
|
|
}
|
|
|
|
module WinCrypt {
|
|
header "wincrypt.h"
|
|
export *
|
|
|
|
link "Crypt32.Lib"
|
|
}
|
|
|
|
module WinDNS {
|
|
header "WinDNS.h"
|
|
export *
|
|
|
|
link "DnsAPI.Lib"
|
|
}
|
|
|
|
module WinReg {
|
|
header "winreg.h"
|
|
export *
|
|
|
|
link "AdvAPI32.Lib"
|
|
}
|
|
}
|
|
|