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