File: Makefile

package info (click to toggle)
sxid 4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 244 kB
  • ctags: 139
  • sloc: ansic: 1,505; sh: 157; makefile: 109
file content (46 lines) | stat: -rw-r--r-- 1,384 bytes parent folder | download
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
# sxid - suid, sgid file and directory checking
#
# Copyright (C) 1999, 2000, 2002 Ben Collins <bcollins@debian.org>
#
# This is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2,
# or (at your option) any later version.
#
# This is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public
# License along with sxid; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301 USA.

all: configure source/Makefile
	cd source && $(MAKE) all

clean:
	-cd source && $(MAKE) clean

deb:
	debian/rules binary-arch

distclean: clean
	-rm -f config.log config.status source/Makefile config.cache \
		source/config.h docs/sxid.1 docs/sxid.conf.5 `find . -name core`

cvsclean: distclean
	-rm -f configure

install: all
	cd source && $(MAKE) install DESTDIR=$(DESTDIR)

source/Makefile: source/Makefile.in source/config.h.in docs/sxid.1.in docs/sxid.conf.5.in config.status
	@./config.status

config.status:
	@./configure --prefix=/usr --sysconfdir=/etc

configure: configure.in
	autoconf