File: makefile.shared

package info (click to toggle)
dropbear 0.45-2sarge0
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 6,248 kB
  • ctags: 4,782
  • sloc: ansic: 53,626; sh: 2,703; makefile: 510; perl: 427; asm: 30
file content (19 lines) | stat: -rw-r--r-- 473 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# make test harness, it is good.
CFLAGS += -Wall -W -Os -I../../ -I./

# if you're not debugging
CFLAGS += -fomit-frame-pointer

default: test

#if you don't have mpi.o 
#MPISHARED=-ltommath

OBJECTS=test.o cipher_hash_test.o mac_test.o modes_test.o \
pkcs_1_test.o store_test.o rsa_test.o ecc_test.o dsa_test.o dh_tests.o der_tests.o 

test: $(OBJECTS)
	libtool --mode=link gcc $(CFLAGS) $(OBJECTS) -o test -ltomcrypt $(MPISHARED)
	
clean:
	rm -f test *.o *.obj *.exe *~