File: Makefile.am

package info (click to toggle)
acr38 1.7.11-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 1,804 kB
  • ctags: 574
  • sloc: sh: 9,151; ansic: 4,031; makefile: 52
file content (46 lines) | stat: -rw-r--r-- 1,364 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# acr38Driver automake information file
# Copyright (c) 1994 - 2005 Advanced Card Systems Ltd
# All rights reserved.
#
# Process this file with automake to produce a Makefile.in script.

DRIVER_NAME = ACR38UDriver
DRIVER_LIB_NAME = lib$(DRIVER_NAME).$(DYN_LIB_EXT)
DRIVER_BUNDLE_DIR = $(DRIVER_NAME).bundle
DRIVER_INSTALL_HOME_DIR = pcsc/drivers/$(DRIVER_LIB_NAME).bundle/Contents/Linux

AM_CPPFLAGS = `pkg-config libpcsclite --cflags`

EXTRA_DIST = Info.plist

lib_LTLIBRARIES = libACR38UDriver.la

SRC_DRV = ACR38IOCtrl.h \
	AdmHndlr.c \
	AdmHndlr.h \
	ATR.h \
	common.h \
	ifdhandler.c \
	ifdhandler.h \
	MCU_ATR.c \
	MCU_ATR.h \
	pcscdefines.h \
	T0Hndlr.c \
	T0Hndlr.h \
	T1Hndlr.c \
	T1Hndlr.h
	
SRC_USB = usbserial_linux.c \
	usbserial_linux.h

libACR38UDriver_la_SOURCES = $(SRC_DRV) $(SRC_USB)
libACR38UDriver_la_LIBADD = @LIBPCSCLITE@ @LIBUSB@ @COREFOUNDATION@ @IOKIT@

install: libACR38UDriver.la
	$(mkinstalldirs) $(DESTDIR)$(usbdropdir)/$(DRIVER_BUNDLE_DIR)/Contents/$(BUNDLE_HOST)/
	$(INSTALL) .libs/$(DRIVER_LIB_NAME) $(DESTDIR)$(usbdropdir)/$(DRIVER_BUNDLE_DIR)/Contents/$(BUNDLE_HOST)/$(DRIVER_NAME).$(DYN_LIB_EXT)
	$(INSTALL) Info.plist $(DESTDIR)$(usbdropdir)/$(DRIVER_BUNDLE_DIR)/Contents
#	chmod 755 $(DESTDIR)$(usbdropdir)/$(DRIVER_BUNDLE_DIR)/Contents/$(BUNDLE_HOST)/$(DRIVER_LIB_NAME)

uninstall:
	rm -rf $(usbdropdir)/$(DRIVER_BUNDLE_DIR)