root/trunk/Makefile.in

Revision 46, 1.4 kB (checked in by esproul, 8 years ago)

Fix missing install

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
Line 
1 prefix=@prefix@
2 exec_prefix=@exec_prefix@
3 bindir=@bindir@
4 sbindir=@sbindir@
5 libdir=@libdir@
6 libexecdir=@libexecdir@
7 mandir=@mandir@
8 mansubdir=@mansubdir@
9 sysconfdir=@sysconfdir@
10 piddir=@piddir@
11 srcdir=@srcdir@
12 top_srcdir=@top_srcdir@
13
14 DESTDIR=
15 PERL=@PERL@
16 YACC=@YACC@
17 LEX=@LEX@
18 AR=@AR@
19 RANLIB=@RANLIB@
20 LN_S=@LN_S@
21 INSTALL=@INSTALL@
22
23 CC=@CC@
24 CPPFLAGS=@CPPFLAGS@ -DPERL
25 CFLAGS=@CFLAGS@ `$(PERL) -MExtUtils::Embed -e ccopts`
26 LDFLAGS=@LDFLAGS@ `$(PERL) -MExtUtils::Embed -e ldopts`
27 LIBS=@LIBS@
28
29 PERL_OBJS=perl.o perlxsi.o
30 OBJS=spreadlogd.o lex.sld_.o y.tab.o config.o hash.o timefuncs.o \
31         module.o nethelp.o skiplist.o echash.o $(PERL_OBJS)
32
33 all:    spreadlogd
34
35 parser: lex.sld_.c y.tab.c y.tab.h
36
37 lex.sld_.c:     config_gram.l
38         $(LEX) -Psld_ config_gram.l
39 y.tab.c y.tab.h:        config_gram.y
40         $(YACC) -p sld_ -d config_gram.y
41 lex.sld_.o: lex.sld_.c y.tab.h
42 y.tab.o: y.tab.c config.h
43
44 perlxsi.c:
45         $(PERL) -MExtUtils::Embed -e xsinit -- -o perlxsi.c
46
47 .c.o:
48         $(CC) $(CPPFLAGS) $(CFLAGS) $(INCLUDES) -c $<
49
50 spreadlogd:     $(OBJS)
51         $(CC) -g -o $@ $(OBJS) $(LDFLAGS) $(LIBS)
52
53 install:        spreadlogd
54         $(srcdir)/mkinstalldirs $(DESTDIR)$(sbindir)
55         $(INSTALL) -m 0755 spreadlogd $(DESTDIR)$(sbindir)/spreadlogd
56         $(srcdir)/mkinstalldirs $(DESTDIR)$(sysconfdir)
57         $(INSTALL) -m 0755 spreadlogd.conf $(DESTDIR)$(sysconfdir)/spreadlogd.conf.sample
58
59 clean:
60         rm -f *~ *.o spreadlogd libskiplist.a y.tab.h y.tab.c lex.sld_.c \
61                 perlxsi.c
Note: See TracBrowser for help on using the browser.