Annotation of src/usr.bin/mg/Makefile, Revision 1.34
1.34 ! lum 1: # $OpenBSD: Makefile,v 1.33 2016/09/16 17:17:40 tedu 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.34 ! lum 12: # MGLOG -- debug mg internals to a log file.
1.1 deraadt 13: #
1.30 bcallah 14: CFLAGS+=-Wall -DREGEX
1.2 deraadt 15:
1.28 lum 16: SRCS= autoexec.c basic.c bell.c buffer.c cinfo.c dir.c display.c \
1.22 sobrado 17: echo.c extend.c file.c fileio.c funmap.c help.c kbd.c keymap.c \
1.31 tedu 18: line.c macro.c main.c match.c modes.c paragraph.c \
1.22 sobrado 19: re_search.c region.c search.c spawn.c tty.c ttyio.c ttykbd.c \
1.31 tedu 20: undo.c util.c version.c window.c word.c yank.c
1.8 art 21:
22: #
23: # More or less standalone extensions.
24: #
1.33 tedu 25: SRCS+= cmode.c cscope.c dired.c grep.c tags.c
1.34 ! lum 26:
! 27: #
! 28: # -DMGLOG source file.
! 29: #
! 30: #SRCS+= log.c
1.24 lum 31:
32: afterinstall:
1.32 natano 33: ${INSTALL} -d -o root -g wheel ${DESTDIR}${DOCDIR}/mg
34: ${INSTALL} ${INSTALL_COPY} -o ${DOCOWN} -g ${DOCGRP} -m ${DOCMODE} \
35: ${.CURDIR}/tutorial ${DESTDIR}${DOCDIR}/mg
1.1 deraadt 36:
1.2 deraadt 37: .include <bsd.prog.mk>