Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: refactoring of msvc makefiles to allow overriding of library f…
…ilenames. Default libcurl's file names are kept equal to those used since Y2K.
- Loading branch information
Showing
3 changed files
with
201 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
#*************************************************************************** | ||
# _ _ ____ _ | ||
# Project ___| | | | _ \| | | ||
# / __| | | | |_) | | | ||
# | (__| |_| | _ <| |___ | ||
# \___|\___/|_| \_\_____| | ||
# | ||
# Copyright (C) 1999 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al. | ||
# | ||
# This software is licensed as described in the file COPYING, which | ||
# you should have received as part of this distribution. The terms | ||
# are also available at http://curl.haxx.se/docs/copyright.html. | ||
# | ||
# You may opt to use, copy, modify, merge, publish, distribute and/or sell | ||
# copies of the Software, and permit persons to whom the Software is | ||
# furnished to do so, under the terms of the COPYING file. | ||
# | ||
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
# KIND, either express or implied. | ||
# | ||
#*************************************************************************** | ||
|
||
# | ||
# This file is included from MSVC makefiles located in lib and src, | ||
# providing libcurl common file names required by these makefiles. | ||
# | ||
|
||
# ------------------ | ||
# libcurl base name | ||
# ------------------ | ||
|
||
!IF !DEFINED(LIB_NAME) || "$(LIB_NAME)" == "" | ||
LIB_NAME = libcurl | ||
!ENDIF | ||
|
||
# ------------------------------------------------- | ||
# libcurl static and dynamic libraries common base | ||
# file names for release and debug configurations | ||
# ------------------------------------------------- | ||
|
||
!IF !DEFINED(LIB_NAME_STA_REL) || "$(LIB_NAME_STA_REL)" == "" | ||
LIB_NAME_STA_REL = $(LIB_NAME) | ||
!ENDIF | ||
|
||
!IF !DEFINED(LIB_NAME_STA_DBG) || "$(LIB_NAME_STA_DBG)" == "" | ||
LIB_NAME_STA_DBG = $(LIB_NAME_STA_REL)d | ||
!ENDIF | ||
|
||
!IF !DEFINED(LIB_NAME_DYN_REL) || "$(LIB_NAME_DYN_REL)" == "" | ||
LIB_NAME_DYN_REL = $(LIB_NAME) | ||
!ENDIF | ||
|
||
!IF !DEFINED(LIB_NAME_DYN_DBG) || "$(LIB_NAME_DYN_DBG)" == "" | ||
LIB_NAME_DYN_DBG = $(LIB_NAME_DYN_REL)d | ||
!ENDIF | ||
|
||
# -------------------------------------------- | ||
# Base names for libcurl DLL import libraries | ||
# -------------------------------------------- | ||
|
||
!IF !DEFINED(LIB_NAME_IMP_REL) || "$(LIB_NAME_IMP_REL)" == "" | ||
LIB_NAME_IMP_REL = $(LIB_NAME_DYN_REL)_imp | ||
!ENDIF | ||
|
||
!IF !DEFINED(LIB_NAME_IMP_DBG) || "$(LIB_NAME_IMP_DBG)" == "" | ||
LIB_NAME_IMP_DBG = $(LIB_NAME_DYN_DBG)_imp | ||
!ENDIF | ||
|
||
# -------------------------------------- | ||
# File names with extension and no path | ||
# -------------------------------------- | ||
|
||
LIBCURL_STA_LIB_REL = $(LIB_NAME_STA_REL).lib | ||
LIBCURL_STA_LIB_DBG = $(LIB_NAME_STA_DBG).lib | ||
LIBCURL_DYN_LIB_REL = $(LIB_NAME_DYN_REL).dll | ||
LIBCURL_DYN_LIB_DBG = $(LIB_NAME_DYN_DBG).dll | ||
LIBCURL_IMP_LIB_REL = $(LIB_NAME_IMP_REL).lib | ||
LIBCURL_IMP_LIB_DBG = $(LIB_NAME_IMP_DBG).lib | ||
LIBCURL_DYN_LIB_PDB = $(LIB_NAME_IMP_DBG).pdb | ||
|
||
# End of Makefile.msvc.names |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.