/[CvsGraph]/cvsgraph/Makefile.in
ViewVC logotype

Annotate of /cvsgraph/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.5 - (show annotations)
Thu Mar 22 21:42:48 2001 UTC (16 years, 7 months ago) by bertho
Branch: MAIN
CVS Tags: REL_1_1_2, REL_1_1_3
Changes since 1.4: +1 -1 lines
- Dead tags (i.e. a tag without a valid revision or branch) does no
  longer print a message in quiet mode.
- Added expansions for cvsroot and cvsmodule without trailing '/'
- Remove core-files in a 'make clean'.
- Fixed default config file to use entities < and >.
1 # Directories
2 prefix = @prefix@
3 ETCDIR = @sysconfdir@
4
5 # Set to your utilities
6 CC = @CC@
7 LEX = @LEX@
8 YACC = @YACC@
9 RM = rm -f
10
11 LIBS = @LIBS@
12 CFLAGS = @CFLAGS@ -DETCDIR=\"$(ETCDIR)\"
13 YACCFLAGS= -t
14 LEXFLAGS= @LEXFLAGS@ -d #-b
15
16 # Everything below here should be alright
17 TARGET = cvsgraph
18
19 CSRCS =\
20 cvsgraph.c\
21 utils.c
22
23 GENSRCS =\
24 y.tab.c\
25 lex.yy.c\
26 rcs.tab.c\
27 lex.rcs.c
28
29 COBJS = $(CSRCS:.c=.o)
30 GENOBJS = $(GENSRCS:.c=.o)
31
32 .c.o:
33 $(CC) $(CFLAGS) -c -o $*.o $<
34
35 $(TARGET): $(COBJS) $(GENOBJS)
36 $(CC) $(CFLAGS) -o $(TARGET) $(COBJS) $(GENOBJS) $(LIBS)
37
38 cvsgraph.o: cvsgraph.c config.h cvsgraph.h utils.h readconf.h rcs.h
39 utils.o: utils.c utils.h readconf.h
40
41 y.tab.o: y.tab.c cvsgraph.h utils.h readconf.h
42 lex.yy.o: lex.yy.c y.tab.h readconf.h utils.h
43 rcsy.tab.o: rcsy.tab.c utils.h rcs.h
44
45 y.tab.c y.tab.h: confy.y
46 $(YACC) $(YACCFLAGS) -d confy.y
47
48 lex.yy.c: confl.l
49 $(LEX) $(LEXFLAGS) confl.l
50
51 rcs.tab.c rcs.tab.h: rcsy.y
52 $(YACC) $(YACCFLAGS) -d -brcs -prcs rcsy.y
53
54 lex.rcs.c: rcsl.l
55 $(LEX) $(LEXFLAGS) -Prcs rcsl.l
56
57 clean::
58 $(RM) core *.o $(TARGET) $(GENSRCS) y.tab.h rcs.tab.h
59
60 distclean: clean
61 $(RM) config.cache config.status config.log Makefile config.h

  ViewVC Help
Powered by ViewVC 1.1.0 with CvsGraph 1.7.0