"Fossies" - the Fresh Open Source Software Archive 
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 # Makefile for ident2
2 # Copyright (C) 1999 Michael Bacarella
3
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2, or (at your option)
7 # any later version.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
13
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17
18 top_srcdir = @top_srcdir@
19 srcdir = @srcdir@
20 VPATH = @srcdir@
21
22 .SUFFIXES:
23 .SUFFIXES: .c .o
24
25 OPT=-g -O2
26
27 AR = ar
28 AR_FLAGS = rc
29 RANLIB = @RANLIB@
30
31 CC = @CC@
32 CFLAGS = -Wall -O2 @CFLAGS@
33 INSTALL = @INSTALL@
34 prefix = @prefix@
35 exec_prefix = @exec_prefix@
36 doc_format = @doc_format@
37
38 PROG = ident2
39 BINDIR = @prefix@/sbin
40 MANDIR = @prefix@/man/man8
41
42 SOURCES=ident2.c common.c daemon.c m_${MACHTARGET}.c
43 OBJS=ident2.o common.o daemon.o machine.o
44 DOC=ident2.8
45 LIBS=@LIBS@
46
47 all: $(PROG)
48
49 install: all
50 $(top_srcdir)/util/mkinstalldirs $(prefix)/sbin
51 $(top_srcdir)/util/mkinstalldirs $(prefix)/share/man/man8
52 $(INSTALL) $(PROG) $(prefix)/sbin
53 # We get Debian to install the manpages.
54 # $(INSTALL) $(DOC) $(prefix)/share/man/man8
55
56 uninstall:
57 /bin/rm -f $(prefix)/sbin/$(PROG)
58 /bin/rm -f $(prefix)/share/man/$(DOC)
59
60 $(PROG): $(OBJS)
61 $(CC) $(CFLAGS) -o $(PROG) $(OBJS) $(LIBS)
62
63 clean:
64 /bin/rm -f core *.o $(OBJS) $(PROG)
65
66 distclean: clean
67 /bin/rm -f Makefile config.h config.status config.cache config.log
68
69 mostlyclean: clean
70
71 maintainer-clean: clean
72
73 #PROG.doc: PROG.
74 # makeinfo PROG.texi
75
76 # automatic re-running of configure if the ocnfigure.in file has changed
77 #configure: configure.in
78 # autoconf
79
80 # autoheader might not change config.h.in, so touch a stamp file
81 #config.h.in: stamp-h.in
82 #stamp-h.in: configure.in
83 # autoheader
84 # echo timestamp > stamp-h.in
85 #
86 #config.h: stamp-h
87 #stamp-h: config.h.in config.status
88 # ./config.status
89
90 #Makefile: Makefile.in config.status
91 # ./config.status
92
93 #config.status: configure
94 # ./config.status --recheck