[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / fep

Annotation of OpenXM_contrib2/fep/Makefile, Revision 1.5

1.1       noro        1: #
                      2: # Copyright (c) 1987-1991 by Software Research Associates, Inc.
                      3: #
                      4: # $Header: /home/mmb/utashiro/src/fep/RCS/Makefile,v 4.4 1993/06/10 02:51:15 utashiro Exp $
                      5: #
                      6: # Options:
                      7: #      KANJI:  SHIFT-JIS kanji code handling on ASCII KANJI UNIX
                      8: #
1.4       ohara       9: #CC=gcc
1.1       noro       10: TARGET = fep
                     11: HEADER = fep_defs.h fep_glob.h fep_funcs.h fep_stat.h
                     12: SRC    = fep_main.c fep_edit.c fep_hist.c fep_com.c fep_funcs.c fep_set.c \
                     13:            fep_vi.c fep_util.c fep_alias.c
                     14: OBJ    = fep_main.o fep_edit.o fep_hist.o fep_com.o fep_funcs.o fep_set.o \
                     15:            fep_vi.o fep_util.o fep_alias.o
                     16: DISTRIBUTION\
                     17:        = Makefile fep.1 $(HEADER) $(SRC) feprc.sample README
                     18:
                     19: INSTDIR        = ${PREFIX}/bin
                     20:
                     21: #STAT  = -DSTAT#               Delete # for statistic info
                     22: #KANJI = -DKANJI#              Delete # for KANJI handling
1.3       ohara      23: CONFIG = $(STAT) $(KANJI) -DTERMIOS -D_ALL_SOURCE
1.1       noro       24:
                     25: #DEBUG = -g
                     26: #DEBUG = -O
                     27:
1.4       ohara      28: CFLAGS += $(DEBUG) $(CONFIG) -Wno-implicit-int -Wno-return-type
1.1       noro       29: LDFLAGS = -ltermcap
1.5     ! fujimoto   30: INSTALL = install -s
1.1       noro       31:
                     32: all: $(TARGET)
                     33:
                     34: $(TARGET): $(OBJ)
                     35:        $(CC) -o $(TARGET) $(CFLAGS) $(OBJ) $(LDFLAGS)
                     36:
                     37: argv: fep_com.c
                     38:        $(CC) -o argv -DMKARGDEBUG fep_util.c
                     39:
                     40: install: $(TARGET)
1.5     ! fujimoto   41:        $(INSTALL) $(TARGET) $(INSTDIR)
1.1       noro       42:        gzip -9n -c fep.1 > ${PREFIX}/man/man1/fep.1.gz
                     43:
                     44: fep.1: fep.jman
                     45:        sed -e '/^\.EG/d' -e '/^\.JP/,/^\.EJ/d' -e '/^\.\\"KS/,/^\.\\"KE/d' \
                     46:        -e '/^\.\\"K/d' fep.jman > $@
                     47:
                     48: README.jis: README
                     49:        jcat -IJ README > $@
                     50:
                     51: fep.tar: $(DISTRIBUTION)
                     52:        tar cvf $@ $(DISTRIBUTION)
                     53:
                     54: # rogue-monster version shar
                     55: shar: fep.shr1
                     56:
                     57: TARGETSIZE=40000
                     58: fep.shr1: $(DISTRIBUTION)
                     59:        shar -f fep -m $(TARGETSIZE) $(DISTRIBUTION)
                     60:
                     61: # tektronix shar
                     62: tshar: $(DISTRIBUTION)
                     63:        shar $(DISTRIBUTION) > fep.shar
                     64:
                     65: clean:
                     66:        rm -f *.o $(TARGET)
                     67:
                     68: distversion: $(DISTRIBUTION)
                     69:        @ident $(DISTRIBUTION) | grep Header
                     70:
                     71: fep_main.o:    fep_defs.h fep_glob.h fep_funcs.h fep_stat.h
                     72: fep_com.o:     fep_defs.h fep_glob.h fep_funcs.h
                     73: fep_edit.o:    fep_defs.h fep_glob.h fep_funcs.h
                     74: fep_funcs.o:   fep_funcs.h
                     75: fep_hist.o:    fep_defs.h fep_glob.h fep_funcs.h
                     76: fep_set.o:     fep_defs.h fep_glob.h
                     77: fep_util.o:    fep_defs.h
                     78: fep_vi.o:      fep_defs.h fep_glob.h fep_funcs.h

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>