2008-12-02 Jakub Jelinek <jakub@redhat.com>
[official-gcc.git] / gcc / config / i386 / t-cygwin
blob7433138d692142059966df1323a8c673c29123a1
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
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
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
17 # Cygwin-specific parts of LIB_SPEC
18 SHLIB_LC = -lcygwin -luser32 -lkernel32 -ladvapi32 -lshell32