|
Packit Service |
392537 |
#
|
|
Packit Service |
392537 |
# $Id: makefile,v 1.2 2001/08/10 17:12:22 ant Exp $
|
|
Packit Service |
392537 |
# Copyright (c) 1997 by Matthew Jacob
|
|
Packit Service |
392537 |
#
|
|
Packit Service |
392537 |
# This software is free software; you can redistribute it and/or
|
|
Packit Service |
392537 |
# modify it under the terms of the GNU Library General Public
|
|
Packit Service |
392537 |
# License as published by the Free Software Foundation; version 2.
|
|
Packit Service |
392537 |
#
|
|
Packit Service |
392537 |
# This software is distributed in the hope that it will be useful,
|
|
Packit Service |
392537 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
392537 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit Service |
392537 |
# Library General Public License for more details.
|
|
Packit Service |
392537 |
#
|
|
Packit Service |
392537 |
# You should have received a copy of the GNU Library General Public
|
|
Packit Service |
392537 |
# License along with this software; if not, write to the Free
|
|
Packit Service |
392537 |
# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
Packit Service |
392537 |
#
|
|
Packit Service |
392537 |
# The author may be reached via electronic communications at
|
|
Packit Service |
392537 |
#
|
|
Packit Service |
392537 |
# mjacob@feral.com
|
|
Packit Service |
392537 |
#
|
|
Packit Service |
392537 |
# or, via United States Postal Address
|
|
Packit Service |
392537 |
#
|
|
Packit Service |
392537 |
# Matthew Jacob
|
|
Packit Service |
392537 |
# 1831 Castro Street
|
|
Packit Service |
392537 |
# San Francisco, CA, 94131
|
|
Packit Service |
392537 |
|
|
Packit Service |
392537 |
#CC = cc -qextchk -qlanglvl=ansi -qproto -qmaxmem=3000
|
|
Packit Service |
392537 |
CC = gcc
|
|
Packit Service |
392537 |
RM = rm -f
|
|
Packit Service |
392537 |
DEBUG_FLAG =
|
|
Packit Service |
392537 |
KCFLAGS = $(DEBUG_FLAG) -O
|
|
Packit Service |
392537 |
CFLAGS = $(DEBUG_FLAG) -O
|
|
Packit Service |
392537 |
|
|
Packit Service |
392537 |
LDF1 = -bI:/lib/kernex.exp -bI:/usr/lib/lowsys.exp
|
|
Packit Service |
392537 |
#LDF2 = -lsys -lcsys
|
|
Packit Service |
392537 |
|
|
Packit Service |
392537 |
BINS = gscdd defgsc cfggsc ucfggsc tstinq
|
|
Packit Service |
392537 |
DATA = gsc.cat
|
|
Packit Service |
392537 |
|
|
Packit Service |
392537 |
|
|
Packit Service |
392537 |
all: ${BINS} ${DATA}
|
|
Packit Service |
392537 |
|
|
Packit Service |
392537 |
gscdd: gscdd.o
|
|
Packit Service |
392537 |
${LD} -bl:$@.map -o $@ $@.o -e gsc_config ${LDF1} ${LDF2}
|
|
Packit Service |
392537 |
|
|
Packit Service |
392537 |
gscdd.o: gscdd.c gscdds.h
|
|
Packit Service |
392537 |
$(CC) $(KCFLAGS) -c gscdd.c -DKERNEL -D_KERNEL -D_IBMR2
|
|
Packit Service |
392537 |
|
|
Packit Service |
392537 |
cfggsc: cfggsc.c
|
|
Packit Service |
392537 |
$(CC) $(CFLAGS) -o $@ -lodm -lcfg $@.c
|
|
Packit Service |
392537 |
|
|
Packit Service |
392537 |
ucfggsc: ucfggsc.c
|
|
Packit Service |
392537 |
$(CC) $(CFLAGS) -o $@ -lodm -lcfg $@.c
|
|
Packit Service |
392537 |
|
|
Packit Service |
392537 |
defgsc: defgsc.c
|
|
Packit Service |
392537 |
$(CC) $(CFLAGS) -o $@ -lodm -lcfg $@.c
|
|
Packit Service |
392537 |
|
|
Packit Service |
392537 |
tstinq: tstinq.c
|
|
Packit Service |
392537 |
$(CC) $(CFLAGS) -o $@ $@.c
|
|
Packit Service |
392537 |
|
|
Packit Service |
392537 |
gsc.cat: makefile
|
|
Packit Service |
392537 |
${RM} /tmp/catalog_tmp
|
|
Packit Service |
392537 |
echo '$$set 1 Feral Software Generic SCSI Messages' > /tmp/catalog_tmp
|
|
Packit Service |
392537 |
echo "1 Feral Software Generic SCSI Release 1.0" >> /tmp/catalog_tmp
|
|
Packit Service |
392537 |
gencat $@ /tmp/catalog_tmp
|
|
Packit Service |
392537 |
${RM} /tmp/catalog_tmp
|
|
Packit Service |
392537 |
|
|
Packit Service |
392537 |
clean:
|
|
Packit Service |
392537 |
@${RM} ${BINS} ${DATA} *.map *.o
|
|
Packit Service |
392537 |
|