2002-06-21 03:51:40 +08:00
|
|
|
## Process this file with automake to generate Makefile.in
|
|
|
|
|
|
|
|
AUTOMAKE_OPTIONS = cygnus
|
|
|
|
|
|
|
|
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
|
|
|
|
|
2002-08-27 02:56:09 +08:00
|
|
|
GENERAL_SOURCES = \
|
2002-06-21 03:51:40 +08:00
|
|
|
bsearch.c \
|
2002-06-25 07:05:08 +08:00
|
|
|
db_local.h \
|
2002-06-21 03:51:40 +08:00
|
|
|
extern.h \
|
|
|
|
hash.h \
|
|
|
|
page.h \
|
2002-08-27 02:56:09 +08:00
|
|
|
qsort.c
|
|
|
|
|
|
|
|
## Following are EL/IX level 2 interfaces
|
|
|
|
if ELIX_LEVEL_1
|
|
|
|
LIB_OBJS =
|
|
|
|
else
|
|
|
|
LIB_OBJS = \
|
|
|
|
hash.$(oext) \
|
|
|
|
hash_bigkey.$(oext) \
|
|
|
|
hash_buf.$(oext) \
|
|
|
|
hash_func.$(oext) \
|
|
|
|
hash_log2.$(oext) \
|
|
|
|
hash_page.$(oext) \
|
|
|
|
hcreate.$(oext) \
|
|
|
|
hcreate_r.$(oext) \
|
|
|
|
tdelete.$(oext) \
|
|
|
|
tdestroy.$(oext) \
|
|
|
|
tfind.$(oext) \
|
|
|
|
tsearch.$(oext) \
|
|
|
|
twalk.$(oext)
|
|
|
|
endif
|
2002-06-21 03:51:40 +08:00
|
|
|
|
|
|
|
libsearch_la_LDFLAGS = -Xcompiler -nostdlib
|
|
|
|
|
|
|
|
if USE_LIBTOOL
|
|
|
|
noinst_LTLIBRARIES = libsearch.la
|
2002-08-27 02:56:09 +08:00
|
|
|
libsearch_la_SOURCES = $(GENERAL_SOURCES)
|
|
|
|
libsearch_la_LIBADD = $(LIB_OBJS)
|
|
|
|
libsearch_la_DEPENDENCIES = $(LIB_OBJS)
|
2002-06-21 03:51:40 +08:00
|
|
|
noinst_DATA = objectlist.awk.in
|
|
|
|
else
|
|
|
|
noinst_LIBRARIES = lib.a
|
2002-08-27 02:56:09 +08:00
|
|
|
lib_a_SOURCES = $(GENERAL_SOURCES)
|
|
|
|
lib_a_LIBADD = $(LIB_OBJS)
|
|
|
|
lib_a_DEPENDENCIES = $(LIB_OBJS)
|
2002-06-21 03:51:40 +08:00
|
|
|
noinst_DATA =
|
|
|
|
endif # USE_LIBTOOL
|
|
|
|
|
2002-07-16 23:30:32 +08:00
|
|
|
SUFFIXES = .def
|
|
|
|
|
|
|
|
CHEWOUT_FILES =
|
|
|
|
|
|
|
|
CHEW = ../../doc/makedoc -f $(srcdir)/../../doc/doc.str
|
|
|
|
|
|
|
|
.c.def:
|
|
|
|
$(CHEW) < $< > $*.def 2> $*.ref
|
|
|
|
touch stmp-def
|
|
|
|
|
|
|
|
TARGETDOC = ../tmp.texi
|
|
|
|
|
|
|
|
doc: $(CHEWOUT_FILES)
|
|
|
|
|
|
|
|
CLEANFILES = $(CHEWOUT_FILES) *.ref
|
|
|
|
|
2002-06-21 03:51:40 +08:00
|
|
|
include $(srcdir)/../../Makefile.shared
|