42 pics/sha256-x86_64.o \
43 pics/sha1-x86_64.o \
44 $(CAPFILES:%.o=%.o.symcap)
45
46 CLEANFILES += $(EXTPICS) \
47 $(EXTPICS:pics/%.o=%.s) \
48 $(CAPFILES) \
49 $(CAPFILES:%.o=%.o.objcap) \
50 $(CAPFILES:%.o=%.o.symcap)
51
52 pics/sha1-ni.o.objcap := CAPFILE = capabilities/sha.cap
53 pics/sha256-ni.o.objcap := CAPFILE = capabilities/sha.cap
54
55 # This prevents <sys/asm_linkage.h> from including C source:
56 AS_CPPFLAGS += -D_ASM
57
58 .KEPP_STATE:
59
60 all: $(LIBS)
61
62 install: all $(ROOTLIBS64) $(ROOTLINKS64) $(ROOTLINT64)
63
64 lint: lintcheck
65
66 pics/%.o: %.s
67 $(COMPILE.s) -o $@ ${@F:.o=.s}
68 $(POST_PROCESS_O)
69
70 pics/%.o: $(SRC)/common/crypto/sha1/amd64/%.s
71 $(COMPILE.s) -o $@ $<
72 $(POST_PROCESS_O)
73
74 pics/%.o: $(SRC)/common/crypto/sha2/amd64/%.s
75 $(COMPILE.s) -o $@ $<
76 $(POST_PROCESS_O)
77
78 pics/%.o.objcap: pics/%.o
79 $(LD) -r -o $@ -M$(CAPFILE) -Breduce $<
80 $(POST_PROCESS_O)
81
82 pics/%.o.symcap: pics/%.o.objcap
|
42 pics/sha256-x86_64.o \
43 pics/sha1-x86_64.o \
44 $(CAPFILES:%.o=%.o.symcap)
45
46 CLEANFILES += $(EXTPICS) \
47 $(EXTPICS:pics/%.o=%.s) \
48 $(CAPFILES) \
49 $(CAPFILES:%.o=%.o.objcap) \
50 $(CAPFILES:%.o=%.o.symcap)
51
52 pics/sha1-ni.o.objcap := CAPFILE = capabilities/sha.cap
53 pics/sha256-ni.o.objcap := CAPFILE = capabilities/sha.cap
54
55 # This prevents <sys/asm_linkage.h> from including C source:
56 AS_CPPFLAGS += -D_ASM
57
58 .KEPP_STATE:
59
60 all: $(LIBS)
61
62 install: all $(ROOTLIBS64) $(ROOTLINKS64) $(ROOTLINT64) $(ROOTCOMPATLINKS64)
63
64 lint: lintcheck
65
66 pics/%.o: %.s
67 $(COMPILE.s) -o $@ ${@F:.o=.s}
68 $(POST_PROCESS_O)
69
70 pics/%.o: $(SRC)/common/crypto/sha1/amd64/%.s
71 $(COMPILE.s) -o $@ $<
72 $(POST_PROCESS_O)
73
74 pics/%.o: $(SRC)/common/crypto/sha2/amd64/%.s
75 $(COMPILE.s) -o $@ $<
76 $(POST_PROCESS_O)
77
78 pics/%.o.objcap: pics/%.o
79 $(LD) -r -o $@ -M$(CAPFILE) -Breduce $<
80 $(POST_PROCESS_O)
81
82 pics/%.o.symcap: pics/%.o.objcap
|