![Andreas Kool](/assets/img/avatar_default.png)
- eat's one more socket, Stefan: sockets[3] now is STDIN, FIRST_DESCR=4 !! - Support for tesion)) Baden-Wuerttemberg Tarif - more Providers - Patches from Wilfried Teiken <wteiken@terminus.cl-ki.uni-osnabrueck.de> - better zone-info support in "tools/isdnconf.c" - buffer-overrun in "isdntools.c" fixed - big Austrian Patch from Michael Reinelt <reinelt@eunet.at> - added $(DESTDIR) in any "Makefile.in" - new Configure-Switches "ISDN_AT" and "ISDN_DE" - splitted "takt.c" and "tools.c" into "takt_at.c" / "takt_de.c" ... "tools_at.c" / "takt_de.c" ... - new feature CALLFILE = /var/log/caller.log CALLFMT = %b %e %T %N7 %N3 %N4 %N5 %N6 in "isdn.conf" - ATTENTION: 1. "isdnrep" dies with an seg-fault, if not HTML-Mode (Stefan?) 2. "isdnlog/Makefile.in" now has hardcoded "ISDN_DE" in "DEFS" should be fixed soon
72 lines
1.5 KiB
Makefile
72 lines
1.5 KiB
Makefile
# $Id$
|
|
#
|
|
# Makefile for loopctrl
|
|
# (C) 1997 Fritz Elfert
|
|
#
|
|
#
|
|
SHELL = /bin/sh
|
|
CFLAGS = -Wall -O2
|
|
INCLUDES = -I. -I@CONFIG_KERNELDIR@/include -I@CONFIG_KERNELDIR@/drivers/isdn/isdnloop
|
|
DEFS =
|
|
LDFLAGS = -L../lib @LIBS@
|
|
PROGRAM = loopctrl
|
|
MODULES = loopctrl.o
|
|
MANPAGE = loopctrl.8
|
|
INSTALL = @INSTALL@
|
|
INSTALL_PROGRAM = $(INSTALL) -o 0 -g 0 -m 0750
|
|
INSTALL_MAN = $(INSTALL) -o 0 -g 0 -m 0644
|
|
prefix = @prefix@
|
|
exec_prefix = @exec_prefix@
|
|
ifeq (../.config,$(wildcard ../.config))
|
|
include ../.config
|
|
ifeq ($(CONFIG_LOOPCTRL_DEBUG),y)
|
|
DEFS += -DDEBUGVAR
|
|
endif
|
|
SBINDIR = $(CONFIG_SBINDIR)
|
|
mandir = $(CONFIG_MANDIR)
|
|
else
|
|
SBINDIR = /sbin
|
|
mandir = @mandir@
|
|
endif
|
|
MAN8DIR = $(mandir)/man8
|
|
CC = @CC@
|
|
|
|
.SUFFIXES:
|
|
.SUFFIXES: .c .o
|
|
|
|
%.o: %.c
|
|
$(CC) $(CFLAGS) $(INCLUDES) $(DEFS) -c -o $@ $<
|
|
|
|
all: $(PROGRAM)
|
|
|
|
config:
|
|
@./configure
|
|
|
|
Makefile: Makefile.in config.status
|
|
./config.status
|
|
|
|
config.status: configure
|
|
./config.status --recheck
|
|
|
|
$(PROGRAM): $(MODULES)
|
|
$(CC) $(CFLAGS) $(INCLUDES) $(DEFS) $? $(LDFLAGS) -o $@
|
|
|
|
install-man: $(PROGRAM).man
|
|
mkdir -p $(DESTDIR)$(MAN8DIR)
|
|
$(INSTALL_MAN) $< $(DESTDIR)$(MAN8DIR)/$(MANPAGE)
|
|
|
|
install: $(PROGRAM) install-man
|
|
$(INSTALL_PROGRAM) $(PROGRAM) $(DESTDIR)$(SBINDIR)/$(PROGRAM)
|
|
|
|
install-strip: $(PROGRAM)
|
|
$(INSTALL_PROGRAM) -s $(PROGRAM) $(DESTDIR)$(SBINDIR)/$(PROGRAM)
|
|
|
|
uninstall:
|
|
rm -f $(DESTDIR)$(SBINDIR)/$(PROGRAM) $(DESTDIR)$(MAN8DIR)/$(MANPAGE)
|
|
|
|
clean:
|
|
rm -f *.o *~ $(PROGRAM)
|
|
|
|
distclean: clean
|
|
rm -f config.status config.cache config.log Makefile loopctrl.man
|