Changeset View
Changeset View
Standalone View
Standalone View
lib/ncurses/tinfo/Makefile
- This file was copied from lib/ncurses/ncurses/Makefile.
# $FreeBSD$ | # $FreeBSD$ | ||||
PACKAGE= clibs | PACKAGE= clibs | ||||
SHLIBDIR?= /lib | SHLIBDIR?= /lib | ||||
.include <src.opts.mk> | .include <src.opts.mk> | ||||
.include "${.CURDIR:H}/config.mk" | .include "${.CURDIR:H}/config.mk" | ||||
LIB= ncursesw | LIB= tinfow | ||||
SHLIB_MAJOR= 9 | SHLIB_MAJOR= 9 | ||||
NO_LINT= | NO_LINT= | ||||
NCURSES_MAJOR!= egrep 'NCURSES_MAJOR[ ]*=' ${NCURSES_DIR}/dist.mk | sed -e 's%^[^0-9]*%%' | NCURSES_MAJOR!= egrep 'NCURSES_MAJOR[ ]*=' ${NCURSES_DIR}/dist.mk | sed -e 's%^[^0-9]*%%' | ||||
NCURSES_MINOR!= egrep 'NCURSES_MINOR[ ]*=' ${NCURSES_DIR}/dist.mk | sed -e 's%^[^0-9]*%%' | NCURSES_MINOR!= egrep 'NCURSES_MINOR[ ]*=' ${NCURSES_DIR}/dist.mk | sed -e 's%^[^0-9]*%%' | ||||
NCURSES_PATCH!= egrep 'NCURSES_PATCH[ ]*=' ${NCURSES_DIR}/dist.mk | sed -e 's%^[^0-9]*%%' | NCURSES_PATCH!= egrep 'NCURSES_PATCH[ ]*=' ${NCURSES_DIR}/dist.mk | sed -e 's%^[^0-9]*%%' | ||||
▲ Show 20 Lines • Show All 41 Lines • ▼ Show 20 Lines | |||||
TYPEOF_CHTYPE= uint32_t | TYPEOF_CHTYPE= uint32_t | ||||
TYPEOF_MMASK_T= uint32_t | TYPEOF_MMASK_T= uint32_t | ||||
TYPE_OF_BOOL= unsigned char | TYPE_OF_BOOL= unsigned char | ||||
USE_BIG_STRINGS= 1 | USE_BIG_STRINGS= 1 | ||||
USE_CXX_BOOL= defined(__cplusplus) | USE_CXX_BOOL= defined(__cplusplus) | ||||
GENSRCS= \ | GENSRCS= \ | ||||
codes.c \ | codes.c \ | ||||
expanded.c \ | |||||
fallback.c \ | fallback.c \ | ||||
lib_gen.c \ | |||||
lib_keyname.c \ | lib_keyname.c \ | ||||
names.c \ | names.c \ | ||||
unctrl.c | unctrl.c | ||||
GENHDRS= \ | GENHDRS= \ | ||||
curses.h \ | curses.h \ | ||||
hashsize.h \ | hashsize.h \ | ||||
init_keytry.h \ | init_keytry.h \ | ||||
ncurses_def.h \ | ncurses_def.h \ | ||||
nomacros.h \ | nomacros.h \ | ||||
parametrized.h \ | parametrized.h \ | ||||
term.h \ | term.h \ | ||||
termcap.h \ | termcap.h \ | ||||
unctrl.h | unctrl.h | ||||
SRCS= ${GENHDRS} ${GENSRCS} | SRCS= ${GENHDRS} ${GENSRCS} | ||||
.PATH: ${NCURSES_DIR}/ncurses/base | .PATH: ${NCURSES_DIR}/ncurses/base | ||||
SRCS+= \ | SRCS+= \ | ||||
define_key.c \ | define_key.c \ | ||||
key_defined.c \ | key_defined.c \ | ||||
keybound.c \ | keybound.c \ | ||||
keyok.c \ | keyok.c \ | ||||
legacy_coding.c \ | |||||
lib_addch.c \ | |||||
lib_addstr.c \ | |||||
lib_beep.c \ | |||||
lib_bkgd.c \ | |||||
lib_box.c \ | |||||
lib_chgat.c \ | |||||
lib_clear.c \ | |||||
lib_clearok.c \ | |||||
lib_clrbot.c \ | |||||
lib_clreol.c \ | |||||
lib_color.c \ | |||||
lib_colorset.c \ | |||||
lib_delch.c \ | |||||
lib_delwin.c \ | |||||
lib_dft_fgbg.c \ | |||||
lib_echo.c \ | |||||
lib_endwin.c \ | |||||
lib_erase.c \ | |||||
lib_flash.c \ | |||||
lib_freeall.c \ | |||||
lib_getch.c \ | |||||
lib_getstr.c \ | |||||
lib_hline.c \ | |||||
lib_immedok.c \ | |||||
lib_inchstr.c \ | |||||
lib_initscr.c \ | |||||
lib_insch.c \ | |||||
lib_insdel.c \ | |||||
lib_insnstr.c \ | |||||
lib_instr.c \ | |||||
lib_isendwin.c \ | |||||
lib_leaveok.c \ | |||||
lib_mouse.c \ | |||||
lib_move.c \ | |||||
lib_mvwin.c \ | |||||
lib_newterm.c \ | |||||
lib_newwin.c \ | |||||
lib_nl.c \ | |||||
lib_overlay.c \ | |||||
lib_pad.c \ | |||||
lib_printw.c \ | |||||
lib_redrawln.c \ | |||||
lib_refresh.c \ | |||||
lib_restart.c \ | |||||
lib_scanw.c \ | |||||
lib_screen.c \ | |||||
lib_scroll.c \ | |||||
lib_scrollok.c \ | |||||
lib_scrreg.c \ | |||||
lib_set_term.c \ | |||||
lib_slk.c \ | |||||
lib_slkatr_set.c \ | |||||
lib_slkatrof.c \ | |||||
lib_slkatron.c \ | |||||
lib_slkatrset.c \ | |||||
lib_slkattr.c \ | |||||
lib_slkclear.c \ | |||||
lib_slkcolor.c \ | |||||
lib_slkinit.c \ | |||||
lib_slklab.c \ | |||||
lib_slkrefr.c \ | |||||
lib_slkset.c \ | |||||
lib_slktouch.c \ | |||||
lib_touch.c \ | |||||
lib_ungetch.c \ | |||||
lib_vline.c \ | |||||
lib_wattroff.c \ | |||||
lib_wattron.c \ | |||||
lib_winch.c \ | |||||
lib_window.c \ | |||||
new_pair.c \ | |||||
nc_panel.c \ | |||||
resizeterm.c \ | |||||
safe_sprintf.c \ | |||||
tries.c \ | tries.c \ | ||||
version.c \ | version.c | ||||
vsscanf.c \ | |||||
wresize.c | |||||
.PATH: ${NCURSES_DIR}/ncurses/tinfo | .PATH: ${NCURSES_DIR}/ncurses/tinfo | ||||
SRCS+= \ | SRCS+= \ | ||||
access.c \ | access.c \ | ||||
add_tries.c \ | add_tries.c \ | ||||
alloc_entry.c \ | alloc_entry.c \ | ||||
alloc_ttype.c \ | alloc_ttype.c \ | ||||
captoinfo.c \ | captoinfo.c \ | ||||
Show All 16 Lines | SRCS+= \ | ||||
lib_baudrate.c \ | lib_baudrate.c \ | ||||
lib_cur_term.c \ | lib_cur_term.c \ | ||||
lib_data.c \ | lib_data.c \ | ||||
lib_has_cap.c \ | lib_has_cap.c \ | ||||
lib_kernel.c \ | lib_kernel.c \ | ||||
lib_longname.c \ | lib_longname.c \ | ||||
lib_napms.c \ | lib_napms.c \ | ||||
lib_options.c \ | lib_options.c \ | ||||
lib_print.c \ | |||||
lib_raw.c \ | lib_raw.c \ | ||||
lib_setup.c \ | lib_setup.c \ | ||||
lib_termcap.c \ | lib_termcap.c \ | ||||
lib_termname.c \ | lib_termname.c \ | ||||
lib_tgoto.c \ | lib_tgoto.c \ | ||||
lib_ti.c \ | lib_ti.c \ | ||||
lib_tparm.c \ | lib_tparm.c \ | ||||
lib_tputs.c \ | lib_tputs.c \ | ||||
lib_ttyflags.c \ | lib_ttyflags.c \ | ||||
name_match.c \ | name_match.c \ | ||||
obsolete.c \ | obsolete.c \ | ||||
parse_entry.c \ | parse_entry.c \ | ||||
read_entry.c \ | read_entry.c \ | ||||
read_termcap.c \ | read_termcap.c \ | ||||
strings.c \ | strings.c \ | ||||
trim_sgr0.c \ | trim_sgr0.c \ | ||||
write_entry.c | write_entry.c | ||||
.PATH: ${NCURSES_DIR}/ncurses/tty | .PATH: ${NCURSES_DIR}/ncurses/tty | ||||
SRCS+= \ | SRCS+= \ | ||||
hardscroll.c \ | lib_twait.c | ||||
hashmap.c \ | |||||
lib_mvcur.c \ | |||||
lib_tstp.c \ | |||||
lib_twait.c \ | |||||
lib_vidattr.c \ | |||||
tty_update.c | |||||
.PATH: ${NCURSES_DIR}/ncurses/widechar | |||||
SRCS+= \ | |||||
charable.c \ | |||||
lib_add_wch.c \ | |||||
lib_box_set.c \ | |||||
lib_cchar.c \ | |||||
lib_erasewchar.c \ | |||||
lib_get_wch.c \ | |||||
lib_get_wstr.c \ | |||||
lib_hline_set.c \ | |||||
lib_in_wch.c \ | |||||
lib_in_wchnstr.c \ | |||||
lib_ins_wch.c \ | |||||
lib_inwstr.c \ | |||||
lib_key_name.c \ | |||||
lib_pecho_wchar.c \ | |||||
lib_slk_wset.c \ | |||||
lib_unget_wch.c \ | |||||
lib_vid_attr.c \ | |||||
lib_vline_set.c \ | |||||
lib_wacs.c \ | |||||
lib_wunctrl.c | |||||
.PATH: ${NCURSES_DIR}/ncurses/trace | .PATH: ${NCURSES_DIR}/ncurses/trace | ||||
SRCS+= \ | SRCS+= \ | ||||
lib_trace.c \ | lib_trace.c \ | ||||
visbuf.c | visbuf.c | ||||
# Currently unused, for debugging libncurses itself. | # Currently unused, for debugging libncurses itself. | ||||
DBGSRCS= \ | DBGSRCS= \ | ||||
lib_traceatr.c \ | lib_traceatr.c \ | ||||
Show All 15 Lines | |||||
HEADERS= curses.h term.h termcap.h unctrl.h | HEADERS= curses.h term.h termcap.h unctrl.h | ||||
SRCHDRS= ncurses_dll.h | SRCHDRS= ncurses_dll.h | ||||
CLEANFILES+= ncurses_dll.h | CLEANFILES+= ncurses_dll.h | ||||
INCS= ${HEADERS} ${SRCHDRS} | INCS= ${HEADERS} ${SRCHDRS} | ||||
INCSLINKS= curses.h ${INCLUDEDIR}/ncurses.h | INCSLINKS= curses.h ${INCLUDEDIR}/ncurses.h | ||||
.if ${MK_INSTALLLIB} != "no" | .if ${MK_INSTALLLIB} != "no" | ||||
SYMLINKS+= libncursesw.a ${LIBDIR}/libcursesw.a | SYMLINKS+= libtinfow.a ${LIBDIR}/libtermcapw.a | ||||
SYMLINKS+= libncursesw.a ${LIBDIR}/libtermcapw.a | SYMLINKS+= libtinfow.a ${LIBDIR}/libtermlibw.a | ||||
SYMLINKS+= libncursesw.a ${LIBDIR}/libtermlibw.a | |||||
SYMLINKS+= libncursesw.a ${LIBDIR}/libtinfow.a | |||||
# backward compat | # backward compat | ||||
SYMLINKS+= libncursesw.a ${LIBDIR}/libncurses.a | SYMLINKS+= libtinfow.a ${LIBDIR}/libtermcap.a | ||||
SYMLINKS+= libncursesw.a ${LIBDIR}/libcurses.a | SYMLINKS+= libtinfow.a ${LIBDIR}/libtermlib.a | ||||
SYMLINKS+= libncursesw.a ${LIBDIR}/libtermcap.a | SYMLINKS+= libtinfow.a ${LIBDIR}/libtinfo.a | ||||
SYMLINKS+= libncursesw.a ${LIBDIR}/libtermlib.a | |||||
SYMLINKS+= libncursesw.a ${LIBDIR}/libtinfo.a | |||||
.endif | .endif | ||||
.if !defined(NO_PIC) | .if !defined(NO_PIC) | ||||
# no need for major at all, it's an ld-time redirection only | # no need for major at all, it's an ld-time redirection only | ||||
SYMLINKS+= libncursesw.so ${LIBDIR}/libcursesw.so | SYMLINKS+= libtinfow.so ${LIBDIR}/libtermcapw.so | ||||
SYMLINKS+= libncursesw.so ${LIBDIR}/libtermcapw.so | SYMLINKS+= libtinfow.so ${LIBDIR}/libtermlibw.so | ||||
SYMLINKS+= libncursesw.so ${LIBDIR}/libtermlibw.so | |||||
SYMLINKS+= libncursesw.so ${LIBDIR}/libtinfow.so | |||||
# backward compat | # backward compat | ||||
SYMLINKS+= libncursesw.so ${LIBDIR}/libncurses.so | SYMLINKS+= libtinfow.so ${LIBDIR}/libtermcap.so | ||||
SYMLINKS+= libncursesw.so ${LIBDIR}/libcurses.so | SYMLINKS+= libtinfow.so ${LIBDIR}/libtermlib.so | ||||
SYMLINKS+= libncursesw.so ${LIBDIR}/libtermcap.so | SYMLINKS+= libtinfow.so ${LIBDIR}/libtinfo.so | ||||
SYMLINKS+= libncursesw.so ${LIBDIR}/libtermlib.so | |||||
SYMLINKS+= libncursesw.so ${LIBDIR}/libtinfo.so | |||||
.endif | .endif | ||||
.if ${MK_PROFILE} != "no" | .if ${MK_PROFILE} != "no" | ||||
SYMLINKS+= libncursesw_p.a ${LIBDIR}/libcursesw_p.a | SYMLINKS+= libtinfow_p.a ${LIBDIR}/libtermcapw_p.a | ||||
SYMLINKS+= libncursesw_p.a ${LIBDIR}/libtermcapw_p.a | SYMLINKS+= libtinfow_p.a ${LIBDIR}/libtermlibw_p.a | ||||
SYMLINKS+= libncursesw_p.a ${LIBDIR}/libtermlibw_p.a | |||||
SYMLINKS+= libncursesw_p.a ${LIBDIR}/libtinfow_p.a | |||||
# backward compat | # backward compat | ||||
SYMLINKS+= libncursesw_p.a ${LIBDIR}/libncurses_p.a | SYMLINKS+= libtinfow_p.a ${LIBDIR}/libtermcap_p.a | ||||
SYMLINKS+= libncursesw_p.a ${LIBDIR}/libcurses_p.a | SYMLINKS+= libtinfow_p.a ${LIBDIR}/libtermlib_p.a | ||||
SYMLINKS+= libncursesw_p.a ${LIBDIR}/libtermcap_p.a | SYMLINKS+= libtinfow_p.a ${LIBDIR}/libtinfo_p.a | ||||
SYMLINKS+= libncursesw_p.a ${LIBDIR}/libtermlib_p.a | |||||
SYMLINKS+= libncursesw_p.a ${LIBDIR}/libtinfo_p.a | |||||
.endif | .endif | ||||
DOCSDIR= ${SHAREDIR}/doc/ncurses | DOCSDIR= ${SHAREDIR}/doc/ncurses | ||||
DOCS= ncurses-intro.html hackguide.html | DOCS= ncurses-intro.html hackguide.html | ||||
.if ${MK_HTML} != "no" | .if ${MK_HTML} != "no" | ||||
.PATH: ${NCURSES_DIR}/doc/html | .PATH: ${NCURSES_DIR}/doc/html | ||||
FILESGROUPS= DOCS | FILESGROUPS= DOCS | ||||
.endif | .endif | ||||
# Generated source | # Generated source | ||||
.ORDER: names.c codes.c | .ORDER: names.c codes.c | ||||
names.c: MKnames.awk | names.c: MKnames.awk | ||||
${AWK} -f ${NCURSES_DIR}/ncurses/tinfo/MKnames.awk bigstrings=${USE_BIG_STRINGS} ${NCURSES_DIR}/include/Caps > names.c | ${AWK} -f ${NCURSES_DIR}/ncurses/tinfo/MKnames.awk bigstrings=${USE_BIG_STRINGS} ${NCURSES_DIR}/include/Caps > names.c | ||||
codes.c: MKcodes.awk | codes.c: MKcodes.awk | ||||
${AWK} -f ${NCURSES_DIR}/ncurses/tinfo/MKcodes.awk bigstrings=${USE_BIG_STRINGS} ${NCURSES_DIR}/include/Caps > codes.c | ${AWK} -f ${NCURSES_DIR}/ncurses/tinfo/MKcodes.awk bigstrings=${USE_BIG_STRINGS} ${NCURSES_DIR}/include/Caps > codes.c | ||||
lib_gen.c: MKlib_gen.sh curses.h ncurses_dll.h | |||||
LC_ALL=C sh ${NCURSES_DIR}/ncurses/base/MKlib_gen.sh "${CPP:N${CCACHE_BIN}} ${CFLAGS}" \ | |||||
"${AWK}" generated < curses.h >$@ | |||||
lib_keyname.c: keys.list MKkeyname.awk | lib_keyname.c: keys.list MKkeyname.awk | ||||
${AWK} -f ${NCURSES_DIR}/ncurses/base/MKkeyname.awk bigstrings=${USE_BIG_STRINGS} keys.list > lib_keyname.c | ${AWK} -f ${NCURSES_DIR}/ncurses/base/MKkeyname.awk bigstrings=${USE_BIG_STRINGS} keys.list > lib_keyname.c | ||||
unctrl.c: MKunctrl.awk | unctrl.c: MKunctrl.awk | ||||
echo | ${AWK} -f ${NCURSES_DIR}/ncurses/base/MKunctrl.awk bigstrings=${USE_BIG_STRINGS} > unctrl.c | echo | ${AWK} -f ${NCURSES_DIR}/ncurses/base/MKunctrl.awk bigstrings=${USE_BIG_STRINGS} > unctrl.c | ||||
comp_captab.c: MKcaptab.sh MKcaptab.awk Caps Caps-ncurses make_hash | comp_captab.c: MKcaptab.sh MKcaptab.awk Caps Caps-ncurses make_hash | ||||
env PATH=${BTOOLSPATH:U.}:${PATH} sh ${NCURSES_DIR}/ncurses/tinfo/MKcaptab.sh "${AWK}" \ | env PATH=${BTOOLSPATH:U.}:${PATH} sh ${NCURSES_DIR}/ncurses/tinfo/MKcaptab.sh "${AWK}" \ | ||||
${USE_BIG_STRINGS} ${NCURSES_DIR}/ncurses/tinfo/MKcaptab.awk \ | ${USE_BIG_STRINGS} ${NCURSES_DIR}/ncurses/tinfo/MKcaptab.awk \ | ||||
${NCURSES_DIR}/include/Caps ${NCURSES_DIR}/include/Caps-ncurses > comp_captab.c | ${NCURSES_DIR}/include/Caps ${NCURSES_DIR}/include/Caps-ncurses > comp_captab.c | ||||
expanded.c: MKexpanded.sh | |||||
sh ${NCURSES_DIR}/ncurses/tty/MKexpanded.sh "${CC:N${CCACHE_BIN}} -E" ${CFLAGS} >expanded.c | |||||
fallback.c: MKfallback.sh | fallback.c: MKfallback.sh | ||||
sh ${NCURSES_DIR}/ncurses/tinfo/MKfallback.sh "" "" "" > ${.TARGET}.tmp && \ | sh ${NCURSES_DIR}/ncurses/tinfo/MKfallback.sh "" "" "" > ${.TARGET}.tmp && \ | ||||
mv -f ${.TARGET}.tmp ${.TARGET} | mv -f ${.TARGET}.tmp ${.TARGET} | ||||
comp_userdefs.c: MKuserdefs.sh Caps Caps-ncurses make_hash | comp_userdefs.c: MKuserdefs.sh Caps Caps-ncurses make_hash | ||||
env PATH=${BTOOLSPATH:U.}:${PATH} sh ${NCURSES_DIR}/ncurses/tinfo/MKuserdefs.sh "${AWK}" \ | env PATH=${BTOOLSPATH:U.}:${PATH} sh ${NCURSES_DIR}/ncurses/tinfo/MKuserdefs.sh "${AWK}" \ | ||||
${USE_BIG_STRINGS} ${NCURSES_DIR}/include/Caps ${NCURSES_DIR}/include/Caps-ncurses > ${.TARGET} | ${USE_BIG_STRINGS} ${NCURSES_DIR}/include/Caps ${NCURSES_DIR}/include/Caps-ncurses > ${.TARGET} | ||||
▲ Show 20 Lines • Show All 764 Lines • ▼ Show 20 Lines | MLINKS+=curs_add_wch.3 add_wch.3 \ | ||||
curs_printw.3 vwprintw.3 \ | curs_printw.3 vwprintw.3 \ | ||||
curs_printw.3 wprintw.3 \ | curs_printw.3 wprintw.3 \ | ||||
curs_scanw.3 mvscanw.3 \ | curs_scanw.3 mvscanw.3 \ | ||||
curs_scanw.3 mvwscanw.3 \ | curs_scanw.3 mvwscanw.3 \ | ||||
curs_scanw.3 scanw.3 \ | curs_scanw.3 scanw.3 \ | ||||
curs_scanw.3 vw_scanw.3 \ | curs_scanw.3 vw_scanw.3 \ | ||||
curs_scanw.3 vwscanw.3 \ | curs_scanw.3 vwscanw.3 \ | ||||
curs_scanw.3 wscanw.3 | curs_scanw.3 wscanw.3 | ||||
PCFILES= ncursesw.pc \ | |||||
tinfow.pc \ | |||||
panelw.pc \ | |||||
formw.pc \ | |||||
menuw.pc | |||||
CLEANFILES+= ${PCFILES} | |||||
SYMLINKS+= ncursesw.pc ${LIBDATADIR}/pkgconfig/ncurses.pc \ | |||||
tinfow.pc ${LIBDATADIR}/pkgconfig/tinfo.pc \ | |||||
formw.pc ${LIBDATADIR}/pkgconfig/form.pc \ | |||||
menuw.pc ${LIBDATADIR}/pkgconfig/menu.pc \ | |||||
panelw.pc ${LIBDATADIR}/pkgconfig/panel.pc | |||||
.PATH: ${NCURSES_DIR}/misc | |||||
gen-pkgconfig: gen-pkgconfig.in | |||||
sed -e 's,@SHELL@,/bin/sh,g ; \ | |||||
s,@LIB_NAME@,ncursesw,g ; \ | |||||
s,@TINFO_NAME@,tinfow,g ; \ | |||||
s,@PANEL_NAME@,panelw,g ; \ | |||||
s,@MENU_NAME@,menuw,g ; \ | |||||
s,@FORM_NAME@,formw,g ; \ | |||||
s,@CXX_NAME@,ncurses++,g ; \ | |||||
s,@DFT_DEP_SUFFIX@,.so,g ; \ | |||||
s,@TINFO_ARG_SUFFIX@,tinfow,g ; \ | |||||
s,@CXX_LIB_SUFFIX@,.a,g ; \ | |||||
s,@PC_MODULE_SUFFIX@,,g ; \ | |||||
s,@prefix@,/usr,g ; \ | |||||
s,@exec_prefix@,$${prefix},g ; \ | |||||
s,@includedir@,/usr/include,g ; \ | |||||
s,@includesubdir@,,g ; \ | |||||
s,@libdir@,/usr/lib,g ; \ | |||||
s,@RPATH_LIST@,$${libdir},g ; \ | |||||
s,@PRIVATE_LIBS@,,g ; \ | |||||
s,@USE_ARG_SUFFIX@,,g ; \ | |||||
s,@NCURSES_MAJOR@,${NCURSES_MAJOR},g ; \ | |||||
s,@NCURSES_MINOR@,${NCURSES_MINOR},g ; \ | |||||
s,@NCURSES_PATCH@,${NCURSES_PATCH},g ; \ | |||||
s,@PKG_CFLAGS@,,g ; \ | |||||
s,@EXTRA_PKG_LDFLAGS@,${SSP_CFLAGS},g ; \ | |||||
s,@LDFLAGS@,,g; \ | |||||
s,@LIBS@,,g ; \ | |||||
s,@LD_SEARCHPATH@,/usr/lib|/lib,g ; \ | |||||
s,@PC_MODULES_TO_MAKE@,$$1,g' \ | |||||
${.ALLSRC} > ${.TARGET} | |||||
${PCFILES}: gen-pkgconfig | |||||
sh ${.OBJDIR}/gen-pkgconfig ${.TARGET:R} | |||||
.include <bsd.lib.mk> | .include <bsd.lib.mk> | ||||
# Keep the .SUFFIXES line after the include of bsd.lib.mk | # Keep the .SUFFIXES line after the include of bsd.lib.mk | ||||
.SUFFIXES: .3 .3x | .SUFFIXES: .3 .3x | ||||
.3x.3: | .3x.3: | ||||
cat ${.IMPSRC} > ${.TARGET} | cat ${.IMPSRC} > ${.TARGET} |