|
|
|
## @id $Id$
|
|
|
|
|
|
|
|
## 1 2 3 4 5 6 7 8
|
|
|
|
## 45678901234567890123456789012345678901234567890123456789012345678901234567890
|
|
|
|
|
|
|
|
AM_CXXFLAGS += -I ${top_srcdir}/src -I ${top_srcdir}/../actlibrary/include
|
|
|
|
|
|
|
|
lib_LTLIBRARIES = libengine_act.la
|
|
|
|
noinst_PROGRAMS = test_engine
|
|
|
|
|
|
|
|
noinst_HEADERS = actUtility.h CardKey.h CardObject.h CertificateList.h \
|
|
|
|
engine_sct.h engine_sct_internal.h Init_Engine.h \
|
|
|
|
SecOpGuard.h SlotList.h stdafx.h SyncObject.h \
|
|
|
|
SyncObjectMacOS.h SyncObjectPosix.h \
|
|
|
|
SyncObjectSolaris.h SyncObjectWin32.h \
|
|
|
|
SyncObjectWinCE.h targetver.h Warns.h
|
|
|
|
|
|
|
|
libengine_act_la_SOURCES = engine_front.cpp engine_sct.cpp \
|
|
|
|
CardObject.cpp CardKey.cpp SlotList.cpp \
|
|
|
|
CertificateList.cpp SecOpGuard.cpp
|
|
|
|
libengine_act_la_LDFLAGS = -version-info @LIB_VERSION@
|
|
|
|
libengine_act_la_LIBADD = -lact -ldl -lssl
|
|
|
|
if WIN32
|
|
|
|
libengine_act_la_LIBADD += -lcrypto -lgdi32
|
|
|
|
else
|
|
|
|
endif
|
|
|
|
|
|
|
|
test_engine_SOURCES = test_engine.cpp
|
|
|
|
test_engine_LDADD = .libs/libengine_act.a -lcrypto
|
|
|
|
if WIN32
|
|
|
|
test_engine_LDADD += -lssl -lgdi32
|
|
|
|
endif
|
|
|
|
|
|
|
|
if WIN32
|
|
|
|
libengine_act.dll: $(libengine_act_la_SOURCES:%.cpp=.libs/%.o)
|
|
|
|
$(CXX) -o $@ $^ --shared $(LDFLAGS) -lact -lcrypto -lgdi32 -lkernel32 -lcrypt32
|
|
|
|
endif
|
|
|
|
|
|
|
|
MAINTAINERCLEANFILES = makefile.in
|