-
Notifications
You must be signed in to change notification settings - Fork 17
/
Makefile.am
44 lines (37 loc) · 1.39 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = doc include src test
dist_doc_DATA = AUTHORS ChangeLog INSTALL LICENSE README.md
EXTRA_DIST = libica.map libica.spec
DISTCLEANFILES = *~
MAINTAINERCLEANFILES = test-driver \
Makefile.in aclocal.m4 compile configure config.guess \
config.sub depcomp install-sh ltmain.sh m4/* missing \
depcomp ylwrap
MAJOR := `echo $(VERSION) | cut -d. -f1`
coverage: check
@echo -e "\n-----------------";
@echo -e "icastats coverage";
@echo -e "-----------------\n";
cd ${top_builddir}/src && gcov *.gcda
@echo -e "\n---------------";
@echo -e "libica coverage";
@echo -e "---------------\n";
cd ${top_builddir}/src && gcov .libs/*.gcda
if ICA_FIPS
fipsinstall:
$(AM_V_GEN)$(MAKE) -C src fipsinstall
if ICA_OPENSSL3
test -f $(DESTDIR)$(sysconfdir)/libica || $(MKDIR_P) $(DESTDIR)$(sysconfdir)/libica
test -f $(DESTDIR)$(sysconfdir)/libica/openssl3-fips.cnf || $(INSTALL) -m 644 ${top_builddir}/src/openssl3-fips.cnf $(DESTDIR)$(sysconfdir)/libica/openssl3-fips.cnf || true
endif
uninstall-hook:
rm -f $(DESTDIR)$(libdir)/.libica.so.$(MAJOR).hmac
rm -f $(DESTDIR)$(libdir)/.libica.so.$(VERSION).hmac
rm -f $(DESTDIR)$(libdir)/.libica-cex.so.$(MAJOR).hmac
rm -f $(DESTDIR)$(libdir)/.libica-cex.so.$(VERSION).hmac
if ICA_OPENSSL3
rm -f $(sysconfdir)/libica/openssl3-fips.cnf
if [ -d $(sysconfdir)/libica ]; then rm -rf $(sysconfdir)/libica; fi
endif
endif
.PHONY: fipsinstall