[Pcsclite-cvs-commit] HandlerTest/Host Makefile,1.1,1.2

rousseau@quantz.debian.org rousseau@quantz.debian.org
Fri, 29 Aug 2003 08:51:28 +0200


Update of /cvsroot/pcsclite/HandlerTest/Host
In directory quantz:/tmp/cvs-serv21630/Host

Modified Files:
	Makefile 
Log Message:
add *BSD support


Index: Makefile
===================================================================
RCS file: /cvsroot/pcsclite/HandlerTest/Host/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Makefile	11 Aug 2003 16:36:48 -0000	1.1
+++ Makefile	29 Aug 2003 06:51:26 -0000	1.2
@@ -1,10 +1,16 @@
 # $Id$
 
-CFLAGS += -O2 -g -Wall
+CFLAGS += -O2 -g -Wall -I/usr/local/include/
 
 # -ldl to use ldopen(), etc.
 # -rdynamic so that the driver can use debug_msg()
+ifeq ($(OSTYPE),linux*)
 LDFLAGS = -ldl -rdynamic
+else
+ifeq ($(OSTYPE),*bsd*)
+LDFLAGS = -rdynamic
+endif
+endif
 
 targets = handler_test.o debug.o tokenparser.o