Files
cdesktop/cde/lib/DtSearch/Makefile.am
Jon Trulson 056144488a DtSearch: get it to build, fix up some confusion
There are/were two dproto.h files, one in DtSearch, one in raima.  The
one in raima is the one we want, so replace the global Dt/dproto.h
with it.  Also correct a prototype declaration error in that file.

Delete the dproto.h file in DtSearch, it's garbage and unused.

Next, redo the way yacc is used.  Autotools does "the right thing" by
simply including the .y file in *_SOURCES and using
BUILT_SOURCES/CLEANFILES to manage it.  No need for special rules to
handle yacc and lex.
2019-10-26 14:13:19 -06:00

55 lines
1.1 KiB
Makefile

MAINTAINERCLEANFILES = Makefile.in
SUBDIRS = raima
lib_LTLIBRARIES = libDtSearch.la
BUILT_SOURCES = boolyac.h boolyac.c
CLEANFILES = boolyac.h boolyac.c
AM_YFLAGS = -d
libDtSearch_la_CFLAGS = -DI18N_MSG -DMULTIBYTE -I./raima \
-I$(top_builddir)/include/Dt
libDtSearch_la_LIBADD = raima/libraima.la
if LINUX
libDtSearch_la_CFLAGS += -DBYTE_SWAP
libDtSearch_la_LIBADD += -lm
endif
if BSD
libDtSearch_la_CFLAGS += -DBYTE_SWAP
endif
if SOLARIS
libDtSearch_la_CFLAGS += -DBYTE_SWAP
libDtSearch_la_LIBADD += -lm -lc
endif
if AIX
libDtSearch_la_LIBADD += -lisode
endif
if HPUX
libDtSearch_la_LIBADD += -lm
endif
libDtSearch_la_SOURCES = apndext.c ausdopen.c ausexit.c \
bmstrstr.c boolpars.c boolsrch.c \
boolyac.y cuslang.c dbchange.c \
dberr.c delspace.c dtoe.c \
dtoeinit.c dtsrapi.c dtsrdbrec.c \
dtsrjoint.c dtsrswab.c dtsrutil.c \
dtsrve.c endslash.c fileman.c \
globals.c hdecode.c hencode.c \
hilite.c iscompat.c isduprec.c \
jpn.c lang.c langmap.c \
msgs.c msgutil.c objdate.c \
ocf.c opendblk.c ophuf.c \
readchar.c strupr.c userint.c \
vedelete.c vestatis.c vstfunct.c