source: trunk/minix/lib/editline/Makefile.in@ 9

Last change on this file since 9 was 9, checked in by Mattia Monga, 13 years ago

Minix 3.1.2a

File size: 1.3 KB
Line 
1## $Revision: 1.2 $
2##
3## Unix makefile for editline library.
4##
5
6
7## Set your options:
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)
21DEFS="-DANSI_ARROWS -DHAVE_STDLIB -DHAVE_TCGETATTR -DHIDE -DUSE_DIRENT \
22 -DHIST_SIZE=100 -DUSE_TERMCAP -DSYS_UNIX"
23#-DNEED_STRDUP
24
25CFLAGS="-O -D_MINIX -D_POSIX_SOURCE $DEFS -wo"
26#CC1 = $(CC) $(CFLAGS) -c
27
28## If you have -DUSE_TERMCAP, set this as appropriate:
29#LDFLAGS = -ltermlib
30#LDFLAGS = -ltermcap
31
32## End of configuration.
33
34#SOURCES = editline.c complete.c sysunix.c
35#LIBRARY = ../libedit.a
36LIBRARIES=libedit
37#OBJECTS = editline.o complete.o sysunix.o
38libedit_FILES="editline.c complete.c sysunix.c"
39#SHARFILES = README Makefile editline.3 editline.h unix.h editline.c \
40
41TYPE=both
42#include ../Makefile.inc
43
44#$(call ADDDEPENDENCIES,$(libedit_OBJECTS),editline.h)
Note: See TracBrowser for help on using the repository browser.