Skip to content

Commit

Permalink
'terminfo' fully restored (I think). Continuation of commit ab1c007, …
Browse files Browse the repository at this point in the history
…which is itself a reversion of commit 22c4d82.  A fix for issue #253.
  • Loading branch information
Bill-Gray committed Dec 29, 2022
1 parent bc340c0 commit 2481460
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 6 deletions.
5 changes: 4 additions & 1 deletion dosvga/Makefile.dmc
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ border.obj clear.obj color.obj delch.obj deleteln.obj getch.obj \
getstr.obj getyx.obj inch.obj inchstr.obj initscr.obj inopts.obj \
insch.obj insstr.obj instr.obj kernel.obj keyname.obj mouse.obj move.obj \
outopts.obj overlay.obj pad.obj panel.obj printw.obj refresh.obj \
scanw.obj scr_dump.obj scroll.obj slk.obj termattr.obj \
scanw.obj scr_dump.obj scroll.obj slk.obj termattr.obj terminfo.obj \
touch.obj util.obj window.obj debug.obj

PDCOBJS = pdcclip.obj pdcdisp.obj pdcgetsc.obj pdckbd.obj pdcscrn.obj \
Expand Down Expand Up @@ -184,6 +184,9 @@ slk.obj: $(srcdir)\slk.c
termattr.obj: $(srcdir)\termattr.c
$(SRCBUILD)

terminfo.obj: $(srcdir)\terminfo.c
$(SRCBUILD)

touch.obj: $(srcdir)\touch.c
$(SRCBUILD)

Expand Down
1 change: 1 addition & 0 deletions fb/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ endif
$(LIBOBJS) $(PDCOBJS) : $(PDCURSES_HEADERS)
$(DEMOS) : $(PDCURSES_CURSES_H) $(LIBCURSES)
tui.o tuidemo.o : $(PDCURSES_CURSES_H)
terminfo.o : $(TERM_HEADER)
panel.o ptest: $(PANEL_HEADER)

$(LIBOBJS) : %.o: $(srcdir)/%.c
Expand Down
3 changes: 2 additions & 1 deletion plan9/mkfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ OFILES=\
scroll.$O\
slk.$O\
termattr.$O\
terminfo.$O\
touch.$O\
util.$O\
window.$O\
Expand Down Expand Up @@ -68,7 +69,7 @@ UPDATE=\
CC=pcc
LD=pcc
CFLAGS= -c -I. -I.. -D_POSIX_SOURCE -D_BSD_EXTENSION -D_C99_SNPRINTF_EXTENSION \
-DHAVE_VSNPRINTF
-DHAVE_VSNPRINTF

%.$O: ../pdcurses/%.c
$CC $CFLAGS ../pdcurses/$stem.c
Expand Down
12 changes: 8 additions & 4 deletions x11/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ LIBOBJS = addch.o addchstr.o addstr.o attr.o beep.o bkgd.o border.o \
clear.o color.o delch.o deleteln.o getch.o getstr.o getyx.o \
inch.o inchstr.o initscr.o inopts.o insch.o insstr.o instr.o kernel.o \
keyname.o mouse.o move.o outopts.o overlay.o pad.o panel.o printw.o \
refresh.o scanw.o scr_dump.o scroll.o slk.o termattr.o \
refresh.o scanw.o scr_dump.o scroll.o slk.o termattr.o terminfo.o \
touch.o util.o window.o debug.o

PDCOBJS = pdcclip.o pdcdisp.o pdcgetsc.o pdckbd.o pdcscrn.o pdcsetsc.o \
Expand Down Expand Up @@ -220,6 +220,9 @@ slk.o: $(srcdir)/slk.c
termattr.o: $(srcdir)/termattr.c
$(BUILD) $(srcdir)/termattr.c

terminfo.o: $(srcdir)/terminfo.c
$(BUILD) $(srcdir)/terminfo.c

touch.o: $(srcdir)/touch.c
$(BUILD) $(srcdir)/touch.c

Expand Down Expand Up @@ -403,6 +406,10 @@ termattr.sho: $(srcdir)/termattr.c
$(DYN_BUILD) $(srcdir)/termattr.c
@SAVE2O@

terminfo.sho: $(srcdir)/terminfo.c
$(DYN_BUILD) $(srcdir)/terminfo.c
@SAVE2O@

touch.sho: $(srcdir)/touch.c
$(DYN_BUILD) $(srcdir)/touch.c
@SAVE2O@
Expand Down Expand Up @@ -984,9 +991,6 @@ sp_tinfo.o: $(ncurses_testdir)/sp_tinfo.c $(PDCURSES_CURSES_H)
tclock.o: $(ncurses_testdir)/tclock.c $(PDCURSES_CURSES_H)
$(BUILD) $(NCFLAGS) $(ncurses_testdir)/tclock.c

terminfo.o: $(srcdir)/terminfo.c $(PDCURSES_CURSES_H)
$(BUILD) $(NCFLAGS) $(srcdir)/terminfo.c

testaddch.o: $(ncurses_testdir)/testaddch.c $(PDCURSES_CURSES_H)
$(BUILD) $(NCFLAGS) $(ncurses_testdir)/testaddch.c

Expand Down

0 comments on commit 2481460

Please sign in to comment.