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

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

1.1       deraadt     1: # Makefile for MicroEMACS.
                      2: # Is there a better way to do the rebuilds, other than using
                      3: # the links?
                      4:
1.2     ! deraadt     5: LDADD+=        -lcurses
        !             6: DPADD+=        ${LIBCURSES}
        !             7:
1.1       deraadt     8: # (Common) compile-time options:
                      9: #
                     10: #      DO_METAKEY      -- if bit 7 is set for a key, treat like a META key
                     11: #      STARTUP         -- look for and handle initialization file
                     12: #      XKEYS           -- use termcap function key definitions. Warning -
                     13: #                              XKEYS and bsmap mode do _not_ get along.
                     14: #      BACKUP          -- enable "make-backup-files"
                     15: #      PREFIXREGION    -- enable function "prefix-region"
                     16: #      REGEX           -- create regular expression functions
                     17: #
1.2     ! deraadt    18: CDEFS  =  -DDO_METAKEY
        !            19: CDEFS+=        -DDO_METAKEY -DPREFIXREGION -DXKEYS -DBACKUP
        !            20: CFLAGS+=$(CDEFS)
        !            21:
        !            22: SRCS=  cinfo.c fileio.c spawn.c ttyio.c tty.c ttykbd.c \
        !            23:        basic.c dir.c dired.c file.c line.c match.c paragraph.c \
        !            24:        random.c region.c search.c version.c window.c word.c \
        !            25:        buffer.c display.c echo.c extend.c help.c kbd.c keymap.c \
        !            26:        macro.c main.c modes.c regex.c re_search.c
        !            27: PROG=  mg
1.1       deraadt    28:
1.2     ! deraadt    29: .include <bsd.prog.mk>