1997-03-24 03:58:45 +00:00
|
|
|
#
|
|
|
|
# pppstats makefile
|
|
|
|
# $Id$
|
|
|
|
#
|
1997-10-26 23:10:46 +00:00
|
|
|
SBINDIR = @CONFIG_SBINDIR@
|
|
|
|
MANDIR = @CONFIG_MANDIR@
|
1997-03-24 03:58:45 +00:00
|
|
|
CC = @CC@
|
|
|
|
INSTALL = @INSTALL@
|
|
|
|
INSTALL_SBIN = $(INSTALL) -m 755 -o 0 -g 0
|
|
|
|
INSTALL_DATA = $(INSTALL) -m 644 -o 0 -g 0
|
|
|
|
INSTALL_DIR = $(INSTALL) -m 755 -o 0 -g 0 -d
|
|
|
|
|
|
|
|
PPPSTATSRCS = ipppstats.c
|
|
|
|
PPPSTATOBJS = ipppstats.o
|
|
|
|
|
1998-03-15 22:36:39 +00:00
|
|
|
CFLAGS = -fomit-frame-pointer -O2 -I@CONFIG_KERNELDIR@/include
|
1997-03-24 03:58:45 +00:00
|
|
|
|
|
|
|
all: ipppstats
|
|
|
|
|
|
|
|
uninstall:
|
1998-09-26 18:31:14 +00:00
|
|
|
rm -f $(DESTDIR)$(SBINDIR)/ipppstats $(DESTDIR)$(MANDIR)/man8/ipppstats.8
|
1997-03-24 03:58:45 +00:00
|
|
|
|
1997-10-26 23:10:46 +00:00
|
|
|
install: ipppstats ipppstats.man
|
1998-09-26 18:31:14 +00:00
|
|
|
$(INSTALL_DIR) $(DESTDIR)$(SBINDIR)
|
|
|
|
$(INSTALL_DIR) $(DESTDIR)$(MANDIR)/man8
|
|
|
|
$(INSTALL_SBIN) ipppstats $(DESTDIR)$(SBINDIR)/ipppstats
|
|
|
|
$(INSTALL_DATA) ipppstats.man $(DESTDIR)$(MANDIR)/man8/ipppstats.8
|
1997-03-24 03:58:45 +00:00
|
|
|
|
1997-10-26 23:10:46 +00:00
|
|
|
ipppstats: Makefile $(PPPSTATSRCS)
|
1997-03-24 03:58:45 +00:00
|
|
|
$(CC) $(CFLAGS) -o ipppstats ipppstats.c
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f ipppstats *~ *.o #* core
|
|
|
|
|
1997-10-26 23:10:46 +00:00
|
|
|
config:
|
|
|
|
@./configure
|
|
|
|
|
|
|
|
Makefile: Makefile.in config.status
|
|
|
|
./config.status
|
|
|
|
|
|
|
|
config.status: configure
|
|
|
|
./config.status --recheck
|
|
|
|
|
1997-03-24 03:58:45 +00:00
|
|
|
distclean: clean
|
1997-10-26 23:10:46 +00:00
|
|
|
rm -f Makefile config.status config.cache config.log ipppstats.man
|
1997-03-24 03:58:45 +00:00
|
|
|
|
|
|
|
depend:
|
|
|
|
cpp -M $(CFLAGS) $(PPPSTATSRCS) >.depend
|
|
|
|
# makedepend $(CFLAGS) $(PPPSTATSRCS)
|