mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
lib/DtSearch: add automake files
This commit is contained in:
parent
2deca46f0b
commit
8dfc0f62eb
2 changed files with 105 additions and 0 deletions
58
cde/lib/DtSearch/Makefile.am
Normal file
58
cde/lib/DtSearch/Makefile.am
Normal file
|
@ -0,0 +1,58 @@
|
||||||
|
MAINTAINERCLEANFILES = Makefile.in
|
||||||
|
|
||||||
|
CLEANFILES = y.tab.c y.tab.h boolyac.h boolyac.c
|
||||||
|
|
||||||
|
SUBDIRS = raima
|
||||||
|
|
||||||
|
lib_LTLIBRARIES = libDtSearch.la
|
||||||
|
|
||||||
|
YFLAGS = -d
|
||||||
|
|
||||||
|
libDtSearch_la_CFLAGS = -DI18N_MSG -DMULTIBYTE -I./raima
|
||||||
|
|
||||||
|
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 SUN
|
||||||
|
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.c 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
|
||||||
|
|
||||||
|
all:: boolyac.c
|
||||||
|
|
||||||
|
boolyac.h boolyac.c: boolyac.y
|
||||||
|
$(YACC) $(YFLAGS) boolyac.y
|
||||||
|
$(MV) y.tab.c boolyac.c
|
||||||
|
@if [ -f y.tab.h ]; then set -x; $(MV) y.tab.h boolyac.h; \
|
||||||
|
else exit 0; fi
|
47
cde/lib/DtSearch/raima/Makefile.am
Normal file
47
cde/lib/DtSearch/raima/Makefile.am
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
MAINTAINERCLEANFILES = Makefile.in
|
||||||
|
|
||||||
|
noinst_LTLIBRARIES = libraima.la
|
||||||
|
|
||||||
|
libraima_la_LIBADD = -lc -lm
|
||||||
|
|
||||||
|
libraima_la_CFLAGS = -DCDE_INSTALLATION_TOP=\"${prefix}\" \
|
||||||
|
-DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\" \
|
||||||
|
-DNO_TRANS -DUNIX -D_POSIX_SOURCE -DMULTIBYTE
|
||||||
|
|
||||||
|
if LINUX
|
||||||
|
libraima_la_CFLAGS += DBYTE_SWAP -D_XOPEN_SOURCE=700
|
||||||
|
endif
|
||||||
|
|
||||||
|
if BSD
|
||||||
|
libraima_la_CFLAGS += DBYTE_SWAP -D_XOPEN_SOURCE=700
|
||||||
|
endif
|
||||||
|
|
||||||
|
if SUN
|
||||||
|
libraima_la_CFLAGS += -DBYTE_SWAP -D_XOPEN_SOURCE=500 -DNO_REGCOMP
|
||||||
|
endif
|
||||||
|
|
||||||
|
if HPUX
|
||||||
|
libraima_la_CFLAGS += -DMESSAGE_CAT
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
libraima_la_SOURCES = alloc.c cmtype.c connect.c \
|
||||||
|
cotype.c crget.c crread.c crset.c \
|
||||||
|
crtype.c crwrite.c csmget.c csmread.c \
|
||||||
|
csmset.c csmwrite.c csoget.c csoread.c csoset.c \
|
||||||
|
csowrite.c \
|
||||||
|
dbacode.c dbdpath.c dbfpath.c dblfcns.c \
|
||||||
|
dbswab.c dbuserid.c \
|
||||||
|
delete.c destroy.c dio.c discon.c disdel.c \
|
||||||
|
fillnew.c findco.c findfm.c findlm.c findnm.c \
|
||||||
|
findpm.c \
|
||||||
|
initial.c inittab.c ismember.c \
|
||||||
|
isowner.c keydel.c keyexist.c keyfcns.c \
|
||||||
|
keyfind.c keyfrst.c keylast.c keynext.c keyprev.c \
|
||||||
|
keystore.c libfcns.c makenew.c mapchar.c \
|
||||||
|
members.c oflag.c opens.c options.c \
|
||||||
|
pathfcns.c recfcns.c recfrst.c reclast.c recnext.c \
|
||||||
|
recprev.c recread.c recset.c \
|
||||||
|
recwrite.c renfile.c rwcurr.c setdb.c \
|
||||||
|
setmm.c setmo.c setmr.c setom.c setoo.c \
|
||||||
|
setor.c setrm.c setro.c startup.c
|
Loading…
Add table
Add a link
Reference in a new issue