Subversion Repositories tendra.SVN

Rev

Rev 59 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 59 Rev 114
Line 2... Line 2...
2
 
2
 
3
# Standard directories and files
3
# Standard directories and files
-
 
4
 
-
 
5
 
-
 
6
include ../../../defs.mk
-
 
7
 
4
 
8
 
5
SRC1=${.CURDIR}/templ
9
SRC1=${.CURDIR}/templ
6
SPEC=${BASE_DIR}/src/lib/tdf/def_4_1.db
10
SPEC=${BASE_DIR}/src/lib/tdf/def_4_1.db
7
 
11
 
8
# Standard variables
12
# Standard variables
Line 13... Line 17...
13
CCOPTS=		${TCCOPTS} -I${BASE_DIR}/${INCLUDE}
17
CCOPTS=		${TCCOPTS} -I${BASE_DIR}/${INCLUDE}
14
LIBS=
18
LIBS=
15
 
19
 
16
# Dependencies and construction rules
20
# Dependencies and construction rules
17
 
21
 
18
PROG=		tnc
22
PROG=tnc
19
 
23
 
20
OBJS=		alignment.o analyser.o bitstream.o check.o de_capsule.o\
24
OBJS=alignment.o analyser.o bitstream.o check.o de_capsule.o\
21
		de_unit.o decode.o enc_cap.o encode.o eval.o fetch.o file.o\
25
	de_unit.o decode.o enc_cap.o encode.o eval.o fetch.o file.o\
22
		help.o high.o main.o node.o read.o read_cap.o shape.o table.o\
26
	help.o high.o main.o node.o read.o read_cap.o shape.o table.o\
23
		tdf.o utility.o write.o
27
	tdf.o utility.o write.o
-
 
28
 
-
 
29
 
-
 
30
SOURCES=alignment.c analyser.c bitstream.c check.c de_capsule.c\
-
 
31
	de_unit.c decode.c enc_cap.c encode.c eval.c fetch.c file.c\
-
 
32
	help.c high.c main.c node.c read.c read_cap.c shape.c table.c\
-
 
33
	tdf.c utility.c write.c
-
 
34
 
-
 
35
OBJDIR=./o$(STAGE)
-
 
36
 
-
 
37
include ../../prog.mk
24
 
38
 
25
.c.o:
39
#.c.o:
26
	$(CC) -c $(CFLAGS) -o $@ $<
40
#	$(CC) -c $(CFLAGS) -o $@ $<
27
 
41
 
28
$(PROG): $(OBJS)
42
#$(PROG): $(OBJS)
29
	$(CC) -o $(PROG) $(LDFLAGS) $(OBJS)
43
#	$(CC) -o $(PROG) $(LDFLAGS) $(OBJS)
30
 
44
 
31
clean:
45
#clean:
32
	rm -f $(OBJS)
46
#	rm -f $(OBJS)
33
	rm -f $(PROG)
47
#	rm -f $(PROG)
34
 
48
 
35
 
49
 
36
install: $(PROG)
50
#install: $(PROG)
37
	mkdir -p $(INSTALL_BINDIR)
51
#	mkdir -p $(INSTALL_BINDIR)
38
	install $(PROG) $(INSTALL_BINDIR)/$(PROG)
52
#	install $(PROG) $(INSTALL_BINDIR)/$(PROG)
39
 
53
 
40
depend:
54
#depend:
41
	mkdep $(CFLAGS) *.c
55
#	mkdep $(CFLAGS) *.c
42
 
56
 
43
 
57
 
44
 
58
 
45
 
59
 
46
 
60
 
47
#MAKE_TDF=make_tdf
61
#MAKE_TDF=make_tdf
48
#
62
#
49
#auto : ${SRC}/tdf.o ${SRC}/tdf.h ${SRC}/check_exp.h
63
#auto : ${SRC}/tdf.o ${SRC}/tdf.h ${SRC}/check_exp.h
50
#
64
#
51
#${SRC}/tdf.o : ${SPEC} ${SRC1}/tdf.o
65
#${SRC}/tdf.o : ${SPEC} ${SRC1}/tdf.o
52
#	@${REMOVE} ${SRC}/tdf.o
66
#	@${REMOVE} ${SRC}/tdf.o
53
#	${MAKE_TDF} ${SPEC} ${SRC1}/tdf.o ${SRC}/tdf.o
67
#	${MAKE_TDF} ${SPEC} ${SRC1}/tdf.o ${SRC}/tdf.o
54
#
68
#
55
#${SRC}/tdf.h : ${SPEC} ${SRC1}/tdf.h
69
#${SRC}/tdf.h : ${SPEC} ${SRC1}/tdf.h
Line 62... Line 76...
62
#
76
#
63
#auto_clobber :
77
#auto_clobber :
64
#	${REMOVE} ${SRC}/tdf.c ${SRC}/tdf.h ${SRC}/check_exp.h
78
#	${REMOVE} ${SRC}/tdf.c ${SRC}/tdf.h ${SRC}/check_exp.h
65
 
79
 
66
#.include "../Makefile.inc"
80
#.include "../Makefile.inc"
67
include ../../../defs.mk
81
#include ../../../defs.mk
68
 
82