1 # Copyright (C) 2003-2022 Free Software Foundation, Inc. 2 # 3 # This file is part of GCC. 4 # 5 # GCC is free software; you can redistribute it and/or modify 6 # it under the terms of the GNU General Public License as published by 7 # the Free Software Foundation; either version 3, or (at your option) 8 # any later version. 9 # 10 # GCC is distributed in the hope that it will be useful, 11 # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 # GNU General Public License for more details. 14 # 15 # You should have received a copy of the GNU General Public License 16 # along with GCC; see the file COPYING3. If not see 17 # <http://www.gnu.org/licenses/>. 18 # 19 # 20 # Make local_includedir relative to EXEC_PREFIX 21 # 22 local_includedir=$(libsubdir)/$(unlibsubdir)/..`echo $(exec_prefix) | sed -e 's|^$(prefix)||' -e 's|/[^/]*|/..|g'`/include 23 24 # On MinGW, we use "%IA64d" to print 64-bit integers, and the format-checking 25 # code does not handle that, so we have to disable checking here. 26 WERROR_FLAGS += -Wno-format 27 28 host-mingw32.o : $(srcdir)/config/i386/host-mingw32.cc $(CONFIG_H) $(SYSTEM_H) \ 29 coretypes.h hosthooks.h hosthooks-def.h toplev.h $(DIAGNOSTIC_H) $(HOOKS_H) 30 $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \ 31 $(srcdir)/config/i386/host-mingw32.cc 32 33 driver-mingw32.o : $(srcdir)/config/i386/driver-mingw32.cc $(CONFIG_H) 34 $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $< 35