/[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.9 - (show annotations)
Thu Jul 15 09:42:58 2004 UTC (13 years, 4 months ago) by bertho
Branch: MAIN
CVS Tags: REL_1_6_1, REL_1_4_1, REL_1_5_1, REL_1_5_0, REL_1_5_2, REL_1_6_2, REL_1_6_0, source_head_20080521
Branch point for: svn-integration, automake-dev1
Changes since 1.8: +1 -1 lines
Fix the sizeof(void *) vs sizeof(int) problem. Now look for int, long and long long in configure.
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)\" -DINTTYPE="@INTTYPE@"
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 readconf.c
23
24 GENSRCS =\
25 rcs.tab.c\
26 lex.rcs.c
27
28 COBJS = $(CSRCS:.c=.o)
29 GENOBJS = $(GENSRCS:.c=.o)
30
31 .c.o:
32 $(CC) $(CFLAGS) -c -o $*.o $<
33
34 all: $(TARGET)
35
36 $(TARGET): $(COBJS) $(GENOBJS)
37 $(CC) $(CFLAGS) -o $(TARGET) $(COBJS) $(GENOBJS) $(LIBS)
38
39 cvsgraph.o: cvsgraph.c config.h cvsgraph.h utils.h readconf.h rcs.h
40 utils.o: utils.c utils.h readconf.h
41 readconf.o: readconf.c readconf.h utils.h cvsgraph.h
42
43 lex.rcs.o: lex.rcs.c rcs.tab.h readconf.h utils.h rcs.h
44 rcs.tab.o: rcs.tab.c utils.h rcs.h cvsgraph.h
45
46 rcs.tab.c rcs.tab.h: rcsy.y
47 $(YACC) $(YACCFLAGS) -d -brcs -prcs rcsy.y
48
49 lex.rcs.c: rcsl.l
50 $(LEX) $(LEXFLAGS) -Prcs rcsl.l
51
52 clean::
53 $(RM) core *.o $(TARGET) $(GENSRCS) rcs.tab.h
54
55 distclean: clean
56 $(RM) config.cache config.status config.log Makefile config.h

  ViewVC Help
Powered by ViewVC 1.1.0 with CvsGraph 1.7.0