1.include <src.opts.mk> 2.include "${.CURDIR:H}/config.mk" 3 4SRCDIR= ${NCURSES_DIR}/panel 5 6LIB= panelw 7SHLIB_MAJOR= 6 8 9.PATH: ${SRCDIR} 10SRCS= \ 11 ncurses_def.h \ 12 p_above.c \ 13 p_below.c \ 14 p_bottom.c \ 15 p_delete.c \ 16 p_hidden.c \ 17 p_hide.c \ 18 p_move.c \ 19 p_new.c \ 20 p_replace.c \ 21 p_show.c \ 22 p_top.c \ 23 p_update.c \ 24 p_user.c \ 25 p_win.c \ 26 panel.c 27 28CLEANFILES= ncurses_def.h 29 30CFLAGS+= -I${SRCDIR} 31 32LIBADD+= ncursesw 33 34# generate MAN 35.PATH: ${NCURSES_DIR}/man 36MAN= \ 37 panel.3 38 39CLEANFILES+= ${MAN:M*.3} 40 41MLINKS= panel.3 bottom_panel.3 \ 42 panel.3 del_panel.3 \ 43 panel.3 hide_panel.3 \ 44 panel.3 move_panel.3 \ 45 panel.3 new_panel.3 \ 46 panel.3 panel_above.3 \ 47 panel.3 panel_below.3 \ 48 panel.3 panel_hidden.3 \ 49 panel.3 panel_userptr.3 \ 50 panel.3 panel_window.3 \ 51 panel.3 replace_panel.3 \ 52 panel.3 set_panel_userptr.3 \ 53 panel.3 show_panel.3 \ 54 panel.3 top_panel.3 \ 55 panel.3 update_panels.3 56 57# backward compat 58.if ${MK_INSTALLLIB} != "no" 59SYMLINKS+= libpanelw.a ${LIBDIR}/libpanel.a 60.endif 61.if !defined(NO_PIC) 62SYMLINKS+= libpanelw.so ${LIBDIR}/libpanel.so 63.endif 64 65INCS= panel.h 66.include <bsd.lib.mk> 67 68# Keep the .SUFFIXES line after the include of bsd.lib.mk 69.SUFFIXES: .3 .3x 70.3x.3: 71 cat ${.IMPSRC} > ${.TARGET} 72