[Pcsclite-cvs-commit] MusclePAM Makefile,1.7,1.8
rousseau@haydn.debian.org
rousseau@haydn.debian.org
Update of /cvsroot/muscleapps/MusclePAM
In directory haydn:/tmp/cvs-serv3793
Modified Files:
Makefile
Log Message:
add `pkg-config --cflags libmusclecard` to CFLAGS
and use `pkg-config --libs libmusclecard` instead of -lmusclecard in LIBS
Index: Makefile
===================================================================
RCS file: /cvsroot/muscleapps/MusclePAM/Makefile,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- Makefile 3 Oct 2003 19:30:55 -0000 1.7
+++ Makefile 3 Jul 2004 17:43:05 -0000 1.8
@@ -2,14 +2,14 @@
DEFS= -D_REENTRANT -fno-strict-aliasing
INC = -I/usr/local/include -I. -I/usr/include/openssl
-CFLAGS = $(DEFS) $(INC) -fPIC -Wall -O2
+CFLAGS = $(DEFS) $(INC) -fPIC -Wall -O2 `pkg-config --cflags libmusclecard`
# by default install in /
ifeq ($(DESTDIR),)
DESTDIR=/
endif
-LIBS = -lmusclecard -lpthread -lpam -lcrypto
+LIBS = `pkg-config --libs libmusclecard` -lpthread -lpam -lcrypto
OBJ = preferences.o certutils.o pam_smartcard.o cardtools.o
all: pam_musclecard.so