~ubuntu-branches/ubuntu/precise/graphviz/precise-security

« back to all changes in this revision

Viewing changes to cmd/gvpr/Makefile.old

  • Committer: Bazaar Package Importer
  • Author(s): David Claughton
  • Date: 2010-03-24 22:45:18 UTC
  • mfrom: (1.2.7 upstream) (6.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20100324224518-do441tthbqjaqjzd
Tags: 2.26.3-4
Add patch to fix segfault in circo. Backported from upstream snapshot
release.  Thanks to Francis Russell for his work on this.
(Closes: #575255)

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
LOC_INCDIR=$(LOC_LIB)/include
11
11
LOC_LIBDIR=$(LOC_LIB)/lib
12
12
 
13
 
INCS = -I. -I$(ROOT) -I$(LOC_INCDIR) -I$(LOC_LIB)/agraph -I$(LOC_LIB)/cdt
14
 
 
15
 
DEFINES = -DHAVE_CONFIG_H
16
 
 
17
 
OBJS = gvpr.o parse.o compile.o gprstate.o actions.o queue.o
18
 
 
19
 
compile.o : gdefs.h
20
 
 
21
 
gdefs.h : gprdata mkdefs
22
 
        mkdefs gdefs.h < gprdata
23
 
 
24
 
mkdefs : mkdefs.o
25
 
        $(CC) $(LDFLAGS) mkdefs.o -o $@
26
 
 
27
 
GLIBS = -L$(LOC_LIB)/agraph -L$(LOC_LIB)/cdt -lagraph -lcdt
28
 
LIBS = -L$(LOC_LIBDIR) -lexpr -last -lvmalloc -lsfio -lingraphs $(GLIBS) -lm
29
 
 
30
 
gvpr : $(OBJS) $(LOC_LIBDIR)/libexpr.a
 
13
INCS = -I. -I$(ROOT) -I$(LOC_INCDIR) -I$(LOC_LIB)/gvpr -I$(LOC_LIB)/cgraph -I$(LOC_LIB)/cdt
 
14
 
 
15
DEFINES = -DHAVE_CONFIG_H -DUSE_CGRAPH
 
16
 
 
17
OBJS = gvprmain.o
 
18
 
 
19
LIBS = -L$(LOC_LIB)/gvpr -lgvpr \
 
20
       -L$(LOC_LIB)/expr -lexpr \
 
21
       -L$(LOC_LIB)/ast -last \
 
22
       -L$(LOC_LIB)/sfio -lsfio \
 
23
       -L$(LOC_LIB)/vmalloc -lvmalloc \
 
24
       -L$(LOC_LIB)/ingraphs -lingraphs \
 
25
       -L$(LOC_LIB)/cgraph -lcgraph \
 
26
       -L$(LOC_LIB)/cdt -lcdt -lm
 
27
 
 
28
gvpr : $(OBJS)
31
29
        $(CSLD) $(LDFLAGS) $(OBJS) $(LIBS) -o $@
32
30
 
33
31
$(OBJS) : gdefs.h
39
37
        $(INSTALL) gvpr.1 $(MANDIR)
40
38
 
41
39
clean :
42
 
        $(RM) core gdefs.h *.o 
 
40
        $(RM) core *.o 
43
41
 
44
42
distclean : clean
45
 
        $(RM) mkdefs $(ALL)
 
43
        $(RM) $(ALL)