summaryrefslogtreecommitdiff
path: root/apps/gperf/tests/Makefile.am
blob: c5ee462395671302a0bcdf454cffa2bbeda209c4 (plain)
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
##---------------------------------------------------------------------------
##       $Id$
##
## Copyright (C) 1989, 1992, 1993 Free Software Foundation, Inc.
## Original makefile written by Douglas C. Schmidt (schmidt@ics.uci.edu)
## This Makefile.am written by Ossama Othman (othman@astrosun.tn.cornell.edu)
## 
## This file is part of GNU GPERF.
## 
## GNU GPERF 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 1, or (at your option)
## any later version.
## 
## GNU GPERF 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 GNU GPERF; see the file COPYING.  If not, write to the Free
## Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111, USA. 
##
##       Makefile for GPERF tests
##---------------------------------------------------------------------------

##
##  Process this file with automake to create Makefile.in
##

## The number in AUTOMAKE_OPTIONS is the minimum required version automake
## needed to process this file.
AUTOMAKE_OPTIONS = 1.4


noinst_PROGRAMS = cout aout cppout preout m3out pout iout iout2 tout

cout_SOURCES = cinset.cpp test.cpp

aout_SOURCES = adainset.cpp test.cpp

cppout_SOURCES = cppinset.cpp test.cpp

preout_SOURCES = preinset.cpp test.cpp

m3out_SOURCES = m3inset.cpp test.cpp

pout_SOURCES = pinset.cpp test.cpp

iout_SOURCES = iinset.cpp test.cpp

iout_SOURCES = iinset2.cpp test.cpp

tout_SOURCES = tinset.cpp test.cpp

BUILT_SOURCES = \
        cinset.cpp \
        adainset.cpp \
        cppinset.cpp \
        preinset.cpp \
        m3inset.cpp \
        pinset.cpp \
        iinset.cpp \
        iinset2.cpp \
        tinset.cpp

EXTRA_DIST = \
        gpc.gperf \
        gplus.gperf \
        irc.gperf \
        makeinfo.gperf \
        modula2.gperf \
        ada-pred.exp \
        ada-res.exp \
        cpp-res.exp \
        c.exp \
        corba.exp \
        idl.exp \
        modula.exp \
        pascal.exp \
        test-1.exp \
        test-2.exp \
        test-3.exp \
        test-4.exp \
        test-5.exp \
        test-6.exp \
        test-7.exp

cinset.cpp: c.gperf
        $(GPERF) -a -p -c -l -S1 -o $(srcdir)/c.gperf > cinset.cpp

adainset.cpp: ada.gperf
        $(GPERF) -a -k1,4,'$$' $(srcdir)/ada.gperf > adainset.cpp

cppinset.cpp: cpp.gperf
        $(GPERF) -a -D $(srcdir)/cpp.gperf > cppinset.cpp

preinset.cpp: adadefs.gperf
        $(GPERF) -a -p -D -k1,'$$' -s 2 -o $(srcdir)/adadefs.gperf > preinset.cpp

m3inset.cpp: modula3.gperf
        $(GPERF) -a -k1,2,'$$' -o $(srcdir)/modula3.gperf > m3inset.cpp

pinset.cpp: pascal.gperf
        $(GPERF) -a -o -S2 -p < $(srcdir)/pascal.gperf > pinset.cpp

iinset.cpp: idl.gperf
        $(GPERF) -m -M -c -C -D -S1 -E -T -a -o -p < $(srcdir)/idl.gperf > iinset.cpp

iinset2.cpp: idl.gperf
        $(GPERF) -m -M -c -C -D -E -T -a -o -p < $(srcdir)/idl.gperf > iinset.cpp

tinset.cpp: corba.gperf
        $(GPERF) -a -o < $(srcdir)/corba.gperf > tinset.cpp