mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
tt: get tt_type_comp to build
This commit is contained in:
parent
bb4a2c7694
commit
e8f3c6eee2
1 changed files with 19 additions and 5 deletions
|
@ -2,10 +2,28 @@ MAINTAINERCLEANFILES = Makefile.in
|
||||||
|
|
||||||
include ../../tooltalk.inc
|
include ../../tooltalk.inc
|
||||||
|
|
||||||
|
# JET - this is kind of hacky - we need to have ylwrap compile as C++
|
||||||
|
# not C, but the default lex/yac suffices are /l and .y, which means
|
||||||
|
# C. So we "fix" that.
|
||||||
|
|
||||||
|
BUILT_SOURCES = mp_types_lex.L mp_types_gram.Y
|
||||||
|
CLEANFILES = mp_types_lex.L mp_types_gram.Y
|
||||||
|
mp_types_lex.L:
|
||||||
|
$(LN_S) mp_types_lex.l mp_types_lex.L
|
||||||
|
|
||||||
|
mp_types_gram.Y:
|
||||||
|
$(LN_S) mp_types_gram.y mp_types_gram.Y
|
||||||
|
|
||||||
|
AM_YFLAGS = -d
|
||||||
|
|
||||||
bin_PROGRAMS = tt_type_comp
|
bin_PROGRAMS = tt_type_comp
|
||||||
|
|
||||||
tt_type_comp_CXXFLAGS = $(TIRPCINC) -I../../lib -I../../slib \
|
tt_type_comp_CXXFLAGS = $(TIRPCINC) -I../../lib -I../../slib \
|
||||||
$(TT_VERSION_DEFINE)
|
$(TT_VERSION_DEFINE) -I../../lib
|
||||||
|
|
||||||
|
tt_type_comp_SOURCES = mp_type_comp.C mp_types_table.C \
|
||||||
|
frozen.mp_types_lex.C frozen.mp_types_gram.C \
|
||||||
|
mp_types_lex.L mp_types_gram.Y
|
||||||
|
|
||||||
tt_type_comp_LDADD = @LIBTT@ $(X_LIBS) ../../slib/libstt.a
|
tt_type_comp_LDADD = @LIBTT@ $(X_LIBS) ../../slib/libstt.a
|
||||||
|
|
||||||
|
@ -21,7 +39,3 @@ if OPENBSD
|
||||||
tt_type_comp_LDADD += $(XTOOLLIB)
|
tt_type_comp_LDADD += $(XTOOLLIB)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
tt_type_comp_SOURCES = mp_type_comp.C mp_types_table.C \
|
|
||||||
frozen.mp_types_lex.C frozen.mp_types_gram.C
|
|
||||||
|
|
||||||
frozen.mp_types_lex.o: frozen.mp_types_gram.h
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue