File: Makefile.old

package info (click to toggle)
graphviz 2.8-3%2Betch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 20,480 kB
  • ctags: 22,071
  • sloc: ansic: 163,260; cpp: 36,565; sh: 25,024; yacc: 2,358; tcl: 1,808; makefile: 1,745; cs: 805; perl: 801; ml: 649; awk: 160; lex: 153; python: 105; ruby: 32; php: 6
file content (58 lines) | stat: -rw-r--r-- 1,673 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#	libcdt.a old make makefile
#	Written by Kiem-Phong Vo (03/18/1998)
#   Modified for graphviz by erg (5 Oct 2000)

ROOT=../..

include $(ROOT)/Config.mk
include $(ROOT)/makearch/$(ARCH)

CXFLAGS=
CCMODE= -O
DEFINES= $(CCMODE) -I. $(CXFLAGS)

HDRS =	cdt.h dthdr.h
SRCS =	dtclose.c dtdisc.c dtflatten.c dthash.c dtmethod.c dtopen.c dtsize.c \
	dtextract.c dtrestore.c dtlist.c dtstat.c dttree.c dtview.c \
	dtrenew.c dtwalk.c dtstrhash.c
OBJS =	dtclose.o dtdisc.o dtflatten.o dthash.o dtmethod.o dtopen.o dtsize.o \
	dtextract.o dtrestore.o dtlist.o dtstat.o dttree.o dtview.o \
	dtrenew.o dtwalk.o dtstrhash.o
SRC_P=	Cdt_p/tsearch.c Cdt_p/hsearch.c
OBJ_P=	tsearch.o hsearch.o

all: libcdt.a

cleanup :
	rm -f ast_common.h

libcdt.a : ast_common.h $(OBJS)
	$(RM) libcdt.a
	$(AR) cr libcdt.a $(OBJS)
	-(ranlib libcdt.a; exit 0) >/dev/null 2>&1

tsearch.o : Cdt_p/tsearch.c
	$(CC) -c $(DEFINES) Cdt_p/tsearch.c

hsearch.o : Cdt_p/hsearch.c
	$(CC) -c $(DEFINES) Cdt_p/hsearch.c

ast_common.h : features/common
	$(ROOT)/iffe - set cc $(CC) $(CCMODE) $(CXFLAGS) : run features/common > ast_common.h

$(OBJS) : ast_common.h

install : libcdt.a
	$(MKPATH) $(LIBDIR)
	$(MKPATH) $(INCDIR)
	-(rm -f $(INCDIR)/cdt.h $(INCDIR)/dict.h; exit 0) >/dev/null 2>&1
	-(rm -f $(LIBDIR)/libcdt.a $(LIBDIR)/libdict.a; exit 0) >/dev/null 2>&1
	cp cdt.h ast_common.h $(INCDIR); ln $(INCDIR)/cdt.h $(INCDIR)/dict.h
	cp libcdt.a $(LIBDIR); ln $(LIBDIR)/libcdt.a $(LIBDIR)/libdict.a
	-(ranlib $(LIBDIR)/libcdt.a; exit 0) >/dev/null 2>&1

clean :
	-(rm ast_common.h $(OBJS) libcdt.a FEATURE/*; exit 0) >/dev/null 2>&1

distclean :
	-(rm ast_common.h $(OBJS) libcdt.a FEATURE/*; exit 0) >/dev/null 2>&1