Blame | Last modification | View Log | RSS feed
#****************************************************************************
# Copyright (C) 2001-2005 ARW Elektronik Germany
#
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
# Maintainer(s): Klaus Hitschler (klaus.hitschler@gmx.de)
#****************************************************************************
#****************************************************************************
#
# Makefile - makefile for ARW Elektronik CAMAC interfaces shared library
#
# $Log: Makefile,v $
# Revision 1.8 2005/10/08 13:22:23 klaus
# release 6.7, added installation of header file
#
# Revision 1.7 2005/10/03 17:46:31 klaus
# simple cosmetic changes, upgrade lib to libcc32.so.3.0.0
#
# Revision 1.6 2004/11/29 20:43:12 klaus
# added _qx functions to get Q and X for every transfer. Release libcc32.so.2.
#
# Revision 1.5 2004/08/12 20:00:41 klaus
# conversion to kernel-version 2.6, released version 6.0
#
# Revision 1.4 2002/04/17 19:41:06 klaus
# added support for autoread
#
# Revision 1.3 2002/04/14 18:25:38 klaus
# added interrupt handling, driver 4.4. ...3.5.tar.gz
#
# Revision 1.2 2001/11/20 20:12:50 klaus
# included new header and CVS log
#
#
#****************************************************************************
T0 = libcc32
T1 = $(T0).so
T2 = $(T1).3
TARGET = $(T2).0.0
FILES = libcc32
LIB = /usr/lib
INCLUDEDIR = /usr/include
CFLAGS = -shared -O2 -Wall -Wl,-soname,$(T2) -lc -I$(INCLUDEDIR)
all: $(FILES)
mv $(T0) $(TARGET)
clean:
rm -f $(FILES) *~ core
# only root may install
install:
cp $(TARGET) $(LIB)/$(TARGET)
ln -sf $(LIB)/$(TARGET) $(LIB)/$(T2)
ln -sf $(LIB)/$(T2) $(LIB)/$(T1)
cp libcc32.h /usr/include/libcc32.h
chmod 644 /usr/include/libcc32.h