Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

  • 31424c6
  • /
  • Scripts
  • /
  • Makefile.in
Raw File Download

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
swh:1:cnt:c3f51b996a21e43c8dd850fff2fb0db61d0a13f5
directory badge
swh:1:dir:b1342126a4d6472fad3f6575a53883ef3afe21f6

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Makefile.in
# -----------------------------------------------------------------------------
# CMake project wrapper Makefile ----------------------------------------------
# -----------------------------------------------------------------------------
# This file is automatically generated from the template in Scripts/Makefile.in 
# Make any changes needed to the template.

SHELL := /bin/bash
RM    := rm -rf
MKDIR := mkdir -p
BUILDROOT := @ZIRAN_SOURCE_DIR@/Build
BUILDDEFAULT := Release
RELATIVEPATH := @ZIRAN_RELATIVE_PATH@
BUILDDIR = $(BUILDROOT)/$(BUILDDEFAULT)/$(RELATIVEPATH)
ROOTDIR := @ZIRAN_SOURCE_DIR@
BUILDTYPES := Release MinSizeRel Debug Coverage RelWithDebInfo Quick
OTHERGOALS := $(filter-out distclean $(BUILDTYPES),$(MAKECMDGOALS))

# Call make from build directory
.PHONY: all
all: $(BUILDROOT)/$(BUILDDEFAULT)/$(RELATIVEPATH)/Makefile
	@ $(MAKE) -s -C $(BUILDDIR) $(MAKEFLAGS) $(OTHERGOALS)

# Call make from build directory
.PHONY: Release
Release: BUILDDIR = $(BUILDROOT)/Release/$(RELATIVEPATH)
Release: $(BUILDROOT)/Release/$(RELATIVEPATH)/Makefile
	@ $(MAKE) -s -C $(BUILDDIR) $(MAKEFLAGS) $(OTHERGOALS)

# Call make from build directory
.PHONY: MinSizeRel
MinSizeRel: BUILDDIR = $(BUILDROOT)/MinSizeRel/$(RELATIVEPATH)
MinSizeRel: $(BUILDROOT)/MinSizeRel/$(RELATIVEPATH)/Makefile
	@ $(MAKE) -s -C $(BUILDDIR) $(MAKEFLAGS) $(OTHERGOALS)

# Call make from build directory
.PHONY: RelWithDebInfo
RelWithDebInfo: BUILDDIR = $(BUILDROOT)/RelWithDebInfo/$(RELATIVEPATH)
RelWithDebInfo: $(BUILDROOT)/RelWithDebInfo/$(RELATIVEPATH)/Makefile
	@ $(MAKE) -s -C $(BUILDDIR) $(MAKEFLAGS) $(OTHERGOALS)

# Call make from build directory
.PHONY: Debug
Debug: BUILDDIR = $(BUILDROOT)/Debug/$(RELATIVEPATH)
Debug: $(BUILDROOT)/Debug/$(RELATIVEPATH)/Makefile
	@ $(MAKE) -s -C $(BUILDDIR) $(MAKEFLAGS) $(OTHERGOALS)

# Call make from build directory
.PHONY: Coverage
Coverage: BUILDDIR = $(BUILDROOT)/Coverage/$(RELATIVEPATH)
Coverage: $(BUILDROOT)/Coverage/$(RELATIVEPATH)/Makefile
	@ $(MAKE) -s -C $(BUILDDIR) $(MAKEFLAGS) $(OTHERGOALS)

# Call make from build directory
.PHONY: Quick
Quick: BUILDDIR = $(BUILDROOT)/Quick/$(RELATIVEPATH)
Quick: $(BUILDROOT)/Quick/$(RELATIVEPATH)/Makefile
	@ $(MAKE) -s -C $(BUILDDIR) $(MAKEFLAGS) $(OTHERGOALS)


# Make build directory and call cmake
$(BUILDROOT)/%/$(RELATIVEPATH)/Makefile:
	@ ($(MKDIR) $(BUILDROOT)/$* > /dev/null)
	@ (cd $(BUILDROOT)/$* > /dev/null 2>&1 && cmake -DCMAKE_BUILD_TYPE=$* $(ROOTDIR))

# for all other goals pass them down to make in the build directory
ifeq ($(filter $(BUILDTYPES),$(MAKECMDGOALS)),)

$(OTHERGOALS): $(BUILDDIR)/Makefile
	@ $(MAKE) -s -C $(BUILDDIR) $(MAKEFLAGS) $(OTHERGOALS)
else

$(OTHERGOALS): 
	@true
endif

back to top

Software Heritage — Copyright (C) 2015–2025, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API