0
|
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.
|
|
4 LIBGCC2_INCLUDES += -I$(srcdir)/../winsup/include \
|
|
5 -I$(srcdir)/../winsup/cygwin/include
|
|
6
|
|
7 cygwin1.o: $(srcdir)/config/i386/cygwin1.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
|
8 $(TM_H) $(TM_P_H)
|
|
9 $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
|
|
10 $(srcdir)/config/i386/cygwin1.c
|
|
11
|
|
12 cygwin2.o: $(srcdir)/config/i386/cygwin2.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
|
13 $(TM_H) $(TM_P_H)
|
|
14 $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
|
|
15 $(srcdir)/config/i386/cygwin2.c
|
|
16
|
|
17 # Cygwin-specific parts of LIB_SPEC
|
|
18 SHLIB_LC = -lcygwin -luser32 -lkernel32 -ladvapi32 -lshell32
|
|
19
|
|
20 # We have already included one of the t-{dw2,sjlj}-eh fragments for EH_MODEL
|
|
21 SHLIB_EH_EXTENSION = $(subst -dw2,,-$(EH_MODEL))
|
|
22
|
|
23 # Cygwin uses different conventions than MinGW; override generic SHLIB_ def'ns here.
|
|
24 SHLIB_IMPLIB = @shlib_base_name@$(SHLIB_EXT).a
|
|
25 SHLIB_SONAME = cyggcc_s$(SHLIB_EH_EXTENSION)-$(SHLIB_SOVERSION)$(SHLIB_EXT)
|
|
26 # This must match the definitions of SHLIB_SONAME/SHLIB_SOVERSION and LIBGCC_SONAME.
|
|
27 # We'd like to use SHLIB_SONAME here too, and we can, since
|
|
28 # we don't rely on shlib_base_name substitution for it.
|
|
29 SHLIB_MKMAP_OPTS = -v pe_dll=$(SHLIB_SONAME)
|
|
30
|