1 # Makefile for Cygwin utilities
3 # This file is part of Cygwin.
5 # This software is a copyrighted work licensed under the terms of the
6 # Cygwin license. Please consult the file "CYGWIN_LICENSE" for
9 # We put utilities built with a MinGW compiler in a separate Makefile here
10 # because it's tricky with Automake to use different compilers for the same
11 # language in the same Makefile.
13 override CXX = @MINGW_CXX@
16 include $(top_srcdir)/Makefile.am.common
18 CFLAGS_COMMON=-Wimplicit-fallthrough=4 -Werror -D_WIN32_WINNT=0x0a00 -DNTDDI_VERSION=WDK_NTDDI_VERSION
19 AM_CXXFLAGS=-fno-exceptions -fno-rtti -fno-use-cxa-atexit $(flags_common) $(CFLAGS_COMMON)
23 cygwin-console-helper \
32 cygcheck_CPPFLAGS=-I$(srcdir)/.. -idirafter ${top_srcdir}/cygwin/include
33 cygcheck_LDADD = -lz -lwininet -lpsapi -lntdll
35 cygwin_console_helper_SOURCES = cygwin-console-helper.cc
42 strace_CPPFLAGS=-I$(srcdir)/.. -idirafter ${top_srcdir}/cygwin -idirafter ${top_srcdir}/cygwin/include
43 strace_LDADD = -lntdll
45 noinst_PROGRAMS = path-testsuite
47 path_testsuite_SOURCES = \
50 path_testsuite_CPPFLAGS=-I$(srcdir)/.. -idirafter ${top_srcdir}/cygwin/include
51 path_testsuite_CXXFLAGS = -DTESTSUITE
53 TESTS = path-testsuite