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

  • 9344bff
  • /
  • demos
  • /
  • smime
  • /
  • Makefile
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:449efd627b9d2ecdfd6bed9015807e92d4d8a083
directory badge Iframe embedding
swh:1:dir:b3b48bcb20b8f736837f41c406d429250d6a20a4
Makefile
#
# To run the demos when linked with a shared library (default) ensure that
# libcrypto is on the library path. For example, to run the
# sm_enc demo:
#
#    LD_LIBRARY_PATH=../.. ./sms_enc

TESTS = smenc \
        smdec \
        smsign \
        smsign2 \
        smver

CFLAGS  = -I../../include -g -Wall
LDFLAGS = -L../..
LDLIBS  = -lcrypto

all: $(TESTS)

smenc: smenc.o
smdec: smdec.o
smsign: smsign.o
smsign2: smsign2.o
smver: smver.o

$(TESTS):
	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LDLIBS)

clean:
	$(RM) $(TESTS) *.o

test: all
	@echo "\nS/MIME tests:"
	LD_LIBRARY_PATH=../.. ./smenc
	LD_LIBRARY_PATH=../.. ./smdec
	LD_LIBRARY_PATH=../.. ./smsign2
	LD_LIBRARY_PATH=../.. ./smver

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

back to top