comparison libcc1/Makefile.am @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children 1830386684a0
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
1 ## Copyright (C) 2014-2017 Free Software Foundation, Inc. 1 ## Copyright (C) 2014-2018 Free Software Foundation, Inc.
2 2
3 ## This file is part of GCC. 3 ## This file is part of GCC.
4 4
5 ## GCC is free software; you can redistribute it and/or modify it under 5 ## GCC is free software; you can redistribute it and/or modify it under
6 ## the terms of the GNU General Public License as published by the Free 6 ## the terms of the GNU General Public License as published by the Free
43 if ENABLE_PLUGIN 43 if ENABLE_PLUGIN
44 plugin_LTLIBRARIES = libcc1plugin.la libcp1plugin.la 44 plugin_LTLIBRARIES = libcc1plugin.la libcp1plugin.la
45 cc1lib_LTLIBRARIES = libcc1.la 45 cc1lib_LTLIBRARIES = libcc1.la
46 endif 46 endif
47 47
48 BUILT_SOURCES = c-compiler-name.h cp-compiler-name.h
49 MOSTLYCLEANFILES = c-compiler-name.h cp-compiler-name.h
50
51 # Put this in a header so we don't run sed for each compilation. This
52 # is also simpler to debug as one can easily see the constant.
53 # FIXME: compute it in configure.ac and output it in config.status, or
54 # introduce timestamp files for some indirection to avoid rebuilding it
55 # every time.
56 c-compiler-name.h: Makefile
57 -rm -f $@T
58 echo "#define C_COMPILER_NAME \"`echo gcc | sed '$(transform)'`\"" > $@T
59 mv $@T $@ # $(SHELL) $(srcdir)/../move-if-change $@T $@
60
61 cp-compiler-name.h: Makefile
62 -rm -f $@T
63 echo "#define CP_COMPILER_NAME \"`echo g++ | sed '$(transform)'`\"" > $@T
64 mv $@T $@ # $(SHELL) $(srcdir)/../move-if-change $@T $@
65
66 shared_source = callbacks.cc callbacks.hh connection.cc connection.hh \ 48 shared_source = callbacks.cc callbacks.hh connection.cc connection.hh \
67 marshall.cc marshall.hh rpc.hh status.hh 49 marshall.cc marshall.hh rpc.hh status.hh
68 50
69 marshall_c_source = marshall-c.hh 51 marshall_c_source = marshall-c.hh
70 marshall_cxx_source = marshall-cp.hh 52 marshall_cxx_source = marshall-cp.hh