]> sourceware.org Git - newlib-cygwin.git/blob - winsup/utils/mingw/Makefile.am
Cygwin: utils: enable -idirafter to fetch Cygwin headers from mingw sources
[newlib-cygwin.git] / winsup / utils / mingw / Makefile.am
1 # Makefile for Cygwin utilities
2
3 # This file is part of Cygwin.
4
5 # This software is a copyrighted work licensed under the terms of the
6 # Cygwin license. Please consult the file "CYGWIN_LICENSE" for
7 # details.
8
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.
12
13 override CXX = @MINGW_CXX@
14 AM_CPPFLAGS =
15
16 include $(top_srcdir)/Makefile.am.common
17
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)
20
21 bin_PROGRAMS = \
22 cygcheck \
23 cygwin-console-helper \
24 ldh \
25 strace
26
27 cygcheck_SOURCES = \
28 bloda.cc \
29 cygcheck.cc \
30 dump_setup.cc \
31 path.cc
32 cygcheck_CPPFLAGS=-I$(srcdir)/.. -idirafter ${top_srcdir}/cygwin/include
33 cygcheck_LDADD = -lz -lwininet -lpsapi -lntdll
34
35 cygwin_console_helper_SOURCES = cygwin-console-helper.cc
36
37 ldh_SOURCES = ldh.cc
38
39 strace_SOURCES = \
40 path.cc \
41 strace.cc
42 strace_CPPFLAGS=-I$(srcdir)/.. -idirafter ${top_srcdir}/cygwin -idirafter ${top_srcdir}/cygwin/include
43 strace_LDADD = -lntdll
44
45 noinst_PROGRAMS = path-testsuite
46
47 path_testsuite_SOURCES = \
48 path.cc \
49 testsuite.cc
50 path_testsuite_CPPFLAGS=-I$(srcdir)/.. -idirafter ${top_srcdir}/cygwin/include
51 path_testsuite_CXXFLAGS = -DTESTSUITE
52
53 TESTS = path-testsuite
This page took 0.035686 seconds and 5 git commands to generate.