Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Libraries

    makepp_statements 2.0 RC2

    Download button

    No screenshots available
    Downloads: 353  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Gary Holt | More programs
    Perl Artistic License / FREE
    March 5th, 2012, 20:59 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    makepp_statements description

    makepp_statements Perl package contains various statements in a makefile.

    makepp_statements Perl package contains various statements in a makefile.

    and, build_cache, "build_check", define, else, enddef, endef, endif, "export", global, ifdef, "ifeq", "ifmakeperl", ifndef, ifneq, ifnsys, "ifperl", "ifsys", "include", "_include", load_makefile, make, perl, "makesub", no_implicit_load, or, perl, "perl_begin", perl_end, "prebuild", register_scanner, "register_command_parser", "register_input_suffix", repository, "runtime", signature, "sub"

    A statement is any line beginning with a word which does not have a : in it. (A colon implies that the line is a rule.) For example, these are statements:

    include extra_rules.mk
    load_makefile subdir

    Makepp has a number of builtin statements which you may occasionally need to use.

    Note that wherever you see an underscore, you may also use a dash, because makepp converts dashes to underscores in statement names.

    Conditionals

    Conditionals are special statements, which control what lines of the Makeppfile are actually seen. The simplest form (where ifxxx stands for any of the conditional statements documented below) is:

    ifxxx ...
    lines seen if the statement evaluates as true
    endif

    or:

    ifxxx ...
    lines seen if the statement evaluates as true
    else
    lines seen if the statement evaluates as false
    endif

    There is also the possibility to do complex combinations like this:

    ifxxx ...
    and ifxxx ...
    and ifxxx ...
    or ifxxx ...
    and ifxxx ...
    lines seen if the combined statements evaluate as true
    else ifxxx ...
    or ifxxx ...
    and ifxxx ...
    lines seen if the first combination evaluates as false
    and these combined statements evaluate as true
    else
    lines seen if the statements above evaluate as false
    endif

    As is suggested by the indentation, and has higher precedence than or. In other words an or elects between two groups of and`s. There may be any number of and ifxxx`s, or ifxxx`s and else ifxxx`s.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    make statements | makefile statements | Perl module | makepp_statements | make | makefile

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM