Subversion Repositories tendra.SVN

Rev

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

Rev 38 Rev 89
Line 1... Line 1...
1
 
1
 
2
.include "../Makefile.inc"
2
include ../../../defs.mk
3
 
3
 
4
SRC1=./errors
4
SRC1=./errors
5
 
5
 
6
# Standard variables
6
# Standard variables
7
 
7
 
Line 11... Line 11...
11
CCOPTS=		${TCCOPTS} -I${BASE_DIR}/${INCLUDE} -I${.CURDIR} -I${OBJ_SDIR}
11
CCOPTS=		${TCCOPTS} -I${BASE_DIR}/${INCLUDE} -I${.CURDIR} -I${OBJ_SDIR}
12
LIBS=
12
LIBS=
13
 
13
 
14
# Dependencies and construction rules
14
# Dependencies and construction rules
15
 
15
 
16
PROG=		${.CURDIR:T}
16
PROG=		tld
17
 
17
 
18
OBJS=		gen-errors.o\
18
OBJS=		gen-errors.o\
19
		arg-data.o arg-parse.o bistream.o bostream.o builder.o\
19
		arg-data.o arg-parse.o bistream.o bostream.o builder.o\
20
		capsule.o contents.o cstring-list.o cstring.o dalloc.o debug.o\
20
		capsule.o contents.o cstring-list.o cstring.o dalloc.o debug.o\
21
		dstring.o error-file.o error.o exception.o extract.o\
21
		dstring.o error-file.o error.o exception.o extract.o\
Line 34... Line 34...
34
clean:
34
clean:
35
	rm -f $(OBJS)
35
	rm -f $(OBJS)
36
	rm -f $(PROG)
36
	rm -f $(PROG)
37
 
37
 
38
install:
38
install:
39
	install -d $(INSTALL_BINDIR)
39
	mkdir -p $(INSTALL_BINDIR)
40
	install $(PROG) $(INSTALL_BINDIR)/$(PROG)
40
	install $(PROG) $(INSTALL_BINDIR)/$(PROG)
41
 
41
 
42
depend:
42
depend:
43
	mkdep $(CFLAGS) *.c
43
	mkdep $(CFLAGS) *.c
44
 
44
 
45
 
45
 
46
 
46
 
47
 
47
 
48
ERR_OUT=gen-errors.o gen-errors.h
48
ERR_OUT=gen-errors.c gen-errors.h
49
 
49
 
50
EFILES=${SRC1}/arg-data.e ${SRC1}/arg-parse.e ${SRC1}/builder.e\
50
EFILES=${SRC1}/arg-data.e ${SRC1}/arg-parse.e ${SRC1}/builder.e\
51
 ${SRC1}/capsule.e ${SRC1}/contents.e ${SRC1}/error-file.e\
51
 ${SRC1}/capsule.e ${SRC1}/contents.e ${SRC1}/error-file.e\
52
 ${SRC1}/extract.e ${SRC1}/for-osif.e ${SRC1}/library.e ${SRC1}/linker.e\
52
 ${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\
53
 ${SRC1}/main.e ${SRC1}/name-entry.e ${SRC1}/rename-file.e\
54
 ${SRC1}/shape-entry.e ${SRC1}/tdf-read.e
54
 ${SRC1}/shape-entry.e ${SRC1}/tdf-read.e
55
 
55
 
56
gen-errors.c : ${BUILD_ERRORS} ${EFILES}
56
#gen-errors.c : ${BUILD_ERRORS} ${EFILES}
57
	${REMOVE} ${ERR_OUT};\
57
#	${REMOVE} ${ERR_OUT};\
58
	${BUILD_ERRORS} -o gen-errors ${EFILES}
58
#	${BUILD_ERRORS} -o gen-errors ${EFILES}
59
 
59