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