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

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

1.27    ! jasper      1: # $OpenBSD: Makefile,v 1.26 2012/06/07 15:15:04 lum 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.3       millert    10: #      FKEYS           -- add support for function key sequences.
1.22      sobrado    11: #      REGEX           -- create regular expression functions.
                     12: #      STARTUP         -- look for and handle initialization file.
                     13: #      XKEYS           -- use termcap function key definitions.
                     14: #                              note: XKEYS and bsmap mode do _not_ get along.
1.1       deraadt    15: #
1.22      sobrado    16: CFLAGS+=-Wall -DFKEYS -DREGEX -DXKEYS
1.2       deraadt    17:
1.23      lum        18: SRCS=  autoexec.c basic.c buffer.c cinfo.c dir.c display.c \
1.22      sobrado    19:        echo.c extend.c file.c fileio.c funmap.c help.c kbd.c keymap.c \
                     20:        line.c macro.c main.c match.c modes.c paragraph.c random.c \
                     21:        re_search.c region.c search.c spawn.c tty.c ttyio.c ttykbd.c \
                     22:        undo.c version.c window.c word.c yank.c
1.8       art        23:
                     24: #
                     25: # More or less standalone extensions.
                     26: #
1.26      lum        27: SRCS+= cmode.c cscope.c dired.c grep.c tags.c theo.c
1.24      lum        28:
                     29: afterinstall:
                     30:        ${INSTALL} -d ${DESTDIR}${DOCDIR}/mg
1.27    ! jasper     31:        ${INSTALL} -m ${DOCMODE} -c ${.CURDIR}/tutorial \
1.24      lum        32:                ${DESTDIR}${DOCDIR}/mg
1.1       deraadt    33:
1.2       deraadt    34: .include <bsd.prog.mk>