Home | History | Annotate | Line # | Download | only in evp
      1  1.1  christos # Quick instruction:
      2  1.1  christos # To build against an OpenSSL built in the source tree, do this:
      3  1.1  christos #
      4  1.1  christos #    make OPENSSL_INCS_LOCATION=-I../../include OPENSSL_LIBS_LOCATION=-L../..
      5  1.1  christos #
      6  1.1  christos # To run the demos when linked with a shared library (default):
      7  1.1  christos #
      8  1.1  christos #    LD_LIBRARY_PATH=../.. ./aesccm
      9  1.1  christos #    LD_LIBRARY_PATH=../.. ./aesgcm
     10  1.1  christos 
     11  1.1  christos CFLAGS = $(OPENSSL_INCS_LOCATION)
     12  1.1  christos LDFLAGS = $(OPENSSL_LIBS_LOCATION) -lssl -lcrypto
     13  1.1  christos 
     14  1.1  christos all: aesccm aesgcm
     15  1.1  christos 
     16  1.1  christos aesccm: aesccm.o
     17  1.1  christos aesgcm: aesgcm.o
     18  1.1  christos 
     19  1.1  christos aesccm aesgcm:
     20  1.1  christos 	$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
     21  1.1  christos 
     22  1.1  christos clean:
     23  1.1  christos 	$(RM) aesccm aesgcm *.o
     24