1# If we are building next to winsup, this will let us find the real
2# limits.h when building libgcc2.  Otherwise, winsup must be installed
3# first.
4LIBGCC2_INCLUDES += -I$(srcdir)/../winsup/include \
5	-I$(srcdir)/../winsup/cygwin/include
6
7# Cygwin-specific parts of LIB_SPEC
8SHLIB_LC = -lcygwin -ladvapi32 -lshell32 -luser32 -lkernel32
9
10# We have already included one of the t-{dw2,sjlj}-eh fragments for EH_MODEL
11SHLIB_EH_EXTENSION = $(subst -dw2,,-$(EH_MODEL))
12
13# Cygwin uses different conventions than MinGW; override generic SHLIB_ def'ns here.
14SHLIB_IMPLIB = @shlib_base_name@$(SHLIB_EXT).a
15SHLIB_SONAME = cyggcc_s$(SHLIB_EH_EXTENSION)-$(SHLIB_SOVERSION)$(SHLIB_EXT)
16# This must match the definitions of SHLIB_SONAME/SHLIB_SOVERSION and LIBGCC_SONAME.
17# We'd like to use SHLIB_SONAME here too, and we can, since
18# we don't rely on shlib_base_name substitution for it.
19SHLIB_MKMAP_OPTS = -v pe_dll=$(SHLIB_SONAME)
20