mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-23 15:40:14 +08:00
daeeaa97b3
Build all the testcase executables directly using automake, rather than passing the compiler information into DejaGnu to have it build them. (This means you get build avoidance for these executables, so they only get built once, rather than every time you run the test, and makes it much easier to run them in isolatation against the installed Cygwin, which is really nice to have when trying to fix broken tests...) Rename the 'cygrun' subdirectory to 'mingw', and build all the testsuite MinGW executables there. Drop sample-miscompile.c (testing that compile failure is detected is perhaps useful, but not here...)
27 lines
687 B
Makefile
27 lines
687 B
Makefile
# Makefile.am for Cygwin testsuite MINGW executables
|
|
#
|
|
# This file is part of Cygwin.
|
|
#
|
|
# This software is a copyrighted work licensed under the terms of the
|
|
# Cygwin license. Please consult the file "CYGWIN_LICENSE" for
|
|
# details.
|
|
|
|
# This makefile requires GNU make.
|
|
|
|
# These are built with the MinGW compiler, so are in a separate Makefile here
|
|
# because it's tricky with Automake to use different compilers for the same
|
|
# language in the same Makefile.
|
|
|
|
override CC = @MINGW_CC@
|
|
override CXX = @MINGW_CXX@
|
|
AM_CPPFLAGS =
|
|
|
|
noinst_PROGRAMS = cygrun cygload
|
|
|
|
cygrun_SOURCES = \
|
|
../cygrun.c
|
|
|
|
cygload_SOURCES = \
|
|
../winsup.api/cygload.cc
|
|
cygload_LDFLAGS=-static -Wl,-e,cygloadCRTStartup
|