# Generated automatically from Makefile.in by configure. # # Makefile - Self explanitory # # Copyright (C) 1997-2000 SpellCaster Telecommunications Inc. # $Id: Makefile.in,v 1.1 2004/03/11 03:59:31 bcrl Exp $ # Released under the GNU Public License. See LICENSE file for details. # TOPDIR=../.. include ../../common.mak include ../common.kernel.mak MODDIR = /lib/modules/`uname -r`/misc/ INSTALL = /usr/bin/install MANDIR = $(mandir) SBINDIR = /sbin CC = gcc LD = ld # Uncomment the following line to get debug messages #DEBUG=-DDEBUG # Uncomment the following to get /proc/scb_log0 for firmware messages #DEBUG_FIRMWARE=-DDEBUG_LOG MAJOR = 61 CFLAGS = -fomit-frame-pointer -O2 ${DEBUG} ${DEBUG_FIRMWARE} -Wall -I../../include $(INC) $(MODVERSIONS) ifeq (alpha,$(ARCH)) CFLAGS+=-ffixed-8 -mno-fp-regs endif CTRLSRCS = scbctrl.c CTRLOBJS = ${CTRLSRCS:.c=.o} CTRLFLAGS = -g ${DEBUG} ${COMPAT} -Wall -I../../include DEVS = /dev/apsisdn all: scb.o scbctrl scbctrl: ${CTRLOBJS} ${CC} ${CTRLFLAGS} -o $@ $? ${CTRLOBJS}: ${CTRLSRCS} ${CC} ${CTRLFLAGS} -c $? clean: $(RM) ${OBJS} *.o scbctrl core distclean: clean $(RM) Makefile *.sw? *.bak install: all $(DEVS) $(INSTALL) -d -o root -g root -m755 $(MODDIR) $(INSTALL) -o root -g root -m644 scb.o $(MODDIR) $(INSTALL) -o root -g root -m750 scbctrl $(SBINDIR) $(INSTALL) -o root -g root -m644 scb.4 $(MANDIR)/man4 $(INSTALL) -o root -g root -m644 scbctrl.8 $(MANDIR)/man8 uninstall: distclean $(RM) $(MODDIR)/scb.o $(SBINDIR)/scbctrl $(MANDIR)/man4/scb.4 $(MANDIR)/man8/scbctrl.8 $(DEVS) /dev/apsisdn: mknod $@ c $(MAJOR) 0