[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / src / usr.bin / mg

Annotation of src/usr.bin/mg/Makefile, Revision 1.31

1.31    ! tedu        1: # $OpenBSD: Makefile,v 1.30 2015/03/17 18:08:52 bcallah Exp $
1.4       millert     2:
                      3: PROG=  mg
1.1       deraadt     4:
1.25      lum         5: LDADD+=        -lcurses -lutil
                      6: DPADD+=        ${LIBCURSES} ${LIBUTIL}
1.2       deraadt     7:
1.1       deraadt     8: # (Common) compile-time options:
                      9: #
1.22      sobrado    10: #      REGEX           -- create regular expression functions.
1.30      bcallah    11: #      STARTUPFILE     -- look for and handle initialization file.
1.1       deraadt    12: #
1.30      bcallah    13: CFLAGS+=-Wall -DREGEX
1.2       deraadt    14:
1.28      lum        15: SRCS=  autoexec.c basic.c bell.c buffer.c cinfo.c dir.c display.c \
1.22      sobrado    16:        echo.c extend.c file.c fileio.c funmap.c help.c kbd.c keymap.c \
1.31    ! tedu       17:        line.c macro.c main.c match.c modes.c paragraph.c \
1.22      sobrado    18:        re_search.c region.c search.c spawn.c tty.c ttyio.c ttykbd.c \
1.31    ! tedu       19:        undo.c util.c version.c window.c word.c yank.c
1.8       art        20:
                     21: #
                     22: # More or less standalone extensions.
                     23: #
1.26      lum        24: SRCS+= cmode.c cscope.c dired.c grep.c tags.c theo.c
1.24      lum        25:
                     26: afterinstall:
                     27:        ${INSTALL} -d ${DESTDIR}${DOCDIR}/mg
1.27      jasper     28:        ${INSTALL} -m ${DOCMODE} -c ${.CURDIR}/tutorial \
1.24      lum        29:                ${DESTDIR}${DOCDIR}/mg
1.1       deraadt    30:
1.2       deraadt    31: .include <bsd.prog.mk>