~ubuntu-branches/ubuntu/vivid/cproto/vivid

« back to all changes in this revision

Viewing changes to Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Kenneth J. Pronovici
  • Date: 2004-03-30 19:58:33 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040330195833-loh9sgce2as79j67
Tags: 4.7c-1
* New upstream release.
  - Includes equivalent of patch as used to close #228801 (see below).
  - Supports -X option to filter out unwanted definitions (closes: #235824).
* Now configure using --enable-llib option, so we don't need lint installed.
* Added gcc to Depends: line since -X option requires GCC to work; I assume
  most users will already have gcc installed anyway, if they are developers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# $Id: Makefile.in,v 4.7.1.4 2000/08/10 11:09:24 Carsten.Leonhardt Exp tom $
 
1
# $Id: Makefile.in,v 4.8.1.4 2004/03/26 00:34:47 tom Exp $
2
2
#
3
3
# UNIX template-makefile for C prototype generator
4
4
 
5
5
THIS = cproto
6
 
RELEASE = 4_6d
 
6
RELEASE = 4_7c
7
7
 
8
8
#### Start of system configuration section. ####
9
9
 
21
21
INSTALL_DATA    = @INSTALL_DATA@
22
22
 
23
23
DEFINES         =
 
24
EXTRA_CFLAGS    = @EXTRA_CFLAGS@
24
25
CPPFLAGS        = -I$(srcdir) $(DEFINES) -DHAVE_CONFIG_H @CPPFLAGS@
25
 
CFLAGS          = @CFLAGS@ $(CPPFLAGS)
 
26
CFLAGS          = @CFLAGS@ $(CPPFLAGS) $(EXTRA_CFLAGS)
26
27
LIBS            = @LIBS@ @LEXLIB@
27
28
 
28
29
prefix          = @prefix@
92
93
uninstall:
93
94
        - rm -f $(bindir)/$(THIS) $(mandir)/$(THIS).$(manext)
94
95
 
 
96
.c.o:
 
97
        @RULE_CC@
 
98
        @ECHO_CC@$(CC) -c $(CFLAGS) $<
 
99
 
95
100
$(THIS) : $(OBJECTS)
96
 
        $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(OBJECTS) $(LIBS)
 
101
        @ECHO_LD@$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(OBJECTS) $(LIBS)
97
102
 
98
103
y.tab.c : grammar.y
99
104
        $(YACC) $(srcdir)/grammar.y
106
111
 
107
112
mostlyclean :
108
113
        - rm -f core .nfs* *.o *.bak *.BAK *.log *.man *.out $(JUNK) default.h
109
 
        - rm -f Part?? part.*
110
114
 
111
115
clean : mostlyclean
112
116
        - rm -f $(THIS)
113
117
        cd testing; $(MAKE) $@
114
118
 
115
119
distclean : clean
116
 
        - rm -f stamp-h config.log config.cache config.status config.h Makefile
 
120
        - rm -f config.log config.cache config.status config.h Makefile
117
121
        - rm -f .version .fname
118
122
        cd testing; $(MAKE) $@
119
123
 
124
128
check:  $(THIS)
125
129
        cd testing; $(MAKE) run_test
126
130
 
127
 
# configure might not change config.h
128
 
config.h : stamp-h
129
 
stamp-h : config.status
130
 
        ./config.status
131
 
 
132
 
Makefile: Makefile.in config.status
133
 
        ./config.status
134
 
 
135
 
config.status : configure
136
 
        ./config.status --recheck
137
 
 
138
 
configure : configure.in aclocal.m4
139
 
        autoconf
140
 
 
141
131
# I keep my sources in RCS, and assign a symbolic release to the current patch
142
132
# level.  The 'manifest' script knows how to build a list of files for a given
143
 
# revision.
 
133
# revision -TD
144
134
MANIFEST:
145
135
        manifest -rv$(RELEASE) \
146
136
                $(THIS).man testing/case*.dcl testing/case*.bat
158
148
        tar -cf - `cat .fname` | gzip >`cat .fname`.tgz
159
149
        rm -rf `cat .fname` .fname .files
160
150
 
161
 
# Some of the output will be uuencoded because the test scripts include
162
 
# <CR><LF> terminated ".bat" files for MS-DOS.
163
 
dist-shar: MANIFEST
164
 
        - rm -f .fname .files
165
 
        echo '$(THIS)-$(RELEASE)' >.fname
166
 
        cat MANIFEST | grep ' ' | egrep -v ' subdirectory$$' | sed -e 's/\ .*//' | uniq >.files
167
 
        shar -M -n`cat .fname` -opart -l50 `cat .files`
168
 
        - rm -f .fname .files
169
 
 
170
 
# This uses Rick Salz's cshar to make a set of shar-files.
171
 
# (It'll clobber the version info in MANIFEST, and doesn't restore timestamps,
172
 
# but that's another bag of worms).
173
 
dist-cshar: MANIFEST
174
 
        makekit -m
175
 
 
176
151
default.h: $(C_FILES) lex.yy.c
177
152
        ./$(THIS) -e -v -m -M ARGS -d $(DEFINES) $(C_FILES) grammar.y >$@
178
153