[Pcsclite-cvs-commit] PCSC/make-dirs Makefile.solaris,NONE,1.1

corcoran-guest@quantz.debian.org corcoran-guest@quantz.debian.org
Mon, 12 Jan 2004 17:49:20 +0100


Update of /cvsroot/pcsclite/PCSC/make-dirs
In directory quantz:/tmp/cvs-serv24782

Added Files:
	Makefile.solaris 
Log Message:
C
Adding make-dirs plus Makefiles for certain configurations when people don't want to
try and fix autoconf

VS: ----------------------------------------------------------------------


--- NEW FILE: Makefile.solaris ---
CC  = /usr/local/bin/gcc
LD  = /usr/local/bin/ld
INC = -I../SUNWPCSC -I. -I/usr/include/smartcard
LIBS = -ll -ldl -lnsl -lsocket -lposix4 -lsmartcard
CFLAGS = -DSOLARIS

LIB = libpcsclite.so
OBJ = musclecard.o winscard_scf.o debuglog.o dyn_unix.o thread_unix.o \
tokenparser.o sys_solaris.o tokenfactory.o

all: libpcsclite


libpcsclite: $(OBJ)
	$(LD) -G $(OBJ) $(LIBS) -o $(LIB) 

$(OBJ): %.o: %.c
	$(CC) -c $(CFLAGS) $< $(INC) -o $@

clean: 
	rm -f *.o $(LIB)

install:
	cp $(LIB) /opt/PCSCshim/lib/