-rain $(LDFLAGS_CURSES) $(LOCAL_LIBS) rain
-redraw $(LDFLAGS_CURSES) $(LOCAL_LIBS) redraw
-savescreen $(LDFLAGS_CURSES) $(LOCAL_LIBS) savescreen
-tclock $(LDFLAGS_CURSES) $(LOCAL_LIBS) tclock
+rain $(LDFLAGS_THREADS) $(LOCAL_LIBS) rain popup_msg
+redraw $(LDFLAGS_CURSES) $(LOCAL_LIBS) redraw popup_msg
+savescreen $(LDFLAGS_CURSES) $(LOCAL_LIBS) savescreen popup_msg
+sp_tinfo $(LDFLAGS_TINFO) $(LOCAL_LIBS) sp_tinfo
+tclock $(LDFLAGS_CURSES_M) $(LOCAL_LIBS) tclock
+test_add_wchstr $(LDFLAGS_CURSES) $(LOCAL_LIBS) test_add_wchstr
+test_addchstr $(LDFLAGS_CURSES) $(LOCAL_LIBS) test_addchstr
+test_addstr $(LDFLAGS_CURSES) $(LOCAL_LIBS) test_addstr
+test_addwstr $(LDFLAGS_CURSES) $(LOCAL_LIBS) test_addwstr
+test_arrays $(LDFLAGS_TINFO) $(LOCAL_LIBS) test_arrays
+test_delwin $(LDFLAGS_CURSES) $(LOCAL_LIBS) test_delwin
+test_get_wstr $(LDFLAGS_CURSES) $(LOCAL_LIBS) test_get_wstr popup_msg
+test_getstr $(LDFLAGS_CURSES) $(LOCAL_LIBS) test_getstr popup_msg
+test_instr $(LDFLAGS_CURSES) $(LOCAL_LIBS) test_instr
+test_inwstr $(LDFLAGS_CURSES) $(LOCAL_LIBS) test_inwstr
+test_mouse $(LDFLAGS_CURSES) $(LOCAL_LIBS) test_mouse
+test_opaque $(LDFLAGS_CURSES) $(LOCAL_LIBS) test_opaque
+test_setupterm $(LDFLAGS_CURSES) $(LOCAL_LIBS) test_setupterm
+test_sgr $(LDFLAGS_TINFO) $(LOCAL_LIBS) test_sgr
+test_termattrs $(LDFLAGS_CURSES) $(LOCAL_LIBS) test_termattrs
+test_tparm $(LDFLAGS_TINFO) $(LOCAL_LIBS) test_tparm
+test_unget_wch $(LDFLAGS_CURSES) $(LOCAL_LIBS) test_unget_wch
+test_vid_puts $(LDFLAGS_CURSES) $(LOCAL_LIBS) test_vid_puts
+test_vidputs $(LDFLAGS_CURSES) $(LOCAL_LIBS) test_vidputs