mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-01 12:00:35 +08:00
247ce0ca3a
v2: * Include tzmap.h in BUILT_SOURCES * Make per-file flags appear after user-supplied CXXFLAGS, so they can override optimization level. * Correct .o files used to define symbols exported by libm.a * Drop gcrt0.o mistakenly included in libgmon.a * Add missing line continuations in GMON_FILES value v3: * use per-file flags for .c compilation * override C{XX,}FLAGS, as they are set on the command line by top-level make v4: * Drop -Wno-error=write-strings from path_testsuite CXXFLAGS v5: * Update for changes in master - Add -fno-threadsafe-statics to CXX flags - Add hypotl.cc - Remove fenv.cc (in favour of newlib), add fenv.c stub - Add proc.5 manpage rules
51 lines
1.1 KiB
Makefile
51 lines
1.1 KiB
Makefile
# Makefile for Cygwin utilities
|
|
|
|
# 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.
|
|
|
|
# We put utilities built with a MinGW compiler in a separate Makefile here
|
|
# because it's tricky with Automake to use different compilers for the same
|
|
# language in the same Makefile.
|
|
|
|
override CXX = @MINGW_CXX@
|
|
INCLUDES =
|
|
|
|
include $(top_srcdir)/Makefile.am.common
|
|
|
|
CFLAGS_COMMON=-Wimplicit-fallthrough=4 -Werror
|
|
AM_CXXFLAGS=-fno-exceptions -fno-rtti -fno-use-cxa-atexit $(flags_common) $(CFLAGS_COMMON)
|
|
|
|
bin_PROGRAMS = \
|
|
cygcheck \
|
|
cygwin-console-helper \
|
|
ldh \
|
|
strace
|
|
|
|
cygcheck_SOURCES = \
|
|
../bloda.cc \
|
|
../cygcheck.cc \
|
|
../dump_setup.cc \
|
|
../path.cc
|
|
cygcheck_LDADD = -lz -lwininet -lpsapi -lntdll
|
|
|
|
cygwin_console_helper_SOURCES = ../cygwin-console-helper.cc
|
|
|
|
ldh_SOURCES = ../ldh.cc
|
|
|
|
strace_SOURCES = \
|
|
../path.cc \
|
|
../strace.cc
|
|
strace_LDADD = -lntdll
|
|
|
|
noinst_PROGRAMS = path-testsuite
|
|
|
|
path_testsuite_SOURCES = \
|
|
../path.cc \
|
|
../testsuite.cc
|
|
path_testsuite_CXXFLAGS = -DTESTSUITE
|
|
|
|
TESTS = path-testsuite
|