3 ## Unix makefile for editline library.
8 ## -DANSI_ARROWS ANSI arrows keys work like emacs.
9 ## -DHAVE_STDLIB Have <stdlib.h>.
10 ## -DHAVE_TCGETATTR Have , .
11 ## -DHAVE_TERMIO Have "struct termio" and <termio.h>
12 ## (If neither of above two, we use <sgttyb.h> and BSD ioctl's)
13 ## -DHIDE Make static functions static (non debug).
14 ## -DHIST_SIZE=n History size.
15 ## -DNEED_STRDUP Don't have .
16 ## -DUNIQUE_HISTORY Don't save command if same as last one.
17 ## -DUSE_DIRENT Use <dirent.h>, not <sys/dir.h>?
18 ## -DUSE_TERMCAP Use the termcap library for terminal size
19 ## see LDFLAGS, below, if you set this.
20 ## -DNEED_PERROR Don't have (used in testit)
21 DEFS
="-DANSI_ARROWS -DHAVE_STDLIB -DHAVE_TCGETATTR -DHIDE -DUSE_DIRENT \
22 -DHIST_SIZE=100 -DUSE_TERMCAP -DSYS_UNIX"
25 CFLAGS
="-O -D_MINIX -D_POSIX_SOURCE $DEFS -wo"
26 #CC1 = $(CC) $(CFLAGS) -c
28 ## If you have -DUSE_TERMCAP, set this as appropriate:
32 ## End of configuration.
34 #SOURCES = editline.c complete.c sysunix.c
35 #LIBRARY = ../libedit.a
37 #OBJECTS = editline.o complete.o sysunix.o
38 libedit_FILES
="editline.c complete.c sysunix.c"
39 #SHARFILES = README Makefile editline.3 editline.h unix.h editline.c \
42 #include ../Makefile.inc
44 #$(call ADDDEPENDENCIES,$(libedit_OBJECTS),editline.h)