~linuxjedi/drizzle/trunk-bug-667053

« back to all changes in this revision

Viewing changes to dbug/Makefile.am

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright (C) 2000, 2002, 2004-2006 MySQL AB
 
2
 
3
# This library is free software; you can redistribute it and/or
 
4
# modify it under the terms of the GNU Library General Public
 
5
# License as published by the Free Software Foundation; version 2
 
6
# of the License.
 
7
 
8
# This library is distributed in the hope that it will be useful,
 
9
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
10
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
11
# Library General Public License for more details.
 
12
 
13
# You should have received a copy of the GNU Library General Public
 
14
# License along with this library; if not, write to the Free
 
15
# Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 
16
# MA 02111-1307, USA
 
17
 
 
18
INCLUDES =              -I$(top_builddir)/include -I$(top_srcdir)/include
 
19
LDADD =                 libdbug.a ../mysys/libmysys.a ../strings/libmystrings.a
 
20
pkglib_LIBRARIES =      libdbug.a
 
21
noinst_HEADERS =        dbug_long.h
 
22
libdbug_a_SOURCES =     dbug.c sanity.c
 
23
EXTRA_DIST =            CMakeLists.txt example1.c example2.c example3.c \
 
24
                        user.r monty.doc dbug_add_tags.pl \
 
25
                        my_main.c main.c factorial.c dbug_analyze.c \
 
26
                                                CMakeLists.txt
 
27
NROFF_INC =             example1.r example2.r example3.r main.r \
 
28
                        factorial.r output1.r output2.r output3.r \
 
29
                        output4.r output5.r
 
30
CLEANFILES =            $(NROFF_INC) user.t user.ps
 
31
 
 
32
 
 
33
# Must be linked with libs that are not compiled yet
 
34
noinst_PROGRAMS =       factorial dbug_analyze
 
35
factorial_SOURCES =     my_main.c factorial.c
 
36
dbug_analyze_SOURCES =  dbug_analyze.c
 
37
 
 
38
all:            user.t user.ps
 
39
 
 
40
user.t:         user.r $(NROFF_INC)
 
41
                -nroff -mm user.r > $@
 
42
 
 
43
user.ps:        user.r $(NROFF_INC)
 
44
                -groff -mm user.r > $@
 
45
 
 
46
output1.r:      factorial
 
47
                ./factorial 1 2 3 4 5 | cat > $@
 
48
 
 
49
output2.r:      factorial
 
50
                ./factorial -\#t:o 2 3 | cat >$@
 
51
 
 
52
output3.r:      factorial
 
53
                ./factorial -\#d:t:o 3 | cat >$@
 
54
 
 
55
output4.r:      factorial
 
56
                ./factorial -\#d,result:o 4 | cat >$@
 
57
 
 
58
output5.r:      factorial
 
59
                ./factorial -\#d:f,factorial:F:L:o 3 | cat >$@
 
60
.c.r:
 
61
                @RM@ -f $@
 
62
                @SED@ -e 's!\\!\\\\!g' $< > $@
 
63
 
 
64
# Don't update the files from bitkeeper
 
65
%::SCCS/s.%