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