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 (38 lines) | stat: -rw-r--r-- 789 bytes parent folder | download | duplicates (6)
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
#   libast.a (short version) make file
#   Written by Emden R. Gansner (1 Mar 2001)

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

LOC_INCDIR=../include
LOC_LIBDIR=../lib

INCS= -I. -I../sfio -I$(ROOT)

DEFINES = -DHAVE_CONFIG_H

OBJS = chrtoi.o chresc.o error.o fmtesc.o fmtbuf.o \
       pathcanon.o pathfind.o pathpath.o pathgetlink.o \
       pathaccess.o pathbin.o pathcat.o pathexists.o \
       strcopy.o stresc.o strmatch.o strton.o

all : install

install : libast.a
	$(MKPATH) $(LOC_INCDIR)
	cp align.h ast.h error.h sfstr.h $(LOC_INCDIR)
	$(MKPATH) $(LOC_LIBDIR)
	cp libast.a $(LOC_LIBDIR)
	-(ranlib $(LOC_LIBDIR)/libast.a; exit 0) >/dev/null 2>&1

libast.a : $(OBJS)
	$(AR) cr libast.a $(OBJS)

clean : 
	$(RM) *.o

distclean : clean
	$(RM) libast.a