#
# This is Makefile of curses for Linux
#

include ../Makeconfig

include ../Makerules

LIB=../libcurses.a
LIBALIAS:=../$(LIBALIAS)

JUMP_DIR:=../jump/$(SHLIB)
JUMP_LIB=libcurses

CURSESFLAGS=-DPOSIX -D__USE_BSD_SIGNAL

ifndef OPTFLAGS
OPTFLAGS= -O6 -fomit-frame-pointer
endif

CFLAGS = $(WFLAGS) $(OPTFLAGS) $(INC) $(XCFLAGS) $(CURSESFLAGS)
INC= -I.

DIRS:=

SRCS=	addbytes.c addch.c addstr.c box.c clear.c clrtobot.c \
	clrtoeol.c cr_put.c cr_tty.c delch.c deleteln.c \
	delwin.c endwin.c erase.c fullname.c getch.c getstr.c \
	idlok.c id_subwins.c initscr.c insch.c insertln.c \
	longname.c move.c mvprintw.c mvscanw.c mvwin.c \
	newwin.c overlay.c overwrite.c printw.c putchar.c \
	refresh.c scanw.c scroll.c toucholap.c standout.c \
	touchwin.c tstp.c curses.c unctrl.c
ASMS= $(SRCS:.c=.s)
OBJS= $(SRCS:.c=.o)

include ../Maketargets
