1
0
Fork 0
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:
Jon Trulson 2019-10-24 20:55:04 -06:00
parent bb4a2c7694
commit e8f3c6eee2

View file

@ -2,10 +2,28 @@ MAINTAINERCLEANFILES = Makefile.in
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
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
@ -21,7 +39,3 @@ if OPENBSD
tt_type_comp_LDADD += $(XTOOLLIB)
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