/[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.3 - (hide annotations)
Sun Mar 4 01:38:23 2001 UTC (16 years, 7 months ago) by bertho
Branch: MAIN
CVS Tags: REL_1_1_1, REL_1_1_0
Changes since 1.2: +16 -5 lines
Major update of the code.
- Complete new method of getting the revision structure by directly
  reading the rcs/cvs file. This should also speed things a bit
  because no external program needs to be called anymore.
  This also means that "remote-graphs" are no longer a possible
  extension of the program. But, who cares.
- Implemented branch-kerning to save place. The images are now
  much smaller in width, dependent on the settings of the exterior
  margins.
- Fixed disjoint braches by reading the structure direct from the
  rcs/cvs file. The revision/branch structure is no longer determined
  from the revision numbers, but solely from the rcs/cvs file structure.
- Fixed display of branches with no revisions attached to them. These
  only have a tag describing the new branch.
1 bertho 1.1 # Directories
2     prefix = @prefix@
3     ETCDIR = $(prefix)/etc
4    
5     # Set to your utilities
6     CC = @CC@
7     LEX = @LEX@
8     YACC = @YACC@
9     RM = rm -f
10    
11     LIBS = @LDFLAGS@
12     CFLAGS = @CFLAGS@ -DETCDIR=\"$(ETCDIR)\"
13 bertho 1.3 YACCFLAGS= -t
14     LEXFLAGS= @LEXFLAGS@ -d #-b
15 bertho 1.1
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 bertho 1.3 lex.yy.c\
26     rcs.tab.c\
27     lex.rcs.c
28 bertho 1.1
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 bertho 1.3 cvsgraph.o: cvsgraph.c config.h cvsgraph.h utils.h readconf.h rcs.h
39 bertho 1.1 utils.o: utils.c utils.h readconf.h
40    
41     y.tab.o: y.tab.c cvsgraph.h utils.h readconf.h
42 bertho 1.2 lex.yy.o: lex.yy.c y.tab.h readconf.h utils.h
43 bertho 1.3 rcsy.tab.o: rcsy.tab.c utils.h rcs.h
44 bertho 1.1
45     y.tab.c y.tab.h: confy.y
46 bertho 1.3 $(YACC) $(YACCFLAGS) -d confy.y
47 bertho 1.1
48     lex.yy.c: confl.l
49 bertho 1.3 $(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 bertho 1.1
57     clean::
58 bertho 1.3 $(RM) *.o $(TARGET) $(GENSRCS) y.tab.h rcs.tab.h
59 bertho 1.2
60     distclean: clean
61     $(RM) config.cache config.status config.log Makefile config.h
62    

  ViewVC Help
Powered by ViewVC 1.1.0 with CvsGraph 1.7.0