# Copyright (C) 1997-2000 SpellCaster Telecommunications Inc. # $Id: Makefile.in,v 1.1 2004/03/11 03:59:32 bcrl Exp $ # Released under the GNU Public License. See LICENSE file for details. TOPDIR=.. PROGS=bdial bablog-stdout PROGS_BINDIR=$(sbindir) include ../common.mak CC = gcc CFLAGS = -O2 -Wall -I ../include all: $(PROGS) -include $(PROGS:=.dep) clean: $(RM) $(PROGS) *.o *.dep core pre-install-progs: if [ -e /sbin/bdial ] ; then rm -f /sbin/bdial ; fi install-progs: pre-install-progs install: install-progs for i in l2tpctl bradius bhangup bchan bquery bpolicy bpppoe bvirt bping bcluster ; do \ if [ -e /sbin/$$i ] ; then rm -f /sbin/$$i ; fi ; \ ln -sf $(sbindir)/bdial $(sbindir)/`echo $$i | sed '$(transform)'` ; \ done uninstall: clean $(RM) $(SBINDIR)/bdial $(sbindir)/bhangup $(sbindir)/bpolicy distclean: clean $(RM) Makefile *.sw?