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/Unipisa/CMM
13 July 2022, 09:41:13 UTC
  • Code
  • Branches (2)
  • Releases (8)
  • Visits
    • Branches
    • Releases
    • HEAD
    • refs/heads/SourceCode
    • refs/heads/master
    • 1.9
    • 1.8
    • 1.7
    • 1.6
    • 1.5
    • 1.4
    • 1.3
    • 1.1
  • db1a798
  • /
  • cmm
  • /
  • Makefile
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 ...

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
  • revision
  • snapshot
  • release
origin badgecontent badge Iframe embedding
swh:1:cnt:171548dbd88a0910e09af005d629fc8cb2c661fc
origin badgedirectory badge Iframe embedding
swh:1:dir:78af2ccbb0a8bb0b518d4ba147a0eec0624b1f97
origin badgerevision badge
swh:1:rev:55778ad8b99c136e1886959c1f1333c776df14e1
origin badgesnapshot badge
swh:1:snp:4ac4ed834489429d51fc0fd004f10ddbf78d807a
origin badgerelease badge
swh:1:rel:a6a00f689665e8e5b730fb4706b03c463146259a
Citations

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
  • release
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 ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Tip revision: 55778ad8b99c136e1886959c1f1333c776df14e1 authored by Giuseppe Attardi on 15 May 1997, 06:24:54 UTC
1.8 -
Tip revision: 55778ad
Makefile
#
#  Copyright (C) 1993 Tito Flagella.
#
#  This file is part of the POSSO Customizable Memory Manager (CMM).
#
#  Permission to use, copy, and modify this software and its documentation is
#  hereby granted only under the following terms and conditions.  Both the
#  above copyright notice and this permission notice must appear in all copies
#  of the software, derivative works or modified versions, and any portions
#  thereof, and both notices must appear in supporting documentation.
# 
#  Users of this software agree to the terms and conditions set forth herein,
#  and agree to license at no charge to all parties under these terms and
#  conditions any derivative works or modified versions of this software.
#  
#  This software may be distributed (but not offered for sale or transferred
#  for compensation) to third parties, provided such third parties agree to
#  abide by the terms and conditions of this notice.  
#  
#  THE SOFTWARE IS PROVIDED "AS IS" AND THE COPYRIGHT HOLDERS DISCLAIM ALL
#  WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF
#  MERCHANTABILITY AND FITNESS.   IN NO EVENT SHALL THE COPYRIGHT HOLDERS
#  BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR
#  ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
#  IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
#  OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#
#
#  USER GUIDE
#  The most useful targets in this make file are:
#  "test"  compiles and runs all tests (listed in TESTS) reporting which
#        ones succeeded and which failed.
#  "clean"  removes all object code from this directory.

CFLAGS	= -O2
CC	= g++

HFILES = machine.h cmm.h

OBJS = 	cmm.o tempheap.o msw.o memory.o

TESTS = test2 test3 test4 test5 test6 test7 test8 testmsw1 testmsw2 testmsw3

all: libCmm.a

debug:
	make CFLAGS="-UNDEBUG -g" all

test : ${TESTS}
	 @for i in ${TESTS}; do  \
	   ( echo "Running " ./$$i "..."; \
	     ./$$i >tests.out 2>&1 ;  \
	   )                    \
	done

libCmm.a: $(OBJS)
	ar ru libCmm.a $(OBJS)
	ranlib libCmm.a

cmm.o: cmm.cpp $(HFILES)
	$(CC) $(CFLAGS) -c cmm.cpp

memory.o: memory.cpp $(HFILES)
	$(CC) $(CFLAGS) -c memory.cpp

tempheap.o: tempheap.cpp tempheap.h $(HFILES)
	$(CC) $(CFLAGS) -c tempheap.cpp

msw.o: msw.cpp msw.h $(HFILES)
	$(CC) $(CFLAGS) -c msw.cpp

test2:	test2.cpp libCmm.a
	$(CC) $(CFLAGS) -o test2 test2.cpp libCmm.a
test3:	test3.cpp libCmm.a
	$(CC) $(CFLAGS) -o test3 test3.cpp libCmm.a
test4:	test4.cpp libCmm.a
	$(CC) $(CFLAGS) -o test4 test4.cpp libCmm.a 
test5:	test5.cpp libCmm.a
	$(CC) $(CFLAGS) -o test5 test5.cpp libCmm.a 
test6:	test6.cpp libCmm.a
	$(CC) $(CFLAGS) -o test6 test6.cpp libCmm.a 
test7:	test7.cpp libCmm.a
	$(CC) $(CFLAGS) -o test7 test7.cpp libCmm.a 
test8:	test8.cpp libCmm.a
	$(CC) $(CFLAGS) -o test8 test8.cpp libCmm.a 
testmsw1: testmsw1.c libCmm.a
	$(CC) $(CFLAGS) -g -o testmsw1 testmsw1.c libCmm.a
testmsw2: testmsw2.c libCmm.a
	$(CC) $(CFLAGS) -g -o testmsw2 testmsw2.c libCmm.a
testmsw3: testmsw3.cpp libCmm.a
	$(CC) $(CFLAGS) -o testmsw3 testmsw3.cpp libCmm.a
clean:
	/bin/rm -rf *.o $(TESTS) libCmm.a

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— Contact— JavaScript license information— Web API

back to top