• unknown's avatar
    Portability fixes · 669cbe6e
    unknown authored
    Don't define crc32 if we are not linking with gzip
    
    
    cmd-line-utils/libedit/libedit_term.h:
      Rename: cmd-line-utils/libedit/term.h -> cmd-line-utils/libedit/libedit_term.h
    BitKeeper/etc/ignore:
      added scripts/make_win_src_distribution
    client/connect_test.c:
      Removed wrong include file
      (my_global.h should never be included by an external client)
    client/insert_test.c:
      Removed wrong include file
      (my_global.h should never be included by an external client)
    client/select_test.c:
      Removed wrong include file
      (my_global.h should never be included by an external client)
    cmd-line-utils/libedit/Makefile.am:
      Portability fixes (for HPUX11 and AIX)
    cmd-line-utils/libedit/el.h:
      Portability fixes (for HPUX11 and AIX)
    cmd-line-utils/libedit/key.h:
      Portability fixes (for HPUX11 and AIX)
    cmd-line-utils/libedit/makelist:
      Portability fixes (for HPUX11 and AIX)
    cmd-line-utils/libedit/read.c:
      Portability fixes (for HPUX11 and AIX)
    cmd-line-utils/libedit/readline.c:
      Portability fixes (for HPUX11 and AIX)
    cmd-line-utils/libedit/readline/readline.h:
      Systems that has sys/cdefs may not have __BEGIN_DECLS
    cmd-line-utils/libedit/sig.c:
      sig_t is not portable
    cmd-line-utils/libedit/sig.h:
      sig_t is not portable
    cmd-line-utils/libedit/term.c:
      Portablity fixes
      Fixed core dump when using a terminal without arrow key definitions
    heap/_check.c:
      Portability fix
    heap/hp_hash.c:
      Portability fix
    heap/hp_rkey.c:
      Portability fix
    include/my_global.h:
      Portability fixes for HPUX11
    libmysql/libmysql.c:
      Removed wrong cast
    mysql-test/r/union.result:
      New union tests
    mysql-test/t/union.test:
      New union tests
    sql/gen_lex_hash.cc:
      Fixed portability bug.
    sql/gstream.h:
      Portablity fix
    sql/item_create.cc:
      Don't define crc32 if we are not linking with gzip
    sql/item_create.h:
      Don't define crc32 if we are not linking with gzip
    sql/item_func.cc:
      Don't define crc32 if we are not linking with gzip
    sql/item_func.h:
      Don't define crc32 if we are not linking with gzip
    sql/lex.h:
      Don't define crc32 if we are not linking with gzip
    sql/sql_show.cc:
      Name can't be NULL
    669cbe6e
Makefile.am 2.59 KB
## Process this file with automake to create Makefile.in
# Makefile for the GNU readline library.
# Copyright (C) 1994,1996,1997 Free Software Foundation, Inc.

ASRC=vi.c emacs.c common.c
AHDR=vi.h emacs.h common.h

INCLUDES =		-I$(top_srcdir)/include -I$(srcdir)/../.. -I..

noinst_LIBRARIES =	liblibedit.a

liblibedit_a_SOURCES =	chared.c el.c fgetln.c history.c map.c \
			prompt.c readline.c search.c \
			strlcpy.c tokenizer.c vi.c common.c \
			emacs.c hist.c key.c parse.c read.c \
			refresh.c sig.c term.c tty.c help.c \
			fcns.c

pkginclude_HEADERS =	readline/readline.h

noinst_HEADERS =	chared.h el.h histedit.h key.h \
			parse.h refresh.h sig.h sys.h \
			tokenizer.h compat.h compat_conf.h fgetln.h \
			hist.h map.h prompt.h search.h \
			strlcpy.h libedit_term.h tty.h

EXTRA_DIST = makelist

DEFS =			-DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR

vi.h: vi.c makelist
	sh ./makelist -h ./vi.c > $@.tmp && \
	mv $@.tmp $@

emacs.h: emacs.c makelist
	sh ./makelist -h ./emacs.c > $@.tmp && \
	mv $@.tmp $@

common.h: common.c makelist
	sh ./makelist -h ./common.c > $@.tmp && \
	mv $@.tmp $@

help.c: ${ASRC} makelist
	sh ./makelist -bc ${ASRC} > $@.tmp && \
	mv $@.tmp $@

help.h: ${ASRC} makelist
	sh ./makelist -bh ${ASRC} > $@.tmp && \
	mv $@.tmp $@

fcns.h: ${AHDR} makelist
	sh ./makelist -fh ${AHDR} > $@.tmp && \
	mv $@.tmp $@

fcns.c: ${AHDR} fcns.h makelist
	sh ./makelist -fc ${AHDR} > $@.tmp && \
	mv $@.tmp $@

#%.o: vi.h emacs.h common.h help.h fcns.h
#objects := $(patsubst %.c,%.o,$(wildcard *.c))
#$(objects):  vi.h emacs.h

chared.o: vi.h emacs.h common.h help.h fcns.h
el.o: vi.h emacs.h common.h help.h fcns.h
fgetln.o: vi.h emacs.h common.h help.h fcns.h
history.o: vi.h emacs.h common.h help.h fcns.h 
map.o: vi.h emacs.h common.h help.h fcns.h
prompt.o: vi.h emacs.h common.h help.h fcns.h
readline.o: vi.h emacs.h common.h help.h fcns.h
search.o: vi.h emacs.h common.h help.h fcns.h
strlcpy.o: vi.h emacs.h common.h help.h fcns.h
tokenizer.o: vi.h emacs.h common.h help.h fcns.h
vi.o: vi.h emacs.h common.h help.h fcns.h
common.o: vi.h emacs.h common.h help.h fcns.h
emacs.o: vi.h emacs.h common.h help.h fcns.h 
hist.o: vi.h emacs.h common.h help.h fcns.h 
key.o: vi.h emacs.h common.h help.h fcns.h 
parse.o: vi.h emacs.h common.h help.h fcns.h
read.o: vi.h emacs.h common.h help.h fcns.h
refresh.o: vi.h emacs.h common.h help.h fcns.h
sig.o: vi.h emacs.h common.h help.h fcns.h
term.o: vi.h emacs.h common.h help.h fcns.h
tty.o: vi.h emacs.h common.h help.h fcns.h 
help.o: vi.h emacs.h common.h help.h fcns.h
fcns.o: vi.h emacs.h common.h help.h fcns.h

# Don't update the files from bitkeeper
%::SCCS/s.%