Makefile.in revision 0bd37d32
1## $XTermId: Makefile.in,v 1.219 2013/05/27 19:39:59 tom Exp $ 2# ----------------------------------------------------------------------------- 3# this file is part of xterm 4# 5# Copyright 1997-2012,2013 by Thomas E. Dickey 6# 7# All Rights Reserved 8# 9# Permission is hereby granted, free of charge, to any person obtaining a 10# copy of this software and associated documentation files (the 11# "Software"), to deal in the Software without restriction, including 12# without limitation the rights to use, copy, modify, merge, publish, 13# distribute, sublicense, and/or sell copies of the Software, and to 14# permit persons to whom the Software is furnished to do so, subject to 15# the following conditions: 16# 17# The above copyright notice and this permission notice shall be included 18# in all copies or substantial portions of the Software. 19# 20# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 22# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 23# IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY 24# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 25# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 26# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 27# 28# Except as contained in this notice, the name(s) of the above copyright 29# holders shall not be used in advertising or otherwise to promote the 30# sale, use or other dealings in this Software without prior written 31# authorization. 32# ----------------------------------------------------------------------------- 33 34SHELL = /bin/sh 35 36#### Start of system configuration section. #### 37 38srcdir = @srcdir@ 39VPATH = @srcdir@ 40 41x = @EXEEXT@ 42o = .@OBJEXT@ 43 44CC = @CC@ 45CPP = @CPP@ 46AWK = @AWK@ 47LINK = $(CC) $(CFLAGS) 48 49CTAGS = @CTAGS@ 50ETAGS = @ETAGS@ 51 52LN_S = @LN_S@ 53RM = rm -f 54LINT = @LINT@ 55 56INSTALL = @INSTALL@ 57INSTALL_PROGRAM = @INSTALL_PROGRAM@ 58INSTALL_SCRIPT = @INSTALL_SCRIPT@ 59INSTALL_DATA = @INSTALL_DATA@ 60transform = @program_transform_name@ 61 62EXTRA_CFLAGS = @EXTRA_CFLAGS@ 63EXTRA_CPPFLAGS = @EXTRA_CPPFLAGS@ 64EXTRA_LOADFLAGS = @IMAKE_LOADFLAGS@ 65 66CPPFLAGS = -I. -I$(srcdir) -DHAVE_CONFIG_H @CPPFLAGS@ $(EXTRA_CPPFLAGS) 67CFLAGS = @CFLAGS@ $(EXTRA_CFLAGS) 68LDFLAGS = @LDFLAGS@ @EXTRA_LDFLAGS@ 69LIBS = @LIBS@ 70 71prefix = @prefix@ 72exec_prefix = @exec_prefix@ 73datarootdir = @datarootdir@ 74datadir = @datadir@ 75 76manext = 1 77bindir = @bindir@ 78libdir = @libdir@ 79mandir = @mandir@/man$(manext) 80appsdir = @APPSDIR@ 81icondir = @ICONDIR@ 82pixmapdir = @PIXMAPDIR@ 83 84#### End of system configuration section. #### 85 86ICON_NAME = @ICON_NAME@ 87ICON_SYMLINK = @ICON_SYMLINK@ 88 89DESTDIR = 90BINDIR = $(DESTDIR)$(bindir) 91LIBDIR = $(DESTDIR)$(libdir) 92MANDIR = $(DESTDIR)$(mandir) 93APPSDIR = $(DESTDIR)$(appsdir) 94 95@no_icondir@ICONDIR = $(DESTDIR)$(icondir) 96@no_pixmapdir@PIXMAPDIR = $(DESTDIR)$(pixmapdir) 97 98INSTALL_DIRS = $(BINDIR) $(APPSDIR) $(ICONDIR) $(PIXMAPDIR) $(MANDIR) 99 100CLASS = @APP_CLASS@ 101EXTRAHDR = @EXTRAHDRS@ 102EXTRASRC = @EXTRASRCS@ 103EXTRAOBJ = @EXTRAOBJS@ 104 105 SRCS1 = button.c cachedGCs.c charproc.c charsets.c cursor.c \ 106 data.c doublechr.c fontutils.c input.c \ 107 linedata.c main.c menu.c misc.c \ 108 print.c ptydata.c scrollback.c \ 109 screen.c scrollbar.c tabs.c util.c version.c xstrings.c \ 110 xtermcap.c VTPrsTbl.c $(EXTRASRC) 111 OBJS1 = button$o cachedGCs$o charproc$o charsets$o cursor$o \ 112 data$o doublechr$o fontutils$o input$o \ 113 linedata$o main$o menu$o misc$o \ 114 print$o ptydata$o scrollback$o \ 115 screen$o scrollbar$o tabs$o util$o version$o xstrings$o \ 116 xtermcap$o VTPrsTbl$o $(EXTRAOBJ) 117 SRCS2 = resize.c version.c xstrings.c 118 OBJS2 = resize$o version$o xstrings$o 119 SRCS = $(SRCS1) $(SRCS2) 120 OBJS = $(OBJS1) $(OBJS2) 121 HDRS = VTparse.h data.h error.h main.h menu.h \ 122 ptyx.h version.h xstrings.h xterm.h xtermcap.h $(EXTRAHDR) 123 PROGRAMS = xterm$x resize$x 124 125all : $(PROGRAMS) 126################################################################################ 127.SUFFIXES : .i .def .hin .$(manext) .ms .man .txt @GROFF_NOTE@ .html .ps .pdf 128 129.c$o : 130 @RULE_CC@ 131 @ECHO_CC@$(CC) $(CPPFLAGS) $(CFLAGS) -c $(srcdir)/$*.c 132 133.c.i : 134 @RULE_CC@ 135 @ECHO_CC@$(CPP) -C $(CPPFLAGS) $*.c >$@ 136 137.def.hin : 138 grep '^CASE_' $< | $(AWK) '{printf "#define %s %d\n", $$1, n++}' >$@ 139 140.man.$(manext) : 141 $(SHELL) ./minstall "$(INSTALL_DATA)" $< $@ $(appsdir) $(CLASS) $* $* $(pixmapdir) 142 143@NROFF_NOTE@.$(manext).txt : 144@NROFF_NOTE@ $(SHELL) -c "tbl $*.$(manext) | nroff -man | col -bx" >$@ 145@NROFF_NOTE@ 146@NROFF_NOTE@.ms.txt : 147@NROFF_NOTE@ $(SHELL) -c "tbl $*.$(manext) | nroff -ms | col -bx" >$@ 148@NROFF_NOTE@ 149 150@GROFF_NOTE@.$(manext).html : 151@GROFF_NOTE@ GROFF_NO_SGR=stupid $(SHELL) -c "tbl $*.$(manext) | groff -P -o0 -I$*_ -Thtml -man" >$@ 152@GROFF_NOTE@ 153@GROFF_NOTE@.$(manext).ps : 154@GROFF_NOTE@ $(SHELL) -c "tbl $*.$(manext) | groff -man" >$@ 155@GROFF_NOTE@ 156@GROFF_NOTE@.$(manext).txt : 157@GROFF_NOTE@ GROFF_NO_SGR=stupid $(SHELL) -c "tbl $*.$(manext) | groff -Tascii -man | col -bx" >$@ 158@GROFF_NOTE@ 159@GROFF_NOTE@.ms.html : 160@GROFF_NOTE@ GROFF_NO_SGR=stupid $(SHELL) -c "tbl $< | groff -P -o0 -I$*_ -Thtml -ms" >$@ 161@GROFF_NOTE@ 162@GROFF_NOTE@.ms.ps : 163@GROFF_NOTE@ $(SHELL) -c "tbl $< | groff -ms" >$@ 164@GROFF_NOTE@ 165@GROFF_NOTE@.ms.txt : 166@GROFF_NOTE@ GROFF_NO_SGR=stupid $(SHELL) -c "tbl $< | groff -Tascii -ms | col -bx" >$@ 167@GROFF_NOTE@ 168@GROFF_NOTE@.ps.pdf : 169@GROFF_NOTE@ ps2pdf $*.ps 170################################################################################ 171main$o : main.h 172misc$o : version.h 173 174$(OBJS1) : xterm.h ptyx.h xtermcfg.h 175main$o resize$o screen$o : xterm_io.h 176 177xterm$x : $(OBJS1) 178 @ECHO_LD@$(SHELL) $(srcdir)/plink.sh $(LINK) $(LDFLAGS) -o $@ $(OBJS1) $(LIBS) $(EXTRA_LOADFLAGS) 179 180resize$x : $(OBJS2) 181 @ECHO_LD@$(SHELL) $(srcdir)/plink.sh $(LINK) $(LDFLAGS) -o $@ $(OBJS2) $(LIBS) 182 183256colres.h : 184 -rm -f $@ 185 perl $(srcdir)/256colres.pl > $@ 186 18788colres.h : 188 -rm -f $@ 189 perl $(srcdir)/88colres.pl > $@ 190 191charproc$o : main.h @CHARPROC_DEPS@ 192################################################################################ 193actual_xterm = `echo xterm| sed '$(transform)'` 194actual_resize = `echo resize| sed '$(transform)'` 195actual_uxterm = `echo uxterm| sed '$(transform)'` 196actual_k8term = `echo koi8rxterm| sed '$(transform)'` 197 198binary_xterm = $(actual_xterm)$x 199binary_resize = $(actual_resize)$x 200binary_uxterm = $(actual_uxterm) 201binary_k8term = $(actual_k8term) 202 203install \ 204install-bin \ 205install-full :: xterm$x resize$x $(BINDIR) 206@MAY_SETUID@ $(SHELL) $(srcdir)/sinstall.sh @SINSTALL_OPTS@ "$(INSTALL_PROGRAM)" xterm$x @XTERM_PATH@ $(BINDIR)/$(binary_xterm) 207@NOT_SETUID@ $(INSTALL_PROGRAM) xterm$x $(BINDIR)/$(binary_xterm) 208 $(INSTALL_PROGRAM) -m 755 resize$x $(BINDIR)/$(binary_resize) 209 210EDIT_SCRIPT = sed -e s,=xterm,=\$$name, -e s,XTerm,$(CLASS), 211 212install \ 213install-bin \ 214install-scripts \ 215install-full :: 216 @$(SHELL) -c "name=\"$(binary_xterm)\"; \ 217 dest=\"$(binary_uxterm)\"; \ 218 echo \"... installing $(BINDIR)/\$$dest\"; \ 219 $(EDIT_SCRIPT) $(srcdir)/uxterm >uxterm.tmp; \ 220 $(INSTALL_SCRIPT) -m 755 uxterm.tmp $(BINDIR)/\$$dest; \ 221 rm -f uxterm.tmp" 222 @$(SHELL) -c "name=\"$(binary_xterm)\"; \ 223 dest=\"$(binary_k8term)\"; \ 224 echo \"... installing $(BINDIR)/\$$dest\"; \ 225 $(EDIT_SCRIPT) $(srcdir)/koi8rxterm >k8term.tmp; \ 226 $(INSTALL_SCRIPT) -m 755 k8term.tmp $(BINDIR)/\$$dest; \ 227 rm -f k8term.tmp" 228 @-$(SHELL) -c "name=\"$(binary_xterm)\"; \ 229 if test @XTERM_SYMLINK@ != NONE ; then \ 230 cd $(BINDIR) && ( \ 231 rm -f @XTERM_SYMLINK@ ; \ 232 $(LN_S) \$$name @XTERM_SYMLINK@ ; \ 233 echo \"... created symbolic link:\" ; \ 234 ls -l \$$name @XTERM_SYMLINK@ ) ; \ 235 fi" 236 237install \ 238install-man \ 239install-full :: $(MANDIR) 240 @-$(SHELL) -c "for app in xterm resize uxterm koi8rxterm ; \ 241 do \ 242 actual=\`echo \"\$$app\" | sed '@program_transform_name@'\`; \ 243 $(SHELL) ./minstall \"$(INSTALL_DATA)\" $(srcdir)/\$$app.man $(MANDIR)/\$$actual.$(manext) $(appsdir) $(CLASS) \$$app \$$actual $(pixmapdir); \ 244 done" 245 @-$(SHELL) -c "if test @XTERM_SYMLINK@ != NONE ; then cd $(MANDIR) && rm -f @XTERM_SYMLINK@.$(manext) ; fi" 246 @-$(SHELL) -c "if test @XTERM_SYMLINK@ != NONE ; then cd $(MANDIR) && $(LN_S) $(actual_xterm).$(manext) @XTERM_SYMLINK@.$(manext) ; fi" 247 @-$(SHELL) -c "if test @XTERM_SYMLINK@ != NONE ; then cd $(MANDIR) && echo '... created symbolic link:' && ls -l $(actual_xterm).$(manext) @XTERM_SYMLINK@.$(manext) ; fi" 248 249APP_NAMES = XTerm UXTerm KOI8RXTerm 250 251@no_appsdir@install \ 252@no_appsdir@install-app \ 253@no_appsdir@install-full :: $(APPSDIR) 254@no_appsdir@ @-$(SHELL) -c 'for s in $(APP_NAMES); \ 255@no_appsdir@ do \ 256@no_appsdir@ echo "** $$s"; \ 257@no_appsdir@ d=`echo $$s | sed -e s/XTerm/$(CLASS)/`; \ 258@no_appsdir@ echo installing $(APPSDIR)/$$d; \ 259@no_appsdir@ sed -e s/XTerm/$(CLASS)/ $(srcdir)/$$s.ad >XTerm.tmp; \ 260@no_appsdir@ $(INSTALL_DATA) XTerm.tmp $(APPSDIR)/$$d; \ 261@no_appsdir@ echo installing $(APPSDIR)/$$d-color; \ 262@no_appsdir@ sed -e s/XTerm/$$d/ $(srcdir)/XTerm-col.ad >XTerm.tmp; \ 263@no_appsdir@ $(INSTALL_DATA) XTerm.tmp $(APPSDIR)/$$d-color; \ 264@no_appsdir@ done' 265@no_appsdir@ @rm -f XTerm.tmp 266@no_icondir@ @echo "... installed app-defaults" 267 268@no_icondir@ICON_LIST = @ICON_LIST@ 269@no_icondir@ICON_THEME = @ICON_THEME@ 270@no_icondir@install \ 271@no_icondir@install-icon \ 272@no_icondir@install-full :: $(ICONDIR) 273@no_icondir@ ACTUAL_XTERM=$(actual_xterm) \ 274@no_icondir@ $(SHELL) -c '\ 275@no_icondir@ h=$(ICONDIR)/$(ICON_THEME); \ 276@no_icondir@ for n in $(ICON_LIST); \ 277@no_icondir@ do \ 278@no_icondir@ x=$$ACTUAL_XTERM; \ 279@no_icondir@ l=`echo "$$n" | cut -f1 -d:`; \ 280@no_icondir@ r=`echo "$$n" | cut -f2 -d: |sed -e s,$(ICON_NAME),$$x-color,`; \ 281@no_icondir@ test -z "$$r" && continue; \ 282@no_icondir@ d=$$h/`echo "$$r" | sed -e "s,/[^/]*$$,,"`; \ 283@no_icondir@ test -d "$$d" || mkdir -p "$$d"; \ 284@no_icondir@ echo "installing icon $$h/$$r"; \ 285@no_icondir@ $(INSTALL_DATA) $$l $$h/$$r; \ 286@no_icondir@ s=`echo "$$r" | sed -e '"'s,^.*\.,.,'"'`; \ 287@no_icondir@ t=$(ICON_SYMLINK)$$s; \ 288@no_icondir@ b=`basename $$n $$s | sed -e "s,_[1-9][0-9]*x.*,,"`; \ 289@no_icondir@ if test "$(ICON_SYMLINK)" != NONE ; then \ 290@no_icondir@ if test "$$r" != "$$t" ; then \ 291@no_icondir@ if test "x$$b" = "x$(ICON_NAME)" ; then \ 292@no_icondir@ echo "linking $$r -> $$t"; \ 293@no_icondir@ ( cd $$h; rm -f $$t; $(LN_S) $$r $$t; ) \ 294@no_icondir@ fi \ 295@no_icondir@ fi \ 296@no_icondir@ fi \ 297@no_icondir@ done' 298@no_icondir@ @echo "... installed icons" 299 300@no_pixmapdir@install \ 301@no_pixmapdir@install-icon \ 302@no_pixmapdir@install-full :: $(PIXMAPDIR) 303@no_pixmapdir@ ACTUAL_XTERM=$(actual_xterm) \ 304@no_pixmapdir@ $(SHELL) -c '\ 305@no_pixmapdir@ h=$(PIXMAPDIR); \ 306@no_pixmapdir@ for n in $(srcdir)/icons/*xterm*_32x32.xpm $(srcdir)/icons/*xterm*_48x48.xpm; \ 307@no_pixmapdir@ do \ 308@no_pixmapdir@ l=`basename $$n`; \ 309@no_pixmapdir@ r=`echo "$$l" | sed -e "s,xterm,$$ACTUAL_XTERM,"`; \ 310@no_pixmapdir@ echo "installing pixmap $$h/$$r"; \ 311@no_pixmapdir@ $(INSTALL_DATA) $(srcdir)/icons/$$l $$h/$$r; \ 312@no_pixmapdir@ s=`echo "$$r" | sed -e '"'s,^.*\.,.,'"'`; \ 313@no_pixmapdir@ t=$(ICON_SYMLINK)$$s; \ 314@no_pixmapdir@ b=`basename $$n $$s | sed -e "s,_[1-9][0-9]*x.*,,"`; \ 315@no_pixmapdir@ if test "$(ICON_SYMLINK)" != NONE ; then \ 316@no_pixmapdir@ if test "x$$r" != "$$t" ; then \ 317@no_pixmapdir@ if test "x$$b" = "x$(ICON_NAME)" ; then \ 318@no_pixmapdir@ echo "linking $$r -> $$t"; \ 319@no_pixmapdir@ ( cd $$h; rm -f $$t; $(LN_S) $$r $$t; ) \ 320@no_pixmapdir@ fi \ 321@no_pixmapdir@ fi \ 322@no_pixmapdir@ fi \ 323@no_pixmapdir@ done' 324@no_pixmapdir@ @echo "... installed icons" 325 326install :: 327 @echo 'Completed installation of executables and documentation.' 328 @echo 'Use "make install-ti" to install terminfo description.' 329 330TERMINFO_DIR = @TERMINFO_DIR@ 331SET_TERMINFO = @SET_TERMINFO@ 332 333@no_ticprog@install-full \ 334@no_ticprog@install-ti :: $(TERMINFO_DIR) 335@no_ticprog@ @$(SHELL) -c "$(SET_TERMINFO) $(srcdir)/run-tic.sh $(srcdir)/terminfo" 336@no_ticprog@ @echo 'Completed installation of terminfo description.' 337 338install-full \ 339install-tc :: 340 @-$(SHELL) -c "test -f /etc/termcap && echo 'You must install the termcap entry manually by editing /etc/termcap'" 341 342installdirs : $(INSTALL_DIRS) 343################################################################################ 344uninstall \ 345uninstall-bin \ 346uninstall-full :: 347 -$(RM) $(BINDIR)/$(binary_xterm) 348 -$(RM) $(BINDIR)/$(binary_resize) 349 @-$(SHELL) -c "if test @XTERM_SYMLINK@ != NONE ; then cd $(BINDIR) && rm -f @XTERM_SYMLINK@; fi" 350 351uninstall \ 352uninstall-bin \ 353uninstall-scripts \ 354uninstall-full :: 355 -$(RM) $(BINDIR)/$(binary_uxterm) 356 -$(RM) $(BINDIR)/$(binary_k8term) 357 358uninstall \ 359uninstall-man \ 360uninstall-full :: 361 -$(RM) $(MANDIR)/$(actual_xterm).$(manext) 362 -$(RM) $(MANDIR)/$(actual_resize).$(manext) 363 -$(RM) $(MANDIR)/$(actual_uxterm).$(manext) 364 -$(RM) $(MANDIR)/$(actual_k8term).$(manext) 365 @-$(SHELL) -c "if test @XTERM_SYMLINK@ != NONE ; then cd $(MANDIR) && rm -f @XTERM_SYMLINK@.$(manext); fi" 366 367@no_appsdir@uninstall \ 368@no_appsdir@uninstall-app \ 369@no_appsdir@uninstall-full :: 370@no_appsdir@ @-$(SHELL) -c 'for s in $(APP_NAMES); \ 371@no_appsdir@ do \ 372@no_appsdir@ echo "** $$s"; \ 373@no_appsdir@ d=`echo $$s | sed -e s/XTerm/$(CLASS)/`; \ 374@no_appsdir@ echo uninstalling $(APPSDIR)/$$d; \ 375@no_appsdir@ $(RM) $(APPSDIR)/$$d; \ 376@no_appsdir@ echo uninstalling $(APPSDIR)/$$d-color; \ 377@no_appsdir@ $(RM) $(APPSDIR)/$$d-color; \ 378@no_appsdir@ done' 379 380@no_icondir@uninstall \ 381@no_icondir@uninstall-icon \ 382@no_icondir@uninstall-full :: 383@no_icondir@ -@$(SHELL) -c 'for n in $(ICON_LIST); \ 384@no_icondir@ do \ 385@no_icondir@ x=$(actual_xterm); \ 386@no_icondir@ r=`echo "$$n" | sed -e s,\^.\*:,, -e s,xterm,$$x,`; \ 387@no_icondir@ test -z "$$r" && continue; \ 388@no_icondir@ h=$(ICONDIR)/$(ICON_THEME); \ 389@no_icondir@ echo removing $$h/$$r; \ 390@no_icondir@ $(RM) $$h/$$r; \ 391@no_icondir@ done' 392@no_icondir@ @echo "... removed icons" 393 394@no_pixmapdir@uninstall \ 395@no_pixmapdir@uninstall-icon \ 396@no_pixmapdir@uninstall-full :: 397@no_pixmapdir@ ACTUAL_XTERM=$(actual_xterm) \ 398@no_pixmapdir@ $(SHELL) -c 'for n in $(srcdir)/icons/*xterm*_32x32.xpm $(srcdir)/icons/*xterm*_48x48.xpm; \ 399@no_pixmapdir@ do \ 400@no_pixmapdir@ l=`basename $$n`; \ 401@no_pixmapdir@ r=`echo "$$l" | sed -e "s,xterm,$$ACTUAL_XTERM,"`; \ 402@no_pixmapdir@ echo removing $(PIXMAPDIR)/$$r; \ 403@no_pixmapdir@ $(RM) $(PIXMAPDIR)/$$r; \ 404@no_pixmapdir@ done' 405@no_pixmapdir@ @echo "... removed icons" 406################################################################################ 407# Desktop-utils does not provide an uninstall, and is not uniformly available. 408@desktop_utils@DESKTOP_FILES = $(srcdir)/xterm.desktop $(srcdir)/uxterm.desktop 409@desktop_utils@DESKTOP_FLAGS = @DESKTOP_FLAGS@ 410@desktop_utils@install-desktop \ 411@desktop_utils@install-full :: 412@desktop_utils@ ACTUAL_XTERM=$(actual_xterm) \ 413@desktop_utils@ $(SHELL) -c 'for n in $(DESKTOP_FILES); \ 414@desktop_utils@ do $(SHELL) df-install $$ACTUAL_XTERM $(DESKTOP_FLAGS) $$n; \ 415@desktop_utils@ done' 416################################################################################ 417mostlyclean : 418 -$(RM) *$o *.[is] XtermLog.* .pure core *~ *.bak *.BAK *.out *.tmp 419 420clean : mostlyclean 421 -$(RM) $(PROGRAMS) 422 423distclean :: clean 424 -$(RM) Makefile config.status config.cache config.log xtermcfg.h 425 -$(RM) df-install minstall 426 427distclean \ 428docs-clean :: 429 -$(RM) *.ps *.pdf *.png 430 -$(SHELL) -c 'for p in xterm resize uxterm koi8rxterm; \ 431 do \ 432 $(RM) $$p.html $$p.$(manext) $$p.txt; \ 433 done' 434 -$(RM) ctlseqs.html ctlseqs.$(manext) 435 436realclean : distclean 437 -$(RM) tags TAGS 438 439maintainer-clean : realclean 440 -$(RM) 256colres.h 88colres.h 441################################################################################ 442terminfo.out : terminfo ; tic -a -I -1 terminfo >$@ 443termcap.out : termcap ; tic -a -C -U termcap >$@ 444################################################################################ 445docs-ctlseqs \ 446docs :: \ 447 $(srcdir)/ctlseqs.txt \ 448@GROFF_NOTE@ ctlseqs.html \ 449@GROFF_NOTE@ ctlseqs.pdf \ 450@GROFF_NOTE@ ctlseqs.ps 451 452ctlseqs.html : $(srcdir)/ctlseqs.ms 453ctlseqs.pdf : ctlseqs.ps 454ctlseqs.ps : $(srcdir)/ctlseqs.ms 455ctlseqs.txt : $(srcdir)/ctlseqs.ms 456################################################################################ 457docs-resize \ 458docs :: resize.txt @GROFF_NOTE@ resize.html resize.pdf resize.ps 459resize.html : resize.$(manext) 460resize.pdf : resize.ps 461resize.ps : resize.$(manext) 462resize.txt : resize.$(manext) 463################################################################################ 464docs-xterm \ 465docs :: xterm.txt @GROFF_NOTE@ xterm.html xterm.pdf xterm.ps 466xterm.html : xterm.$(manext) 467xterm.pdf : xterm.ps 468xterm.ps : xterm.$(manext) 469xterm.txt : xterm.$(manext) 470################################################################################ 471docs-uxterm \ 472docs :: uxterm.txt @GROFF_NOTE@ uxterm.html uxterm.pdf uxterm.ps 473uxterm.html : uxterm.$(manext) 474uxterm.pdf : uxterm.ps 475uxterm.ps : uxterm.$(manext) 476uxterm.txt : uxterm.$(manext) 477################################################################################ 478docs-koi8rxterm \ 479docs :: koi8rxterm.txt @GROFF_NOTE@ koi8rxterm.html koi8rxterm.pdf koi8rxterm.ps 480koi8rxterm.html : koi8rxterm.$(manext) 481koi8rxterm.pdf : koi8rxterm.ps 482koi8rxterm.ps : koi8rxterm.$(manext) 483koi8rxterm.txt : koi8rxterm.$(manext) 484################################################################################ 485lint : 486 $(LINT) $(CPPFLAGS) $(SRCS1) 487 $(LINT) $(CPPFLAGS) $(SRCS2) 488 489tags : 490 $(CTAGS) $(SRCS) $(HDRS) 491 492TAGS : 493 $(ETAGS) $(SRCS) $(HDRS) 494 495$(TERMINFO_DIR) $(INSTALL_DIRS) : 496 mkdir -p $@ 497 498ALWAYS : 499 500depend : $(TABLES) 501 makedepend -- $(CPPFLAGS) -- $(SRCS) 502 503# DO NOT DELETE THIS LINE -- make depend depends on it. 504