diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2023-06-29 00:06:20 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2023-06-29 00:06:20 +0200 |
commit | 034b64f4153550cbe5849bcbfc27e187377cc512 (patch) | |
tree | d831496163c3891031765010bf1934406b0c4a3c /src/Makefile | |
parent | 502ab9112a7624dbd7c1c90c2e12ed45512b8b3c (diff) | |
download | VeraCrypt-034b64f4153550cbe5849bcbfc27e187377cc512.tar.gz VeraCrypt-034b64f4153550cbe5849bcbfc27e187377cc512.zip |
EMV keyfile support: Overall code improvements and bug fixes
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile index 53e460b6..f6ec5041 100644 --- a/src/Makefile +++ b/src/Makefile @@ -190,9 +190,9 @@ ifeq "$(shell uname -s)" "Linux" PLATFORM := Linux C_CXX_FLAGS += -DTC_UNIX -DTC_LINUX - # TODO: Prpoper implementation in the makefile - C_CXX_FLAGS += -I/usr/include/PCSC/ -lpcsclite - LFLAGS += -I/usr/include/PCSC/ -lpcsclite + + # PCSC + C_CXX_FLAGS += $(shell pkg-config --cflags libpcsclite) # GNU GCC version 11 and higher compile with -std=gnu++17 by default @@ -367,6 +367,9 @@ ifeq "$(shell uname -s)" "FreeBSD" PLATFORM := FreeBSD PLATFORM_UNSUPPORTED := 1 C_CXX_FLAGS += -DTC_UNIX -DTC_BSD -DTC_FREEBSD + + # PCSC + C_CXX_FLAGS += $(shell pkg-config --cflags libpcsclite) CC := cc CXX := c++ @@ -424,6 +427,9 @@ ifeq "$(shell uname -s)" "OpenBSD" PLATFORM_UNSUPPORTED := 1 C_CXX_FLAGS += -DTC_UNIX -DTC_BSD -DTC_OPENBSD + # PCSC + C_CXX_FLAGS += $(shell pkg-config --cflags libpcsclite) + CC := cc CXX := c++ @@ -446,6 +452,9 @@ ifeq "$(shell uname -s)" "SunOS" C_CXX_FLAGS += -DTC_UNIX -DTC_SOLARIS WX_CONFIGURE_FLAGS += --with-gtk + # PCSC + C_CXX_FLAGS += $(shell pkg-config --cflags libpcsclite) + endif |