Skip to content

Warning from not following automake naming structure #140

@yanyh15

Description

@yanyh15

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions