Giter Club home page Giter Club logo

ali2dep's Introduction

Make dependency generator

Ali2dep generates make dependencies from an ALI file generated by GNAT. When called on an .ali file, the dependencies are generated in a .d file with the same base name. The .d files can be included in a Makefile to facilitate rebuild when dependencies change and gprbuild or gnatmake are not used.

As no path information is conatained within ALI files, search paths must be passed to ali2dep before the actual .ali file on the command line. The program exits with an error in case a source file could not be found in any of the search paths.

ali2dep's People

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

cproc

ali2dep's Issues

Spec file dependencies missing

Dependencies between body and spec file are not generated. Consequently, when the .ads file is modified without also modifying the .adb the source is not recompiled.

The .d files do not state the dependency between spec and body. If we find a body for the current .ali we need to generate such a rule.

Create dependency wrapper for GNAT

make dependencies should be created by a wrapper around GNAT which runs the compiler, parses the .ali file and writes the output to the dependency file specified by -MF.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.