]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - lib/libpanel/Makefile
Define misc structs outside of struct firewire_comm.
[FreeBSD/FreeBSD.git] / lib / libpanel / Makefile
1 # Makefile for libpanel
2 # $FreeBSD$
3
4 NCURSES=${.CURDIR}/../../contrib/ncurses
5
6 .PATH:  ${NCURSES}/panel ${NCURSES}/include
7 .PATH:  ${NCURSES}/man
8
9 LIB=    panel
10 AWK?=   awk
11
12 SRCS=   ncurses_def.h \
13         p_above.c p_below.c p_bottom.c p_delete.c p_hidden.c \
14         p_hide.c p_move.c p_new.c p_replace.c p_show.c p_top.c \
15         p_update.c p_user.c p_win.c panel.c
16 INCS=   ${NCURSES}/panel/panel.h
17
18 CLEANFILES+=    ncurses_def.h
19 CFLAGS+= -I.
20 .if exists(${.OBJDIR}/../libncurses)
21 CFLAGS+= -I${.OBJDIR}/../libncurses
22 .endif
23 CFLAGS+= -I${.CURDIR}/../libncurses
24 CFLAGS+= -I${NCURSES}/panel -I${NCURSES}/include -I${NCURSES}/ncurses \
25             -Wall -DNDEBUG -DHAVE_CONFIG_H
26
27 ncurses_def.h:  MKncurses_def.sh ncurses_defs
28         AWK=${AWK} sh ${NCURSES}/include/MKncurses_def.sh \
29             ${NCURSES}/include/ncurses_defs > ncurses_def.h
30
31 # generate MAN
32 CLEANFILES+=    panel.3
33 MAN=            panel.3
34 panel.3: panel.3x
35         ln -s ${.ALLSRC} ${.TARGET}
36
37 MLINKS+=panel.3 bottom_panel.3 panel.3 del_panel.3 panel.3 hide_panel.3 \
38         panel.3 move_panel.3 panel.3 new_panel.3 panel.3 panel_above.3 \
39         panel.3 panel_below.3 panel.3 panel_hidden.3 \
40         panel.3 panel_userptr.3 panel.3 panel_window.3 \
41         panel.3 replace_panel.3 panel.3 set_panel_userptr.3 \
42         panel.3 show_panel.3 panel.3 top_panel.3 panel.3 update_panels.3
43
44 .include <bsd.lib.mk>
45
46 .SUFFIXES: .3x .3