~ubuntu-branches/ubuntu/lucid/graphviz/lucid-security

« back to all changes in this revision

Viewing changes to agraph/nmakefile

  • Committer: Bazaar Package Importer
  • Author(s): Stephen M Moraco
  • Date: 2002-02-05 18:52:12 UTC
  • Revision ID: james.westby@ubuntu.com-20020205185212-8i04c70te00rc40y
Tags: upstream-1.7.16
ImportĀ upstreamĀ versionĀ 1.7.16

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
include ../Info
 
3
 
 
4
VERSION=="agraph$(_VERSION_NUM)"
 
5
 
 
6
/*
 
7
if "$(HAVE_AST)"
 
8
        :PACKAGE:       ast
 
9
else
 
10
        PACKAGE_cdt = ../cdt
 
11
        :PACKAGE:       cdt
 
12
end
 
13
*/
 
14
 
 
15
if "$(DEBUG)"
 
16
        MEMDEBUG==1
 
17
end
 
18
 
 
19
if "$(HAVE_VMALLOC)"
 
20
        .SOURCE: ../vmalloc
 
21
        LIBS := $(LIBS) -lvmalloc
 
22
end
 
23
 
 
24
LEX=flex -8     /* required */
 
25
 
 
26
GRAPH = apply.c attr.c edge.c agerror.c flatten.c \
 
27
        grammar.y graph.c id.c imap.c io.c mem.c \
 
28
        node.c obj.c pend.c rec.c refstr.c scan.l \
 
29
        subg.c utils.c write.c agraph.3
 
30
 
 
31
agraph $(_VERSION_NUM) :LIBRARY: $(GRAPH)
 
32
 
 
33
YACCFIX.grammar = aag
 
34
/* YYPREFIX.grammar = aag grammar.y scan.l */
 
35
 
 
36
LEX.FIX : .AFTER
 
37
        $(SED) "s/yy/aag/g" < $(<<:N=*.c) > y.tab.c
 
38
        mv y.tab.c $(<<:N=*.c)
 
39
 
 
40
%.c : %.l LEX.FIX 
 
41
 
 
42
$(INCLUDEDIR) :INSTALLDIR: agraph.h
 
43
 
 
44
::      README makefile dotdge.c cmpnd.c tester.c vmstub.h malloc.h main.c