Skip to content

Commit

Permalink
Add xbuf.* to non-autoconf Makefiles.
Browse files Browse the repository at this point in the history
  • Loading branch information
gwsw committed Jun 1, 2021
1 parent dd74053 commit 1ef68f2
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 30 deletions.
6 changes: 3 additions & 3 deletions Makefile.dsb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ OBJ = \
help.obj ifile.obj input.obj jump.obj lesskey_parse.obj line.obj linenum.obj \
lsystem.obj mark.obj optfunc.obj option.obj opttbl.obj os.obj \
output.obj pattern.obj position.obj prompt.obj search.obj signal.obj \
tags.obj ttyin.obj version.obj
tags.obj ttyin.obj version.obj xbuf.obj

all: less$(EXT) lesskey$(EXT)

Expand All @@ -35,8 +35,8 @@ less$(EXT): $(OBJ)
$(CC) $(LDFLAGS) -e$@ *.obj $(LIBS)
ren lesskey.obo lesskey.obj

lesskey$(EXT): lesskey.obj lesskey_parse.obj version.obj
$(CC) $(LDFLAGS) -e$@ lesskey.obj lesskey_parse.obj version.obj $(LIBS)
lesskey$(EXT): lesskey.obj lesskey_parse.obj version.obj xbuf.obj
$(CC) $(LDFLAGS) -e$@ lesskey.obj lesskey_parse.obj version.obj xbuf.obj $(LIBS)

defines.h: defines.ds
-del defines.h
Expand Down
6 changes: 3 additions & 3 deletions Makefile.dsg
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ OBJ = \
help.${O} ifile.${O} input.${O} jump.${O} lesskey_parse.${O} line.${O} linenum.${O} \
lsystem.${O} mark.${O} optfunc.${O} option.${O} opttbl.${O} os.${O} \
output.${O} pattern.${O} position.${O} prompt.${O} search.${O} signal.${O} \
tags.${O} ttyin.${O} version.${O}
tags.${O} ttyin.${O} version.${O} xbuf.${O}

all: less lesskey lessecho

less: ${OBJ}
${CC} ${LDFLAGS} -o $@ ${OBJ} ${LIBS}

lesskey: lesskey.${O} lesskey_parse.${O} version.${O}
${CC} ${LDFLAGS} -o $@ lesskey.${O} lesskey_parse.${O} version.${O}
lesskey: lesskey.${O} lesskey_parse.${O} version.${O} xbuf.${O}
${CC} ${LDFLAGS} -o $@ lesskey.${O} lesskey_parse.${O} version.${O} xbuf.${O}

lessecho: lessecho.${O} version.${O}
${CC} ${LDFLAGS} -o $@ lessecho.${O} version.${O}
Expand Down
6 changes: 3 additions & 3 deletions Makefile.dsu
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ OBJ = \
help.obj ifile.obj input.obj jump.obj lesskey_parse.obj line.obj linenum.obj \
lsystem.obj mark.obj optfunc.obj option.obj opttbl.obj os.obj \
output.obj pattern.obj position.obj prompt.obj search.obj signal.obj \
tags.obj ttyin.obj version.obj
tags.obj ttyin.obj version.obj xbuf.obj

all: less lesskey

Expand All @@ -43,8 +43,8 @@ less: $(OBJ)
-if exist lesskey.obj del lesskey.obj
$(CC) $(LDFLAGS) -o $@ *.obj $(LIBS)

lesskey: lesskey.obj lesskey_parse.obj version.obj
$(CC) $(LDFLAGS) -o $@ lesskey.obj lesskey_parse.obj version.obj $(LIBS)
lesskey: lesskey.obj lesskey_parse.obj version.obj xbuf.obj
$(CC) $(LDFLAGS) -o $@ lesskey.obj lesskey_parse.obj version.obj xbuf.obj $(LIBS)

defines.h: defines.ds
-del defines.h
Expand Down
6 changes: 3 additions & 3 deletions Makefile.o2e
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ OBJ = \
help.${O} ifile.${O} input.${O} jump.${O} lesskey_parse.${O} line.${O} linenum.${O} \
lsystem.${O} mark.${O} optfunc.${O} option.${O} opttbl.${O} os.${O} \
output.${O} pattern.${O} position.${O} prompt.${O} search.${O} signal.${O} \
tags.${O} ttyin.${O} version.${O} regexp.${O}
tags.${O} ttyin.${O} version.${O} xbuf.${O} regexp.${O}

all: less.exe lesskey.exe scrsize.exe

less.exe: ${OBJ}
${CC} ${OBJ} -o $@ ${LDFLAGS} ${LIBS}

lesskey.exe: lesskey.${O} lesskey_parse.${O} version.${O}
${CC} lesskey.${O} lesskey_parse.${O} version.${O} -o $@ ${LDFLAGS}
lesskey.exe: lesskey.${O} lesskey_parse.${O} version.${O} xbuf.${O}
${CC} lesskey.${O} lesskey_parse.${O} version.${O} xbuf.${O} -o $@ ${LDFLAGS}

scrsize.exe: scrsize.c
${CC} ${CFLAGS} -D__ST_MT_ERRNO__ -s -Zmtd -lX11 $<
Expand Down
6 changes: 3 additions & 3 deletions Makefile.o9c
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ OBJ = \
help.${O} ifile.${O} input.${O} jump.${O} lesskey_parse.${O} line.${O} linenum.${O} \
lsystem.${O} mark.${O} optfunc.${O} option.${O} opttbl.${O} os.${O} \
output.${O} pattern.${O} position.${O} prompt.${O} search.${O} signal.${O} \
tags.${O} ttyin.${O} version.${O} regexp.${O}
tags.${O} ttyin.${O} version.${O} xbuf.${O} regexp.${O}

all: less lessecho lesskey

less: ${OBJ}
${CC} ${OBJ} -f=$@ ${LDFLAGS} ${LIBS}

lesskey: lesskey.${O} lesskey_parse.${O} version.${O}
${CC} lesskey.${O} lesskey_parse.${O} version.${O} -f=$@ ${LDFLAGS}
lesskey: lesskey.${O} lesskey_parse.${O} version.${O} xbuf.${O}
${CC} lesskey.${O} lesskey_parse.${O} version.${O} xbuf.${O} -f=$@ ${LDFLAGS}

lessecho: lessecho.${O} version.${O}
${CC} lessecho.${O} version.${O} -f=$@ ${LDFLAGS}
Expand Down
6 changes: 3 additions & 3 deletions Makefile.o9g
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ OBJ = \
help.${O} ifile.${O} input.${O} jump.${O} lesskey_parse.${O} line.${O} linenum.${O} \
lsystem.${O} mark.${O} optfunc.${O} option.${O} opttbl.${O} os.${O} \
output.${O} pattern.${O} position.${O} prompt.${O} search.${O} signal.${O} \
tags.${O} ttyin.${O} version.${O} regexp.${O}
tags.${O} ttyin.${O} version.${O} xbuf.${O} regexp.${O}

all: less lesskey

less: ${OBJ}
${CC} ${OBJ} ${LDFLAGS} ${LIBS}

lesskey: lesskey.${O} lesskey_parse.${O} version.${O}
${CC} lesskey.${O} lesskey_parse.${O} version.${O} ${LDFLAGS}
lesskey: lesskey.${O} lesskey_parse.${O} version.${O} xbuf.${O}
${CC} lesskey.${O} lesskey_parse.${O} version.${O} xbuf.${O} ${LDFLAGS}

${OBJ}: defines.h less.h

Expand Down
6 changes: 3 additions & 3 deletions Makefile.o9u
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ OBJ = \
help.${O} ifile.${O} input.${O} jump.${O} lesskey_parse.${O} line.${O} linenum.${O} \
lsystem.${O} mark.${O} optfunc.${O} option.${O} opttbl.${O} os.${O} \
output.${O} pattern.${O} position.${O} prompt.${O} search.${O} signal.${O} \
tags.${O} ttyin.${O} version.${O} regexp.${O}
tags.${O} ttyin.${O} version.${O} xbuf.${O} regexp.${O}

all: less lesskey

less: ${OBJ}
${CC} ${OBJ} -f=$@ ${LDFLAGS} ${LIBS}

lesskey: lesskey.${O} lesskey_parse.${O} version.${O}
${CC} lesskey.${O} lesskey_parse.${O} version.${O} -f=$@ ${LDFLAGS}
lesskey: lesskey.${O} lesskey_parse.${O} version.${O} xbuf.${O}
${CC} lesskey.${O} lesskey_parse.${O} version.${O} xbuf.${O} -f=$@ ${LDFLAGS}

${OBJ}: defines.h less.h

Expand Down
4 changes: 2 additions & 2 deletions Makefile.wnb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ OBJ = \
help.obj ifile.obj input.obj jump.obj lesskey_parse.obj line.obj linenum.obj \
lsystem.obj mark.obj optfunc.obj option.obj opttbl.obj os.obj \
output.obj pattern.obj position.obj prompt.obj search.obj signal.obj \
tags.obj ttyin.obj version.obj regexp.obj
tags.obj ttyin.obj version.obj xbuf.obj regexp.obj

all: less lesskey lessecho

Expand All @@ -42,7 +42,7 @@ all: less lesskey lessecho
less: ${OBJ}
${LD} ${LDFLAGS} ${LIBDIR}\c0x32.obj $**, $@,,${LIBS}

lesskey: lesskey.obj lesskey_parse.obj version.obj
lesskey: lesskey.obj lesskey_parse.obj version.obj xbuf.obj
${LD} ${LDFLAGS} ${LIBDIR}\c0x32.obj $**, $@,,${LIBS}

lessecho: lessecho.obj version.obj
Expand Down
8 changes: 4 additions & 4 deletions Makefile.wng
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ LESS_SRC = brac.c ch.c charset.c cmdbuf.c command.c \
lsystem.c main.c mark.c optfunc.c option.c \
opttbl.c os.c output.c pattern.c position.c \
prompt.c screen.c scrsize.c search.c \
signal.c tags.c ttyin.c version.c
signal.c tags.c ttyin.c version.c xbuf.c
ifeq (${REGEX_PACKAGE},regcomp-local)
LESS_SRC += regexp.c
endif
Expand All @@ -92,7 +92,7 @@ OBJ = \
help.o ifile.o input.o jump.o lesskey_parse.o line.o linenum.o \
lsystem.o mark.o optfunc.o option.o opttbl.o os.o \
output.o pattern.o position.o prompt.o search.o signal.o \
tags.o ttyin.o version.o
tags.o ttyin.o version.o xbuf.o
ifeq (${REGEX_PACKAGE},regcomp-local)
OBJ += regexp.o
endif
Expand All @@ -103,8 +103,8 @@ all: clean less lesskey lessecho
less: ${OBJ}
${CC} ${LDFLAGS} -o $@ ${OBJ} ${LIBS}

lesskey: lesskey.o lesskey_parse.o version.o
${CC} ${LDFLAGS} -o $@ lesskey.o lesskey_parse.o version.o
lesskey: lesskey.o lesskey_parse.o version.o xbuf.o
${CC} ${LDFLAGS} -o $@ lesskey.o lesskey_parse.o version.o xbuf.o

lessecho: lessecho.o version.o
${CC} ${LDFLAGS} -o $@ lessecho.o version.o
Expand Down
6 changes: 3 additions & 3 deletions Makefile.wnm
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ OBJ = \
help.obj ifile.obj input.obj jump.obj lesskey_parse.obj line.obj linenum.obj \
lsystem.obj mark.obj optfunc.obj option.obj opttbl.obj os.obj \
output.obj pattern.obj position.obj prompt.obj search.obj signal.obj \
tags.obj ttyin.obj version.obj regexp.obj
tags.obj ttyin.obj version.obj xbuf.obj regexp.obj

all: less.exe lesskey.exe

less.exe: $(OBJ)
$(LD) $(LDFLAGS) $** $(LIBS) /out:$@

lesskey.exe: lesskey.obj lesskey_parse.obj version.obj
$(LD) $(LDFLAGS) lesskey.obj lesskey_parse.obj version.obj $(LIBS) /out:$@
lesskey.exe: lesskey.obj lesskey_parse.obj version.obj xbuf.obj
$(LD) $(LDFLAGS) lesskey.obj lesskey_parse.obj version.obj xbuf.obj $(LIBS) /out:$@

defines.h: defines.wn
-del defines.h
Expand Down

0 comments on commit 1ef68f2

Please sign in to comment.