Subversion Repositories f9daq

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
9 f9daq 1
#****************************************************************************
2
# Copyright (C) 2001-2004 ARW Elektronik Germany
3
#
4
# This program is free software; you can redistribute it and/or modify
5
# it under the terms of the GNU General Public License as published by
6
# the Free Software Foundation; either version 2 of the License, or
7
# (at your option) any later version.
8
#
9
# This program is distributed in the hope that it will be useful,
10
# but WITHOUT ANY WARRANTY; without even the implied warranty of
11
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
# GNU General Public License for more details.
13
#
14
# You should have received a copy of the GNU General Public License
15
# along with this program; if not, write to the Free Software
16
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17
#
18
# Maintainer(s): Klaus Hitschler (klaus.hitschler@gmx.de)
19
#****************************************************************************
20
 
21
#****************************************************************************
22
#
23
# Makefile - makefile for ARW Elektronik CAMAC interfaces shared library
24
#
25
# $Log: Makefile,v $
26
# Revision 1.3  2004/08/13 19:23:45  klaus
27
# conversion to kernel-version 2.6, released version 3.0
28
#
29
# Revision 1.2  2002/10/19 08:50:05  klaus
30
# commit after repair
31
#
32
#****************************************************************************
33
 
34
TARGET = libpcivme.so.1.0.2
35
FILES  = pcivme_ni
36
LIB    = /usr/lib
37
 
38
INCLUDEDIR = /usr/include
39
CFLAGS = -shared -Wall -Wl,-soname,libpcivme.so.1 -g -lc -I$(INCLUDEDIR) -I.
40
 
41
all: $(FILES)
42
	mv $(FILES) $(TARGET)
43
 
44
clean:
45
	rm -f $(FILES) *~ core
46
 
47
# only root may install
48
install:
49
	cp $(TARGET) $(LIB)/$(TARGET)
50
	ln -sf $(LIB)/$(TARGET) $(LIB)/libpcivme.so.1
51
	ln -sf $(LIB)/libpcivme.so.1 $(LIB)/libpcivme.so
52
	/sbin/ldconfig
53
 
54
 
55
 
56