passlab / rexompiler

REX OpenMP Compiler
https://passlab.github.io/rexompiler/
Other
1 stars 1 forks source link

Warning from not following automake naming structure #140

Open yanyh15 opened 1 year ago

yanyh15 commented 1 year ago

automake requires a uniform naming structures for the variables in Makefile.am. If not followed, there will be warning to create Makefile by automake/autoconf, see below. it is not an issue, but an annoying warning that fills in the screen making it hard to look for useful msgs. E.g. by seeing ROSEBIN_LDFLAGS, automake expects ROSEBIN is a name that is already defined for a program. In the program, they are actually considered as regular Makefile variable, thus the fix will be simple chaning the variable name to not follow automake convention if we do not want them to, E.g. change ROSEBIN_LDFLAGS to LDFLAGS_ROSEBIN (did not test this though).

src/Makefile.am:351: warning: variable 'ROSEBIN_LDFLAGS' is defined but no program or
    src/Makefile.am:351: library has 'ROSEBIN' as canonical name (possible typo)
    src/Makefile.am:352: warning: variable 'ROSEBIN_DEPENDENCIES' is defined but no program or
    src/Makefile.am:352: library has 'ROSEBIN' as canonical name (possible typo)
    src/frontend/CxxFrontend/Clang/Makefile.am:40: warning: variable 'libClangToDot_la_LDFLAGS' is defined but no program or
    src/frontend/CxxFrontend/Clang/Makefile.am:40: library has 'libClangToDot_la' as canonical name (possible typo)
    src/frontend/CxxFrontend/EDG/EDG_5.0/src/Makefile.am:82: warning: variable 'cp_gen_be_SOURCES' is defined but no program or
    src/frontend/CxxFrontend/EDG/EDG_5.0/src/Makefile.am:82: library has 'cp_gen_be' as canonical name (possible typo)