![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
69 lines
1.5 KiB
Makefile
69 lines
1.5 KiB
Makefile
# $Id$
|
|
#
|
|
# Makefile for avmcapictrl
|
|
# (C) 1997 Carsten Paeth
|
|
#
|
|
#
|
|
SHELL = /bin/sh
|
|
CFLAGS = -Wall -O2 -I.
|
|
LDFLAGS = -L../lib @LIBS@
|
|
INCLUDES = -I@CONFIG_KERNELDIR@/include
|
|
PROGRAMS = avmcapictrl
|
|
MODULES = avmcapictrl.o
|
|
MANPAGES = avmcapictrl.8
|
|
SBINDIR = @CONFIG_SBINDIR@
|
|
MANDIR = @CONFIG_MANDIR@
|
|
MAN8DIR = $(MANDIR)/man8
|
|
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@
|
|
CC = @CC@
|
|
|
|
%.8: %.man
|
|
cp $< $@
|
|
|
|
%.o: %.c Makefile
|
|
$(CC) $(CFLAGS) $(INCLUDES) $(DEFS) -c -o $@ $<
|
|
|
|
all: $(PROGRAMS) $(MANPAGES)
|
|
|
|
config:
|
|
@./configure
|
|
|
|
Makefile: Makefile.in config.status
|
|
./config.status
|
|
|
|
config.status: configure
|
|
./config.status --recheck
|
|
|
|
avmcapictrl: $(MODULES)
|
|
$(CC) $(CFLAGS) $? $(LDFLAGS) -o $@
|
|
|
|
install: $(PROGRAMS) $(MANPAGES)
|
|
mkdir -p $(DESTDIR)$(SBINDIR)
|
|
$(INSTALL_PROGRAM) $(PROGRAMS) $(DESTDIR)$(SBINDIR)
|
|
mkdir -p $(DESTDIR)$(MAN8DIR)
|
|
$(INSTALL_MAN) $(MANPAGES) $(DESTDIR)$(MAN8DIR)
|
|
|
|
install-strip: $(PROGRAMS) $(MANPAGES)
|
|
mkdir -p $(DESTDIR)$(SBINDIR)
|
|
$(INSTALL_PROGRAM) -s $(PROGRAMS) $(DESTDIR)$(SBINDIR)
|
|
mkdir -p $(DESTDIR)$(MAN8DIR)
|
|
$(INSTALL_MAN) $(MANPAGES) $(DESTDIR)$(MAN8DIR)
|
|
|
|
uninstall:
|
|
@for i in `echo $(PROGRAMS)` ; do \
|
|
rm -f $(DESTDIR)$(SBINDIR)/$$i ; \
|
|
done
|
|
@for i in `echo $(MANPAGES)` ; do \
|
|
rm -f $(DESTDIR)$(MAN8DIR)/$$i ; \
|
|
done
|
|
|
|
clean:
|
|
rm -f *.o *~ $(PROGRAMS) *.8
|
|
|
|
distclean: clean
|
|
rm -f config.status config.cache config.log confdefs.h Makefile *.man
|