Skip to main content
  • Home
  • login
  • Browse the archive

    swh mirror partner logo
swh logo
SoftwareHeritage
Software
Heritage
Mirror
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

  • fb94af3
  • /
  • domd.in
Raw File
Permalinks

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
content badge Iframe embedding
swh:1:cnt:1569c35eba2df5ac7b98d297779fc683312aebd0
directory badge Iframe embedding
swh:1:dir:fb94af3f664955d4e3331038c67d07e9a1435bc5
domd.in
#!/bin/sh
## Wrapper to portably run makedepend or equivalent compiler built-in.
## Runs on Makefile.in, generates Makefile
## {- join("\n## ", @autowarntext) -}

{- "MAKEDEPEND=" . quotify1($config{makedepprog}) -}

case "${MAKEDEPEND}" in
cat)
    ;;
makedepend)
    ${MAKEDEPEND} $@ || exit 1
    ;;
*)
    args="-Werror -MM"
    while [ $# -gt 0 ]; do
        if [ "$1" != '--' ] ; then
            args="$args $1"
        fi
        shift
    done
    sed -e '/DO NOT DELETE THIS LINE/q' Makefile >Makefile.tmp
    ${MAKEDEPEND} $args >>Makefile.tmp || exit 1
    mv Makefile.tmp Makefile
    ;;
esac

ENEA — Copyright (C), ENEA. License: GNU AGPLv3+.
Legal notes  ::  JavaScript license information ::  Web API

back to top