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

https://github.com/audemard/glucose
09 May 2023, 15:45:59 UTC
  • Code
  • Branches (9)
  • Releases (0)
  • Visits
    • Branches
    • Releases
    • HEAD
    • refs/heads/glucose-reboot
    • refs/heads/main
    • refs/tags/1.0
    • refs/tags/2.0
    • refs/tags/2.1
    • refs/tags/3.0
    • refs/tags/4.0
    • refs/tags/4.1
    • refs/tags/4.2.1
    No releases to show
  • 605195b
  • /
  • sources
  • /
  • SatElite
  • /
  • ForMani
  • /
  • template.mak
Raw File Download
Take a new snapshot of a software origin

If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.

Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.
swh spinner

Processing "take a new snapshot" request ...

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
  • revision
  • snapshot
origin badgecontent badge Iframe embedding
swh:1:cnt:cb4ed9754990df3ce5280e2b327347c97d0cbc34
origin badgedirectory badge Iframe embedding
swh:1:dir:b43a33aeddf662003d30bfb95609139bdfc1b2aa
origin badgerevision badge
swh:1:rev:737142592828eadd3734da62f9db08ba4dc3c383
origin badgesnapshot badge
swh:1:snp:28e547ea0ad832adcfd63a2cee0fa00955eb6e69

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
  • revision
  • snapshot
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Tip revision: 737142592828eadd3734da62f9db08ba4dc3c383 authored by audemard on 09 May 2023, 09:11:03 UTC
Glucose 2.0
Tip revision: 7371425
template.mak
### This file assumes OPTIMIZE, OPTIMOR, INCLUDES, OBJS, GOBJS, EXEC, DEP_FILES to be defined.
### (OBJS are object files generated from ".C" files)


## Compilation:
##
COMPILE_STANDARD = -m32 -ggdb -D DEBUG $(OPTIMIZE) $(DEBUG) $(INCLUDES) $(FM_COPTS)
COMPILE_PROFILE	 = -m32 -pg -ggdb -D DEBUG $(OPTIMIZE) $(DEBUG) $(INCLUDES) $(FM_COPTS)
COMPILE_DEBUG	 = -m32 -ggdb -D DEBUG -D PARANOID -O0 $(DEBUG) $(INCLUDES) $(FM_COPTS)
COMPILE_RELEASE	 = -m32 -D NDEBUG -D RELEASE $(OPTIMORE) $(INCLUDES) $(FM_COPTS)
COMPILE_EXTRA	 = -m32 $(COMPILE_STANDARD) -cxxlib-icc

compile-C  = if [ "$(notdir $<)" = "$<" ] || extdir "$<"; then echo Compiling: $<; g++ -c -Wall $(COMPILE_STANDARD) -o $@ $<; else echo Compiling: $<; (if [ -e $(dir $<)/Makefile ]; then make -C $(dir $<) $(notdir $@); else make -f $(FM)/standard.mak -C $(dir $<) $(notdir $@); fi) ; fi
compile-Cp = if [ "$(notdir $<)" = "$<" ]; then echo Compiling profile: $<; g++ -c -Wall $(COMPILE_PROFILE) -o $@ $<; else echo Compiling profile: $<; (if [ -e $(dir $<)/Makefile ]; then make -C $(dir $<) $(notdir $@); else make -f $(FM)/standard.mak -C $(dir $<) $(notdir $@); fi) ; fi
compile-Cd = if [ "$(notdir $<)" = "$<" ]; then echo Compiling debug: $<; g++ -c -Wall $(COMPILE_DEBUG) -o $@ $<; else echo Compiling debug: $<; (if [ -e $(dir $<)/Makefile ]; then make -C $(dir $<) $(notdir $@); else make -f $(FM)/standard.mak -C $(dir $<) $(notdir $@); fi) ; fi
compile-Cr = if [ "$(notdir $<)" = "$<" ]; then echo Compiling release: $<; g++ -c -Wall $(COMPILE_RELEASE) -o $@ $<; else echo Compiling release: $<; (if [ -e $(dir $<)/Makefile ]; then make -C $(dir $<) $(notdir $@); else make -f $(FM)/standard.mak -C $(dir $<) $(notdir $@); fi) ; fi
compile-Cx = if [ "$(notdir $<)" = "$<" ]; then echo Compiling extra: $<; icc -c  $(COMPILE_EXTRA) -o $@ $<; else echo Compiling extra: $<; (if [ -e $(dir $<)/Makefile ]; then make -C $(dir $<) $(notdir $@); else make -f $(FM)/standard.mak -C $(dir $<) $(notdir $@); fi) ; fi

%.o: %.C
	@$(compile-C)
%.op: %.C
	@$(compile-Cp)
%.od: %.C
	@$(compile-Cd)
%.or: %.C
	@$(compile-Cr)
%.ox: %.C
	@$(compile-Cx)


%.C : %.def $(FM)/Bin/BuildOptions
	@echo Building : $(notdir $@)
	@$(FM)/Bin/BuildOptions $<

%.C : %.env $(FM)/Bin/BuildEnv
	@echo Building : $(notdir $@)
	@$(FM)/Bin/BuildEnv  $<

%.C : %.l
	@echo Flexing  : $(notdir $<)
	flex -o$@ -P$(basename $(notdir $<))_ $<


## Build/Clean:
##
LFLAGS = -m32 $(FM_LOPTS)  -L $(FM)/Lib $(addprefix -l, $(LIBS)) $(addprefix -l, $(CLIBS))
LIBFILES = $(addprefix $(FM)/Lib/lib, $(addsuffix .a, $(LIBS)))

$(EXEC) : $(OBJS) $(GOBJS) $(LIBFILES)
	@echo Linking...
	@g++ -ggdb -Wall $(OBJS) $(GOBJS) -o $(EXEC) $(LFLAGS)

$(EXEC)_purify : $(GOBJS) $(OBJS) $(LIBFILES)
	@echo Linking purify version...
	@purify g++ -ggdb -Wall $(GOBJS) $(OBJS) -o $(EXEC)_purify $(LFLAGS)

$(EXEC)_profile : $(addsuffix .op, $(basename $(GOBJS) $(OBJS))) $(LIBFILES)
	@echo Linking profile version...
	@g++ -ggdb -pg -Wall $(addsuffix .op, $(basename $(GOBJS) $(OBJS))) -o $(EXEC)_profile $(LFLAGS)

$(EXEC)_debug : $(addsuffix .od, $(basename $(GOBJS) $(OBJS))) $(LIBFILES)
	@echo Linking debug version...
	@g++ -ggdb -Wall $(addsuffix .od, $(basename $(GOBJS) $(OBJS))) -o $(EXEC)_debug $(LFLAGS)

$(EXEC)_release : $(addsuffix .or, $(basename $(GOBJS) $(OBJS))) $(LIBFILES)
	@echo Linking release version...
	g++ --static -O3 -Wall $(addsuffix .or, $(basename $(GOBJS) $(OBJS))) -o $(EXEC)_release $(LFLAGS)

$(EXEC)_extra : $(addsuffix .ox, $(basename $(GOBJS) $(OBJS))) $(LIBFILES)
	@echo Linking extra version...
	icc -cxxlib-icc --static -ggdb $(addsuffix .ox, $(basename $(GOBJS) $(OBJS))) -o $(EXEC)_extra $(LFLAGS)

.PHONY : purify
pure: $(EXEC)_purify
.PHONY : p
p: $(EXEC)_profile
.PHONY : d
d: $(EXEC)_debug
.PHONY : r
r: $(EXEC)_release
.PHONY : x
x: $(EXEC)_extra

.PHONY : clean
clean:
	@rm -f $(CLEAN) depend.mak \
	       $(EXEC) $(EXEC)_purify $(EXEC)_profile $(EXEC)_debug $(EXEC)_release \
	       $(OBJS) \
	       $(addsuffix .op, $(basename $(OBJS))) \
	       $(addsuffix .od, $(basename $(OBJS))) \
	       $(addsuffix .or, $(basename $(OBJS))) \
	       $(addsuffix .ox, $(basename $(OBJS))) 

.PHONY : realclean
realclean:
	@rm -f $(CLEAN) depend.mak \
	       $(EXEC) $(EXEC)_purify $(EXEC)_profile $(EXEC)_debug $(EXEC)_release \
	       $(GOBJS) $(OBJS) \
	       $(addsuffix .op, $(basename $(GOBJS) $(OBJS))) \
	       $(addsuffix .od, $(basename $(GOBJS) $(OBJS))) \
	       $(addsuffix .or, $(basename $(GOBJS) $(OBJS))) \
	       $(addsuffix .ox, $(basename $(GOBJS) $(OBJS))) 


## Dependencies:
##
define make-depend
	@echo "Generating dependencies"
	@g++ -MM $(FM_COPTS) $(INCLUDES) $(addsuffix .C, $(basename $(OBJS) $(GOBJS))) > dummy.mak
	@cp dummy.mak depend.mak
	@sed "s/o:/op:/" dummy.mak >> depend.mak
	@sed "s/o:/od:/" dummy.mak >> depend.mak
	@sed "s/o:/or:/" dummy.mak >> depend.mak
	@sed "s/o:/ox:/" dummy.mak >> depend.mak
	@rm -f dummy.mak 
endef

.PHONY : depend
depend : $(DEP_FILES)
	$(make-depend)

depend.mak : $(DEP_FILES)
	$(make-depend)

include depend.mak

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