-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.tino
61 lines (57 loc) · 1.6 KB
/
Makefile.tino
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Read instructions in Makefile.proto how to use this.
#
# Prototype for your source directory Makefile.tino
# Not copyrighted as this is just a stub.
#
# This Works is placed under the terms of the Copyright Less License,
# see file COPYRIGHT.CLL. USE AT OWN RISK, ABSOLUTELY NO WARRANTY.
#
# COPYRIGHT.CLL can be found at http://permalink.de/tino/cll
PROGS=suid
CONF=suid.conf
OBJS=
#VERSIONFILE=
# VERSIONEXT=py
#VERSIONNAME=
# Additional (fixed) installs for
# bin sbin lib etc man share/man inf share/inf respectively
INSTALLBIN=
INSTALLSBIN=
INSTALLLIB=
INSTALLETC=
INSTALLMAN=
INSTALLSMAN=
INSTALLINF=
INSTALLSINF=
# SUBDIRS=diet
# CC=diet/tinodiet.sh --tinodiet
# CXX=diet/tinodiet.sh ++ --tinodiet
# LIBS=diet/libcurl.a diet/libssl.a diet/libcrypto.a diet/libz.a
# If you use -I. or -Itino, be sure to use -I-, too.
ADD_CFLAGS=
ADD_CCFLAGS=
ADD_LDFLAGS=
ADD_LDLIBS=
CLEAN=
CLEANDIRS=
DISTCLEAN=
TINOCOPY=
# TINOINC=tino_common.h
# TINOLIB=tino/lib.h
INSTALLPATH=/usr/local
# DBG_CFLAGS=
#DBG_CCFLAGS=
#DBG_LDFLAGS=
# DBG_LDLIBS=-lefence
# STD_CFLAGS=-g -Wall -O3
#STD_CCFLAGS=-g -Wall -O3
#STD_LDFLAGS=
# STD_LDLIBS=-lstdc++
Makefile::
$(MAKE) -C tino tino HERE="$(PWD)"
install::
mkdir -p -m755 /etc/suid.conf.d
chown 0:0 $(INSTALLPATH)/bin/suid /etc/suid.conf.d
chmod 6555 $(INSTALLPATH)/bin/suid
if [ -f '/etc/$(CONF)' ]; then install --backup=t --compare -m644 -o0 -g0 '$(CONF)' '/etc/$(CONF).dist'; else install -m644 -o0 -g0 '$(CONF)' '/etc/$(CONF)'; fi
install --backup=t --compare -m644 -o0 -g0 -t/etc/suid.conf.d/ suid.conf.d.example/*.ex