Subversion Repositories f9daq

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
86 f9daq 1
#****************************************************************************
2
# Copyright (C) 2001-2005  ARW Elektronik Germany
3
#
4
#
5
# This program is free software; you can redistribute it and/or modify
6
# it under the terms of the GNU General Public License as published by
7
# the Free Software Foundation; either version 2 of the License, or
8
# (at your option) any later version.
9
#
10
# This program is distributed in the hope that it will be useful,
11
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
# GNU General Public License for more details.
14
#
15
# You should have received a copy of the GNU General Public License
16
# along with this program; if not, write to the Free Software
17
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18
#
19
# Maintainer(s): Klaus Hitschler (klaus.hitschler@gmx.de)
20
#****************************************************************************
21
 
22
#****************************************************************************
23
#
24
# Makefile - makefile for ARW Elektronik CAMAC interfaces shared library
25
#
26
# $Log: Makefile,v $
27
# Revision 1.8  2005/10/08 13:22:23  klaus
28
# release 6.7, added installation of header file
29
#
30
# Revision 1.7  2005/10/03 17:46:31  klaus
31
# simple cosmetic changes, upgrade lib to libcc32.so.3.0.0
32
#
33
# Revision 1.6  2004/11/29 20:43:12  klaus
34
# added _qx functions to get Q and X for every transfer. Release libcc32.so.2.
35
#
36
# Revision 1.5  2004/08/12 20:00:41  klaus
37
# conversion to kernel-version 2.6, released version 6.0
38
#
39
# Revision 1.4  2002/04/17 19:41:06  klaus
40
# added support for autoread
41
#
42
# Revision 1.3  2002/04/14 18:25:38  klaus
43
# added interrupt handling, driver 4.4. ...3.5.tar.gz
44
#
45
# Revision 1.2  2001/11/20 20:12:50  klaus
46
# included new header and CVS log
47
#
48
#
49
#****************************************************************************
50
T0     = libcc32
51
T1     = $(T0).so
52
T2     = $(T1).3
53
TARGET = $(T2).0.0
54
FILES  = libcc32
55
LIB    = /usr/lib
56
 
57
INCLUDEDIR = /usr/include
58
CFLAGS = -shared -O2 -Wall -Wl,-soname,$(T2) -lc -I$(INCLUDEDIR)
59
 
60
all: $(FILES)
61
	mv $(T0) $(TARGET)
62
 
63
clean:
64
	rm -f $(FILES) *~ core
65
 
66
# only root may install
67
install:
68
	cp $(TARGET) $(LIB)/$(TARGET)
69
	ln -sf $(LIB)/$(TARGET) $(LIB)/$(T2)
70
	ln -sf $(LIB)/$(T2) $(LIB)/$(T1)
71
	cp libcc32.h /usr/include/libcc32.h
72
	chmod 644 /usr/include/libcc32.h
73