Makefile (256281) | Makefile (268782) |
---|---|
1# $NetBSD: Makefile,v 1.34 2005/05/28 12:02:53 lukem Exp $ | 1# $NetBSD: Makefile,v 1.37 2009/01/18 12:17:49 lukem Exp $ |
2# @(#)Makefile 8.1 (Berkeley) 6/4/93 | 2# @(#)Makefile 8.1 (Berkeley) 6/4/93 |
3# $FreeBSD: stable/10/lib/libedit/Makefile 247713 2013-03-03 14:42:15Z jilles $ | 3# $FreeBSD: stable/10/lib/libedit/Makefile 268782 2014-07-17 02:14:25Z pfg $ |
4 5LIB= edit 6SHLIB_MAJOR= 7 7SHLIBDIR?= /lib 8 9OSRCS= chared.c common.c el.c emacs.c fcns.c filecomplete.c help.c \ 10 hist.c key.c map.c \ 11 parse.c prompt.c read.c refresh.c search.c sig.c term.c tty.c vi.c --- 53 unchanged lines hidden (view full) --- 65 66editline.c: ${OSRCS} 67 sh ${.CURDIR}/makelist -e ${.ALLSRC:T} > ${.TARGET} 68 69# minimal dependency to make "make depend" optional 70editline.o editline.po editline.So editline.ln: \ 71 common.h emacs.h fcns.c fcns.h help.c help.h vi.h 72 | 4 5LIB= edit 6SHLIB_MAJOR= 7 7SHLIBDIR?= /lib 8 9OSRCS= chared.c common.c el.c emacs.c fcns.c filecomplete.c help.c \ 10 hist.c key.c map.c \ 11 parse.c prompt.c read.c refresh.c search.c sig.c term.c tty.c vi.c --- 53 unchanged lines hidden (view full) --- 65 66editline.c: ${OSRCS} 67 sh ${.CURDIR}/makelist -e ${.ALLSRC:T} > ${.TARGET} 68 69# minimal dependency to make "make depend" optional 70editline.o editline.po editline.So editline.ln: \ 71 common.h emacs.h fcns.c fcns.h help.c help.h vi.h 72 |
73test.o: ${.CURDIR}/TEST/test.c | 73tc1.o: ${.CURDIR}/TEST/tc1.c |
74 | 74 |
75test: test.o libedit.a ${DPADD} ${LIBTERMCAP} | 75test: tc1.o libedit.a ${DPADD} ${LIBTERMCAP} |
76 ${CC} ${CFLAGS} ${.ALLSRC} -o ${.TARGET} libedit.a ${LDADD} 77 78.include <bsd.lib.mk> | 76 ${CC} ${CFLAGS} ${.ALLSRC} -o ${.TARGET} libedit.a ${LDADD} 77 78.include <bsd.lib.mk> |