mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-23 16:40:24 +02:00
24705: rationalise curses and term headers even more
This commit is contained in:
parent
37a7e81390
commit
2ca42b2025
7 changed files with 171 additions and 130 deletions
19
Src/zsh.mdd
19
Src/zsh.mdd
|
@ -33,9 +33,26 @@ init.o: bltinmods.list zshpaths.h zshxmods.h
|
|||
|
||||
init.o params.o parse.o: version.h
|
||||
|
||||
version.h: $(sdir_top)/Config/version.mk
|
||||
# The main shell doesn't currently need zshcurses.h and zshterm.h,
|
||||
# but make sure these are built with the headers.
|
||||
# If it did need need them they would be in headers at the top instead.
|
||||
version.h: $(sdir_top)/Config/version.mk zshcurses.h zshterm.h
|
||||
echo '#define ZSH_VERSION "'$(VERSION)'"' > $@
|
||||
|
||||
zshcurses.h: ../config.h
|
||||
@if test x$(ZSH_CURSES_H) != x; then \
|
||||
echo "#include <$(ZSH_CURSES_H)>" >zshcurses.h; \
|
||||
else \
|
||||
echo >zshcurses.h; \
|
||||
fi
|
||||
|
||||
zshterm.h: ../config.h
|
||||
@if test x$(ZSH_TERM_H) != x; then \
|
||||
echo "#include <$(ZSH_TERM_H)>" >zshterm.h; \
|
||||
else \
|
||||
echo >zshterm.h; \
|
||||
fi
|
||||
|
||||
zshpaths.h: Makemod $(CONFIG_INCS)
|
||||
@echo '#define MODULE_DIR "'$(MODDIR)'"' > zshpaths.h.tmp
|
||||
@if test x$(sitescriptdir) != xno; then \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue