1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
TP-Link_Archer-XR500v/EN7526G_3.18Kernel_SDK/apps/public/rp-pppoe-3.10/gui/Makefile.in
2024-07-22 01:58:46 -03:00

71 lines
2.0 KiB
Makefile
Executable File

# @configure_input@
#***********************************************************************
#
# Makefile
#
# Makefile for GUI for Roaring Penguin's Linux user-space PPPoE client.
#
# Copyright (C) 2001 Roaring Penguin Software Inc.
#
# This program may be distributed according to the terms of the GNU
# General Public License, version 2 or (at your option) any later version.
#
# LIC: GPL
#
# $Id: //BBN_Linux/Branch/Branch_for_Rel_TP_ASEAN_20161216/tclinux_phoenix/apps/public/rp-pppoe-3.10/gui/Makefile.in#1 $
#***********************************************************************
DEFINES=
prefix=@prefix@
exec_prefix=@exec_prefix@
mandir=@mandir@
install=@INSTALL@
install_dir=@INSTALL@ -d
sbindir=@sbindir@
bindir=@bindir@
datadir=@datadir@
PPPOE_START_PATH=@sbindir@/pppoe-start
PPPOE_STOP_PATH=@sbindir@/pppoe-stop
PPPOE_STATUS_PATH=@sbindir@/pppoe-status
PATHS='-DPPPOE_START_PATH="$(PPPOE_START_PATH)"' '-DPPPOE_STOP_PATH="$(PPPOE_STOP_PATH)"' '-DPPPOE_STATUS_PATH="$(PPPOE_STATUS_PATH)"'
CFLAGS= @CFLAGS@ $(DEFINES) $(PATHS)
all: pppoe-wrapper
@echo ""
@echo "Type 'make install' as root to install the software."
pppoe-wrapper: wrapper.o
@CC@ -o pppoe-wrapper wrapper.o
wrapper.o: wrapper.c
@CC@ $(CFLAGS) -c -o wrapper.o wrapper.c
install: all
-mkdir -p $(DESTDIR)$(sbindir)
-mkdir -p $(DESTDIR)$(bindir)
-mkdir -p $(DESTDIR)/etc/ppp/rp-pppoe-gui
$(install) -m 4755 -s pppoe-wrapper $(DESTDIR)$(sbindir)
$(install) -m 755 tkpppoe $(DESTDIR)$(bindir)
-mkdir -p $(DESTDIR)$(mandir)/man1
$(install) -m 644 pppoe-wrapper.1 $(DESTDIR)$(mandir)/man1
$(install) -m 644 tkpppoe.1 $(DESTDIR)$(mandir)/man1
-mkdir -p $(DESTDIR)$(datadir)/tkpppoe
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 \
$(install) -m 644 html/$$i $(DESTDIR)$(datadir)/tkpppoe; \
done
for i in en.msg ja.msg; do \
$(install) -m 644 $$i $(DESTDIR)$(datadir)/tkpppoe; \
done
clean:
rm -f *.o *~ pppoe-wrapper
distclean: clean
rm -f Makefile tkpppoe
.PHONY: clean
.PHONY: distclean