1# ****************************************************************************** 2# 3# libcsc: Make Subsystem 4# 5# ---------------------------------------------------------------- 6# 7# Copyright (c) 2001, Douglas R. Jerome, Peoria, AZ USA 8# 9# This program is free software; you can redistribute it and/or modify 10# it under the terms of the GNU Library General Public License as 11# published by the Free Software Foundation; either version 2 of the 12# License, or (at your option) any later version. 13# 14# This program is distributed in the hope that it will be useful, 15# but WITHOUT ANY WARRANTY; without even the implied warranty of 16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17# GNU General Public License for more details. 18# 19# You should have received a copy of the GNU Library General Public 20# License along with this program; if not, write to the Free Software 21# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 22# 23# ---------------------------------------------------------------- 24# 25# FILE NAME 26# 27# $RCSfile: Makefile.lib,v $ 28# $Revision: 1.1 $ 29# $Date: 2001/07/10 04:22:06 $ 30# 31# PROGRAM INFORMATION 32# 33# Developed by: libcsc project 34# Developer: Douglas R. Jerome, drj, <jerome@primenet.com> 35# 36# FILE DESCRIPTION 37# 38# This is the libcfi make file for the lib directory. It does the 39# installation of the libcfi object files. 40# 41# CHANGE LOG 42# 43# 25jun01 drj File generation. 44# 45# ****************************************************************************** 46 47 48# *************************************************************************** # 49# Macro Definitions # 50# *************************************************************************** # 51 52OBJECTS = libcsc.a \ 53 libcsc.o \ 54 libcsc_debug.a \ 55 libcsc_debug.o 56 57 58# *************************************************************************** # 59# More Macro Definitions # 60# *************************************************************************** # 61 62INSTALL = install -c 63 64 65# *************************************************************************** # 66# Make Targets # 67# *************************************************************************** # 68 69default: 70 @echo "Nothing to do for default target." 71 @echo "Try \"make install\"" 72 73install: 74 @for file in ${OBJECTS}; do \ 75 if [ -r $${file} -a -n "${INSTALLLIB}" ]; then \ 76 ${INSTALL} -m 644 $${file} ${INSTALLLIB}; \ 77 else \ 78 echo "CANNOT ***** (displayed on next line)"; \ 79 echo "${INSTALL} -m 644 $${file} ${INSTALLINC}";\ 80 fi \ 81 done 82 83 84# end of Makefile 85