("" < 3.4) always evaluates to true, which unconditionally
[dragonfly.git] / contrib / less-381 / Makefile.in
blob8e976bb43ad4bb81c7295d90e3f0ed3ea527d518
1 # Makefile for less.
3 #### Start of system configuration section. ####
5 srcdir = @srcdir@
6 VPATH = @srcdir@
8 CC = @CC@
9 INSTALL = @INSTALL@
10 INSTALL_PROGRAM = @INSTALL_PROGRAM@
11 INSTALL_DATA = @INSTALL_DATA@
13 CFLAGS = @CFLAGS@
14 CFLAGS_COMPILE_ONLY = -c
15 LDFLAGS = @LDFLAGS@
16 O=o
18 LIBS = @LIBS@
20 prefix = @prefix@
21 exec_prefix = @exec_prefix@
23 # Where the installed binary goes.
24 bindir = @bindir@
25 binprefix =
27 sysconfdir = @sysconfdir@
29 mandir = @mandir@
30 manext = 1
31 manprefix =
33 #### End of system configuration section. ####
35 SHELL = /bin/sh
37 # This rule allows us to supply the necessary -D options
38 # in addition to whatever the user asks for.
39 .c.o:
40 ${CC} -I. ${CFLAGS_COMPILE_ONLY} -DBINDIR=\"${bindir}\" -DSYSDIR=\"${sysconfdir}\" ${CPPFLAGS} ${CFLAGS} $<
42 OBJ = main.${O} screen.${O} brac.${O} ch.${O} charset.${O} cmdbuf.${O} \
43 command.${O} decode.${O} edit.${O} filename.${O} forwback.${O} \
44 help.${O} ifile.${O} input.${O} jump.${O} line.${O} linenum.${O} \
45 lsystem.${O} mark.${O} optfunc.${O} option.${O} opttbl.${O} os.${O} \
46 output.${O} position.${O} prompt.${O} search.${O} signal.${O} \
47 tags.${O} ttyin.${O} version.${O} @REGEX_O@
49 all: less lesskey lessecho
51 less: ${OBJ}
52 ${CC} ${LDFLAGS} -o $@ ${OBJ} ${LIBS}
54 lesskey: lesskey.${O} version.${O}
55 ${CC} ${LDFLAGS} -o $@ lesskey.${O} version.${O}
57 lessecho: lessecho.${O} version.${O}
58 ${CC} ${LDFLAGS} -o $@ lessecho.${O} version.${O}
60 ${OBJ}: ${srcdir}/less.h ${srcdir}/funcs.h defines.h
62 install: all ${srcdir}/less.nro ${srcdir}/lesskey.nro installdirs
63 ${INSTALL_PROGRAM} less ${bindir}/${binprefix}less
64 ${INSTALL_PROGRAM} lesskey ${bindir}/${binprefix}lesskey
65 ${INSTALL_PROGRAM} lessecho ${bindir}/${binprefix}lessecho
66 ${INSTALL_DATA} ${srcdir}/less.nro ${mandir}/man${manext}/${manprefix}less.${manext}
67 ${INSTALL_DATA} ${srcdir}/lesskey.nro ${mandir}/man${manext}/${manprefix}lesskey.${manext}
69 install-strip:
70 ${MAKE} INSTALL_PROGRAM='${INSTALL_PROGRAM} -s' install
72 installdirs: mkinstalldirs
73 ${srcdir}/mkinstalldirs ${bindir} ${mandir}/man${manext}
75 uninstall:
76 rm -f ${bindir}/${binprefix}less ${bindir}/${binprefix}lesskey ${bindir}/${binprefix}lessecho
77 rm -f ${mandir}/man${manext}/${manprefix}less.${manext} ${mandir}/man${manext}/${manprefix}lesskey.${manext}
79 info:
80 install-info:
81 dvi:
82 check:
83 installcheck:
85 TAGS:
86 cd ${srcdir} && etags *.c *.h
88 # config.status might not change defines.h
89 # Don't rerun config.status if we just configured (so there's no stamp-h).
90 defines.h: stamp-h
91 stamp-h: defines.h.in config.status
92 test ! -f stamp-h || CONFIG_FILES= CONFIG_HEADERS=defines.h ./config.status
93 touch stamp-h
94 Makefile: ${srcdir}/Makefile.in config.status
95 CONFIG_FILES=Makefile CONFIG_HEADERS= ./config.status
96 config.status: ${srcdir}/configure
97 ./config.status --recheck
99 ${srcdir}/configure: ${srcdir}/configure.ac
100 cd ${srcdir}; autoheader; autoconf
102 clean:
103 rm -f *.${O} core less lesskey lessecho
105 mostlyclean: clean
107 distclean: clean
108 rm -f Makefile config.status config.log config.cache defines.h stamp-h
110 realclean: distclean
111 rm -f TAGS