Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning from not following automake naming structure #140

Open
yanyh15 opened this issue Dec 25, 2022 · 0 comments
Open

Warning from not following automake naming structure #140

yanyh15 opened this issue Dec 25, 2022 · 0 comments

Comments

@yanyh15
Copy link
Member

yanyh15 commented Dec 25, 2022

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant