[Pcsclite-cvs-commit] MCardPlugin/src Makefile.am,1.7,1.8

rousseau@quantz.debian.org rousseau@quantz.debian.org
Tue, 30 Sep 2003 11:48:02 +0200


Update of /cvsroot/muscleplugins/MCardPlugin/src
In directory quantz:/tmp/cvs-serv20961/src

Modified Files:
	Makefile.am 
Log Message:
link with -lmusclecard instead of just -lpcsclite
use SOLARI_LIBS for Solaris specific libs


Index: Makefile.am
===================================================================
RCS file: /cvsroot/muscleplugins/MCardPlugin/src/Makefile.am,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- Makefile.am	20 May 2003 21:58:15 -0000	1.7
+++ Makefile.am	30 Sep 2003 09:48:00 -0000	1.8
@@ -3,48 +3,13 @@
 lib_LTLIBRARIES = libmusclecardApplet.la
 include_HEADERS =
 
-## Linux
-if MSC_ARCH_LINUX
-
-MSC_INCLUDE_LIBS = -lpcsclite -lpthread
-
-## BSD
-else
-if MSC_ARCH_BSD
-
-MSC_INCLUDE_LIBS = -lpcsclite -lpthread
-
-## OS X
-else
-if MSC_ARCH_OSX
-
-MSC_INCLUDE_LIBS = -lpcsclite -lpthread
+MSC_INCLUDE_LIBS = -lmusclecard -lpthread
 
 ## Solaris
-else
 if MSC_ARCH_SOLARIS
-
-MSC_INCLUDE_LIBS = -lpcsclite -lpthread -lposix4 -lsocket
-
-## HPUX
-else
-if MSC_ARCH_HPUX
-
-MSC_INCLUDE_LIBS = -lpcsclite -lpthread
-
-## CYGWIN
-else
-if MSC_ARCH_CYGWIN
-
-MSC_INCLUDE_LIBS = -lpcsclite -lpthread
-
-endif
-endif
-endif
-endif
-endif
+SOLARI_LIBS = -lposix4 -lsocket
 endif
 
 
 libmusclecardApplet_la_SOURCES = musclecardApplet.c musclecardApplet.h
-libmusclecardApplet_la_LDFLAGS = -version-info 0:2:0 $(MSC_INCLUDE_LIBS)
+libmusclecardApplet_la_LDFLAGS = -version-info 0:2:0 $(MSC_INCLUDE_LIBS) $(SOLARI_LIBS)