Subversion Repositories tendra.SVN

Rev

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

Rev 89 Rev 105
Line 4... Line 4...
4
SRC1=./errors
4
SRC1=./errors
5
 
-
 
6
# Standard variables
-
 
7
 
5
 
8
WARNS?=		2
6
WARNS?=		2
9
 
7
 
10
TCCOPTS=	-Yansi -Xs
8
TCCOPTS=	-Yansi -Xs
11
CCOPTS=		${TCCOPTS} -I${BASE_DIR}/${INCLUDE} -I${.CURDIR} -I${OBJ_SDIR}
9
CCOPTS=		${TCCOPTS} -I${BASE_DIR}/${INCLUDE} -I${.CURDIR} -I${OBJ_SDIR}
12
LIBS=
-
 
13
 
10
 
14
# Dependencies and construction rules
11
# Dependencies and construction rules
15
 
12
 
16
PROG=		tld
-
 
17
 
13
 
18
OBJS=		gen-errors.o\
14
SOURCES=gen-errors.c\
19
		arg-data.o arg-parse.o bistream.o bostream.o builder.o\
15
	arg-data.c arg-parse.c bistream.c bostream.c builder.c\
20
		capsule.o contents.o cstring-list.o cstring.o dalloc.o debug.o\
16
	capsule.c contents.c cstring-list.c cstring.c dalloc.c debug.c\
21
		dstring.o error-file.o error.o exception.o extract.o\
17
	dstring.c error-file.c error.c exception.c extract.c\
22
		file-name.o istream.o library.o linker.o main.o\
18
	file-name.c istream.c library.c linker.c main.c\
23
		map-entry.o map-table.o name-entry.o name-key.o name-table.o\
19
	map-entry.c map-table.c name-entry.c name-key.c name-table.c\
24
		nstring-list.o ostream.o rename-file.o shape-entry.o\
20
	nstring-list.c ostream.c rename-file.c shape-entry.c\
25
		shape-table.o syntax.o tdf-read.o tdf-write.o tdf.o\
21
	shape-table.c syntax.c tdf-read.c tdf-write.c tdf.c\
26
		unit-entry.o unit-table.o
22
	unit-entry.c unit-table.c
-
 
23
 
-
 
24
OBJDIR=./o$(STAGE)
-
 
25
PROG=tld
-
 
26
 
-
 
27
 
-
 
28
include ../../prog.mk
-
 
29
 
-
 
30
 
-
 
31
 
-
 
32
 
-
 
33
 
-
 
34
#.c.o:
-
 
35
#	$(CC) -c $(CFLAGS) -o $@ $<
-
 
36
 
-
 
37
#$(PROG): $(OBJS)
-
 
38
#	$(CC) -o $(PROG) $(LDFLAGS) $(OBJS)
-
 
39
 
-
 
40
 
27
 
41
 
28
.c.o:
-
 
29
	$(CC) -c $(CFLAGS) -o $@ $<
-
 
30
 
42
 
31
$(PROG): $(OBJS)
-
 
32
	$(CC) -o $(PROG) $(LDFLAGS) $(OBJS)
-
 
33
 
43
 
34
clean:
-
 
35
	rm -f $(OBJS)
-
 
36
	rm -f $(PROG)
-
 
37
 
44
 
38
install:
45
install:
39
	mkdir -p $(INSTALL_BINDIR)
46
	mkdir -p $(INSTALL_BINDIR)
40
	install $(PROG) $(INSTALL_BINDIR)/$(PROG)
47
	install $(PROG) $(INSTALL_BINDIR)/$(PROG)
41
 
48
 
Line 51... Line 58...
51
 ${SRC1}/capsule.e ${SRC1}/contents.e ${SRC1}/error-file.e\
58
 ${SRC1}/capsule.e ${SRC1}/contents.e ${SRC1}/error-file.e\
52
 ${SRC1}/extract.e ${SRC1}/for-osif.e ${SRC1}/library.e ${SRC1}/linker.e\
59
 ${SRC1}/extract.e ${SRC1}/for-osif.e ${SRC1}/library.e ${SRC1}/linker.e\
53
 ${SRC1}/main.e ${SRC1}/name-entry.e ${SRC1}/rename-file.e\
60
 ${SRC1}/main.e ${SRC1}/name-entry.e ${SRC1}/rename-file.e\
54
 ${SRC1}/shape-entry.e ${SRC1}/tdf-read.e
61
 ${SRC1}/shape-entry.e ${SRC1}/tdf-read.e
55
 
62
 
56
#gen-errors.c : ${BUILD_ERRORS} ${EFILES}
63
gen-errors.c : ${BUILD_ERRORS} ${EFILES}
57
#	${REMOVE} ${ERR_OUT};\
64
	${REMOVE} ${ERR_OUT};\
58
#	${BUILD_ERRORS} -o gen-errors ${EFILES}
65
	${BUILD_ERRORS} -o gen-errors ${EFILES}
59
 
66