A simple Qt based browser with no bullshit that supports PKCS#11 tokens (such as the SuisseID).
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
|
|
# User servicable parts, place the location of the target architecture's
|
|
|
|
# OpenSSL Include and libraries here as well as the common path to the actlibrary.
|
|
|
|
OPENSSL_LIBDIR=/usr/lib/
|
|
|
|
OPENSSL_INCDIR=/usr/include/
|
|
|
|
ACTLIB_ROOT=../actlib
|
|
|
|
|
|
|
|
CXXFLAGS=-pthread -g -O0 -DDEBUG
|
|
|
|
|
|
|
|
|
|
|
|
INCDIRS=-I$(ACTLIB_ROOT)/include/ -I$(OPENSSL_INCDIR)
|
|
|
|
|
|
|
|
LIBS=-L$(OPENSSL_LIBDIR) -L$(ACTLIB_ROOT)/ -lact -ldl -lcrypto -lpthread
|
|
|
|
OBJS=engine_front.o engine_sct.o CardObject.o CardKey.o SlotList.o CertificateList.o SecOpGuard.o
|
|
|
|
TARGET=libengine_act.so
|
|
|
|
|
|
|
|
TESTOBJS=test_engine.o
|
|
|
|
TESTTARGET=test_engine
|
|
|
|
TESTLIBS=$(OPENSSL_LIBDIR) -lcrypto -lssl -ldl -lpthread
|
|
|
|
|
|
|
|
|
|
|
|
all: $(TARGET)
|
|
|
|
|
|
|
|
test: $(TESTTARGET)
|
|
|
|
clean:
|
|
|
|
rm -f *.o $(TARGET) $(TESTTARGET)
|
|
|
|
|
|
|
|
$(TARGET): $(OBJS)
|
|
|
|
$(CXX) --shared -o $(TARGET) $(OBJS) $(LIBS)
|
|
|
|
|
|
|
|
$(TESTTARGET): $(TESTOBJS)
|
|
|
|
$(CXX) -o $(TESTTARGET) $(TESTOBJS) $(TESTLIBS)
|
|
|
|
|
|
|
|
.cpp.o:
|
|
|
|
$(CXX) -c $(CXXFLAGS) $(INCDIRS) $<
|
|
|
|
|
|
|
|
.c.o:
|
|
|
|
$(CC) -c $(CFLAGS) $(INCDIRS) $<
|
|
|
|
|
|
|
|
|