mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
dtsr: make it build; configure: fix cpu detection
This commit is contained in:
parent
53d3304ebe
commit
a63016758e
2 changed files with 31 additions and 12 deletions
|
|
@ -1,10 +1,24 @@
|
|||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
bin_PROGRAMS = dtsrcreate dtsrdbrec dtsrhan dtsrload dtsrindex dtsrdelete \
|
||||
huffcode dtsrkdump
|
||||
PROGRAMS_CFLAGS = -I../../lib/DtSearch -I../../lib/DtSearch/raima \
|
||||
-DMAIN_PROGRAM -lc -lm ${X_LIBS}
|
||||
PROGRAMS_LDADD = ../../lib/DtSearch/libDtSearch.so
|
||||
huffcode dtsrkdump dtsrclean
|
||||
|
||||
AM_CFLAGS = -I../../lib/DtSearch -I../../lib/DtSearch/raima \
|
||||
$(DT_INCDIR) -DMAIN_PROGRAM
|
||||
|
||||
if I386
|
||||
AM_CFLAGS += -DBYTE_SWAP
|
||||
endif
|
||||
|
||||
if X86_64
|
||||
AM_CFLAGS += -DBYTE_SWAP
|
||||
endif
|
||||
|
||||
if ARM
|
||||
AM_CFLAGS += -DBYTE_SWAP
|
||||
endif
|
||||
|
||||
LDADD = ../../lib/DtSearch/libDtSearch.la
|
||||
|
||||
dtsrcreate_SOURCES = dtsrcreate.c
|
||||
|
||||
|
|
@ -14,9 +28,11 @@ dtsrhan_SOURCES = dtsrhan.c
|
|||
|
||||
dtsrload_SOURCES = dtsrload.c
|
||||
|
||||
dtsrclean_SOURCES = dtsrclean.c
|
||||
|
||||
dtsrindex_SOURCES = dtsrindex.c
|
||||
|
||||
dtsrdelete_SOURCES = dtsrdelete.c
|
||||
dtsrdelete_SOURCES = tomita.c
|
||||
|
||||
huffcode_SOURCES = huffcode.c
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue