"Fossies" - the Fresh Open Source Software Archive

Member "rp-pppoe-3.12/gui/Makefile.in" (11 Nov 2015, 1973 Bytes) of archive /linux/misc/rp-pppoe-3.12.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 # @configure_input@
    2 #***********************************************************************
    3 #
    4 # Makefile
    5 #
    6 # Makefile for GUI for Roaring Penguin's Linux user-space PPPoE client.
    7 #
    8 # Copyright (C) 2001 Roaring Penguin Software Inc.
    9 #
   10 # This program may be distributed according to the terms of the GNU
   11 # General Public License, version 2 or (at your option) any later version.
   12 #
   13 # LIC: GPL
   14 #
   15 # $Id$
   16 #***********************************************************************
   17 DEFINES=
   18 prefix=@prefix@
   19 exec_prefix=@exec_prefix@
   20 mandir=@mandir@
   21 install=@INSTALL@
   22 install_dir=@INSTALL@ -d
   23 sbindir=@sbindir@
   24 bindir=@bindir@
   25 datadir=@datadir@
   26 
   27 PPPOE_START_PATH=@sbindir@/pppoe-start
   28 PPPOE_STOP_PATH=@sbindir@/pppoe-stop
   29 PPPOE_STATUS_PATH=@sbindir@/pppoe-status
   30 
   31 PATHS='-DPPPOE_START_PATH="$(PPPOE_START_PATH)"' '-DPPPOE_STOP_PATH="$(PPPOE_STOP_PATH)"' '-DPPPOE_STATUS_PATH="$(PPPOE_STATUS_PATH)"'
   32 
   33 CFLAGS= @CFLAGS@ $(DEFINES) $(PATHS)
   34 
   35 all: pppoe-wrapper
   36 	@echo ""
   37 	@echo "Type 'make install' as root to install the software."
   38 
   39 pppoe-wrapper: wrapper.o
   40 	@CC@ -o pppoe-wrapper wrapper.o
   41 
   42 wrapper.o: wrapper.c
   43 	@CC@ $(CFLAGS) -c -o wrapper.o wrapper.c
   44 
   45 install: all
   46 	-mkdir -p $(DESTDIR)$(sbindir)
   47 	-mkdir -p $(DESTDIR)$(bindir)
   48 	-mkdir -p $(DESTDIR)/etc/ppp/rp-pppoe-gui
   49 	$(install) -m 4755 -s pppoe-wrapper $(DESTDIR)$(sbindir)
   50 	$(install) -m 755 tkpppoe $(DESTDIR)$(bindir)
   51 	-mkdir -p $(DESTDIR)$(mandir)/man1
   52 	$(install) -m 644 pppoe-wrapper.1 $(DESTDIR)$(mandir)/man1
   53 	$(install) -m 644 tkpppoe.1 $(DESTDIR)$(mandir)/man1
   54 	-mkdir -p $(DESTDIR)$(datadir)/tkpppoe
   55 	for i in tkpppoe.html mainwin-busy.png mainwin-nonroot.png mainwin.png props-advanced.png props-basic.png props-nic.png props-options.png; do \
   56 		$(install) -m 644 html/$$i $(DESTDIR)$(datadir)/tkpppoe; \
   57 	done
   58 	for i in en.msg ja.msg; do \
   59 		$(install) -m 644 $$i $(DESTDIR)$(datadir)/tkpppoe; \
   60 	done
   61 
   62 clean:
   63 	rm -f *.o *~ pppoe-wrapper
   64 
   65 distclean: clean
   66 	rm -f Makefile tkpppoe
   67 
   68 .PHONY: clean
   69 
   70 .PHONY: distclean