blob: 978cfde356e99ee306a2b7de86abea0a00c6ca32 [file] [log] [blame]
LuK133752a81d52025-07-08 18:07:20 -04001# $Id: Makefile.in,v 1.115 2024/04/08 18:33:54 tom Exp $
2##############################################################################
3# Copyright 2020-2021,2024 Thomas E. Dickey #
4# Copyright 1998-2016,2018 Free Software Foundation, Inc. #
5# #
6# Permission is hereby granted, free of charge, to any person obtaining a #
7# copy of this software and associated documentation files (the "Software"), #
8# to deal in the Software without restriction, including without limitation #
9# the rights to use, copy, modify, merge, publish, distribute, distribute #
10# with modifications, sublicense, and/or sell copies of the Software, and to #
11# permit persons to whom the Software is furnished to do so, subject to the #
12# following conditions: #
13# #
14# The above copyright notice and this permission notice shall be included in #
15# all copies or substantial portions of the Software. #
16# #
17# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR #
18# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, #
19# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL #
20# THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER #
21# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING #
22# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER #
23# DEALINGS IN THE SOFTWARE. #
24# #
25# Except as contained in this notice, the name(s) of the above copyright #
26# holders shall not be used in advertising or otherwise to promote the sale, #
27# use or other dealings in this Software without prior written #
28# authorization. #
29##############################################################################
30#
31# Author: Thomas E. Dickey 1996-on
32#
33# Makefile for ncurses source code.
34#
35# This makes the ncurses utility programs.
36#
37# The variable 'srcdir' refers to the source-distribution, and can be set with
38# the configure script by "--srcdir=DIR".
39#
40# The rules are organized to produce the libraries for the configured models,
41# and the programs with the configured default model.
42
43# turn off _all_ suffix rules; we'll generate our own
44.SUFFIXES:
45
46SHELL = /bin/sh
47
48THIS = Makefile
49
50TOP_MFLAGS = DESTDIR="$(DESTDIR)" RPATH_LIST="$(RPATH_LIST)"
51
52
53x =
54o = .o
55
56MODEL = ../objects
57DESTDIR =
58top_srcdir = ..
59srcdir = .
60prefix = /usr
61exec_prefix = ${prefix}
62bindir = ${exec_prefix}/bin
63libdir = ${exec_prefix}/lib
64includedir = ${prefix}/include
65datarootdir = ${prefix}/share
66datadir = ${datarootdir}
67includesubdir =
68
69INCLUDEDIR = $(DESTDIR)$(includedir)$(includesubdir)
70
71PACKAGE = ncursesw
72
73LIBTOOL =
74LIBTOOL_OPTS =
75LIBTOOL_CLEAN =
76LIBTOOL_COMPILE =
77LIBTOOL_LINK = ${CC}
78LIBTOOL_INSTALL =
79LIBTOOL_UNINSTALL =
80
81INSTALL = /usr/bin/install -c
82INSTALL_PROG = ${INSTALL} -s
83transform = s,x,x,
84
85AWK = mawk
86LN_S = ln -s -f
87
88CTAGS = ctags
89ETAGS = etags
90
91CC = gcc
92CPP = gcc -E
93CFLAGS = -O2 --param max-inline-insns-single=1200
94
95INCDIR = $(top_srcdir)/include
96NCUDIR = $(top_srcdir)/ncurses
97CPPFLAGS = -DHAVE_CONFIG_H -I../progs -I../ncurses -I$(top_srcdir)/ncurses -I. -I../include -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DNDEBUG
98
99CCFLAGS = $(CPPFLAGS) $(CFLAGS)
100
101CFLAGS_LIBTOOL = $(CCFLAGS)
102CFLAGS_NORMAL = $(CCFLAGS) -DNCURSES_STATIC
103CFLAGS_DEBUG = $(CCFLAGS) -DNCURSES_STATIC -g -DTRACE
104CFLAGS_PROFILE = $(CCFLAGS) -DNCURSES_STATIC -pg
105CFLAGS_SHARED = $(CCFLAGS) -fPIC
106
107CFLAGS_DEFAULT = $(CFLAGS_NORMAL)
108
109REL_VERSION = 6.5
110ABI_VERSION = 6
111LOCAL_LIBDIR = /home/micky387/Omni/external/libncurses/lib
112
113LD = ld
114LINK = $(LIBTOOL_LINK)
115LDFLAGS =
116RPATH_LIST = ${libdir}
117
118LDFLAGS_LIBTOOL = $(LDFLAGS) $(CFLAGS_LIBTOOL)
119LDFLAGS_NORMAL = $(LDFLAGS) $(CFLAGS_NORMAL)
120LDFLAGS_DEBUG = $(LDFLAGS) $(CFLAGS_DEBUG)
121LDFLAGS_PROFILE = $(LDFLAGS) $(CFLAGS_PROFILE)
122LDFLAGS_SHARED = $(LDFLAGS) $(CFLAGS_SHARED)
123
124LDFLAGS_DEFAULT = $(LDFLAGS_NORMAL)
125
126LIBS_TIC = -L../lib -lncursesw -lncursesw
127LDFLAGS_TIC = -L../lib $(LDFLAGS_NORMAL) $(LIBS_TIC)
128
129LIBS_TINFO = -lncursesw
130LDFLAGS_TINFO = -L../lib $(LDFLAGS_NORMAL) $(LIBS_TINFO)
131
132LINT =
133LINT_OPTS =
134LINT_LIBS = -lncurses
135
136AUTO_SRC = \
137 termsort.h \
138 transform.h
139
140# tic relies on direct access to the terminfo database
141GET_PROGS = infocmp$x clear$x tabs$x tput$x tset$x toe$x
142PUT_PROGS = tic$x
143PROGS = $(PUT_PROGS) $(GET_PROGS)
144
145# Default library, for linking applications
146DEPS_CURSES = ../lib/libncursesw.a
147
148HEADER_DEPS = \
149 $(INCDIR)/nc_access.h \
150 $(INCDIR)/nc_alloc.h \
151 $(INCDIR)/nc_panel.h \
152 $(INCDIR)/nc_string.h \
153 $(INCDIR)/nc_termios.h \
154 $(INCDIR)/nc_tparm.h \
155 $(INCDIR)/term_entry.h \
156 $(INCDIR)/tic.h \
157 $(NCUDIR)/curses.priv.h \
158 $(NCUDIR)/new_pair.h \
159 $(NCUDIR)/term.priv.h \
160 $(srcdir)/progs.priv.h \
161 ../include/curses.h \
162 ../include/ncurses_cfg.h \
163 ../include/ncurses_def.h \
164 ../include/ncurses_dll.h \
165 ../include/term.h \
166 ../include/unctrl.h
167
168################################################################################
169
170.PHONY : all
171.PHONY : check
172.PHONY : clean
173.PHONY : distclean
174.PHONY : install
175.PHONY : install.libs
176.PHONY : install.progs
177.PHONY : libs
178.PHONY : lint
179.PHONY : mostlyclean
180.PHONY : realclean
181.PHONY : sources
182.PHONY : uninstall
183.PHONY : uninstall.libs
184.PHONY : uninstall.progs
185
186all: $(AUTO_SRC) $(PROGS)
187
188sources: $(AUTO_SRC)
189
190install: $(AUTO_SRC) install.progs
191uninstall: uninstall.progs
192
193# this line simplifies the configure-script
194libs \
195install.libs \
196uninstall.libs:
197
198TRANSFORM = sed 's/$x$$//'|sed '$(transform)'|sed 's/$$/$x/'
199
200# transformed names for installing files
201actual_captoinfo = `echo captoinfo$x| $(TRANSFORM)`
202actual_clear = `echo clear$x| $(TRANSFORM)`
203actual_infocmp = `echo infocmp$x| $(TRANSFORM)`
204actual_infotocap = `echo infotocap$x| $(TRANSFORM)`
205actual_init = `echo init$x| $(TRANSFORM)`
206actual_reset = `echo reset$x| $(TRANSFORM)`
207actual_tabs = `echo tabs$x| $(TRANSFORM)`
208actual_tic = `echo tic$x| $(TRANSFORM)`
209actual_toe = `echo toe$x| $(TRANSFORM)`
210actual_tput = `echo tput$x| $(TRANSFORM)`
211actual_tset = `echo tset$x| $(TRANSFORM)`
212
213# transformed names for comparing at runtime
214define_captoinfo = `echo captoinfo| $(TRANSFORM)`
215define_clear = `echo clear| $(TRANSFORM)`
216define_infotocap = `echo infotocap| $(TRANSFORM)`
217define_init = `echo init| $(TRANSFORM)`
218define_reset = `echo reset| $(TRANSFORM)`
219
220transform.h :
221 echo "#ifndef __TRANSFORM_H" >$@
222 echo "#define __TRANSFORM_H 1" >>$@
223 echo "#include <progs.priv.h>" >>$@
224 echo "extern bool same_program(const char *, const char *);" >>$@
225 -$(SHELL) -c 'if test -n "$x" ; then echo "#define SUFFIX_IGNORED \"$x\"">>$@; fi'
226 echo "#define PROG_CAPTOINFO \"$(define_captoinfo)\"" >>$@
227 echo "#define PROG_INFOTOCAP \"$(define_infotocap)\"" >>$@
228 echo "#define PROG_CLEAR \"$(define_clear)\"" >>$@
229 echo "#define PROG_RESET \"$(define_reset)\"" >>$@
230 echo "#define PROG_INIT \"$(define_init)\"" >>$@
231 echo "#endif /* __TRANSFORM_H */" >>$@
232
233install.progs: $(AUTO_SRC) $(PROGS) $(DESTDIR)$(bindir)
234 $(LIBTOOL_INSTALL) $(INSTALL_PROG) tic$x $(DESTDIR)$(bindir)/$(actual_tic)
235 $(LIBTOOL_INSTALL) $(INSTALL_PROG) toe$x $(DESTDIR)$(bindir)/$(actual_toe)
236 @echo "linking $(actual_infotocap) to $(actual_tic)"
237 -@rm -f $(DESTDIR)$(bindir)/$(actual_infotocap)
238 ( cd $(DESTDIR)$(bindir) && $(LN_S) $(actual_tic) $(actual_infotocap) )
239 @echo "linking $(actual_captoinfo) to $(actual_tic)"
240 -@rm -f $(DESTDIR)$(bindir)/$(actual_captoinfo)
241 ( cd $(DESTDIR)$(bindir) && $(LN_S) $(actual_tic) $(actual_captoinfo) )
242 $(LIBTOOL_INSTALL) $(INSTALL_PROG) infocmp$x $(DESTDIR)$(bindir)/$(actual_infocmp)
243 $(LIBTOOL_INSTALL) $(INSTALL_PROG) clear$x $(DESTDIR)$(bindir)/$(actual_clear)
244 $(LIBTOOL_INSTALL) $(INSTALL_PROG) tabs$x $(DESTDIR)$(bindir)/$(actual_tabs)
245 $(LIBTOOL_INSTALL) $(INSTALL_PROG) tput$x $(DESTDIR)$(bindir)/$(actual_tput)
246 $(LIBTOOL_INSTALL) $(INSTALL_PROG) tset$x $(DESTDIR)$(bindir)/$(actual_tset)
247 @echo "linking $(actual_reset) to $(actual_tset)"
248 -@rm -f $(DESTDIR)$(bindir)/$(actual_reset)
249 ( cd $(DESTDIR)$(bindir) && $(LN_S) $(actual_tset) $(actual_reset) )
250
251uninstall.progs:
252 -@$(LIBTOOL_CLEAN) rm -f $(DESTDIR)$(bindir)/$(actual_tic)
253 -@$(LIBTOOL_CLEAN) rm -f $(DESTDIR)$(bindir)/$(actual_toe)
254 -@rm -f $(DESTDIR)$(bindir)/$(actual_captoinfo)
255 -@rm -f $(DESTDIR)$(bindir)/$(actual_infotocap)
256 -@$(LIBTOOL_CLEAN) rm -f $(DESTDIR)$(bindir)/$(actual_infocmp)
257 -@$(LIBTOOL_CLEAN) rm -f $(DESTDIR)$(bindir)/$(actual_clear)
258 -@$(LIBTOOL_CLEAN) rm -f $(DESTDIR)$(bindir)/$(actual_tabs)
259 -@$(LIBTOOL_CLEAN) rm -f $(DESTDIR)$(bindir)/$(actual_tput)
260 -@$(LIBTOOL_CLEAN) rm -f $(DESTDIR)$(bindir)/$(actual_tset)
261 -@rm -f $(DESTDIR)$(bindir)/$(actual_reset)
262
263$(DESTDIR)$(bindir) :
264 mkdir -p $@
265
266#
267# Utilities normally built by make all start here
268#
269
270DEPS_TIC = \
271 $(MODEL)/tic$o \
272 $(MODEL)/dump_entry$o \
273 $(MODEL)/tparm_type$o \
274 $(MODEL)/transform$o
275
276tic$x: $(DEPS_TIC) $(DEPS_CURSES) transform.h
277 $(LINK) $(DEPS_TIC) $(LDFLAGS_TIC) -o $@
278
279DEPS_TOE = \
280 $(MODEL)/toe$o
281
282toe$x: $(DEPS_TOE) $(DEPS_CURSES)
283 $(LINK) $(DEPS_TOE) $(LDFLAGS_TIC) -o $@
284
285DEPS_CLEAR = \
286 $(MODEL)/clear$o \
287 $(MODEL)/clear_cmd$o \
288 $(MODEL)/tty_settings$o
289
290clear$x: $(DEPS_CLEAR) $(DEPS_CURSES)
291 $(LINK) $(DEPS_CLEAR) $(LDFLAGS_TINFO) -o $@
292
293DEPS_TABS = \
294 $(MODEL)/tabs$o \
295 $(MODEL)/tty_settings$o
296
297tabs$x: $(DEPS_TABS) $(DEPS_TABS)
298 $(LINK) $(DEPS_TABS) $(LDFLAGS_TINFO) -o $@
299
300DEPS_TPUT = \
301 $(MODEL)/tput$o \
302 $(MODEL)/clear_cmd$o \
303 $(MODEL)/reset_cmd$o \
304 $(MODEL)/tparm_type$o \
305 $(MODEL)/transform$o \
306 $(MODEL)/tty_settings$o
307
308tput$x: $(DEPS_TPUT) $(DEPS_CURSES) transform.h
309 $(LINK) $(DEPS_TPUT) $(LDFLAGS_TINFO) -o $@
310
311DEPS_INFOCMP = \
312 $(MODEL)/infocmp$o \
313 $(MODEL)/dump_entry$o
314
315infocmp$x: $(DEPS_INFOCMP) $(DEPS_CURSES)
316 $(LINK) $(DEPS_INFOCMP) $(LDFLAGS_TIC) -o $@
317
318DEPS_TSET = \
319 $(MODEL)/tset$o \
320 $(MODEL)/reset_cmd$o \
321 $(MODEL)/transform$o \
322 $(MODEL)/tty_settings$o
323
324tset$x: $(DEPS_TSET) $(DEPS_CURSES) transform.h
325 $(LINK) $(DEPS_TSET) $(LDFLAGS_TINFO) -o $@
326
327termsort.h: $(srcdir)/MKtermsort.sh
328 $(SHELL) $(srcdir)/MKtermsort.sh $(AWK) $(srcdir)/../include/Caps >$@
329
330#
331# Utility productions start here
332#
333
334tags:
335 $(CTAGS) *.[ch]
336
337TAGS:
338 $(ETAGS) *.[ch]
339
340mostlyclean ::
341 -rm -f core tags TAGS *~ *.bak *.i *.ln *.atac trace
342
343clean :: mostlyclean
344 -$(SHELL) -c "if test -n '$x' ; then $(MAKE) clean x=''; fi"
345 -rm -f $(AUTO_SRC)
346 -rm -f $(PROGS)
347 -rm -rf .libs *.dSYM
348
349distclean :: clean
350 -rm -f Makefile
351
352realclean :: distclean
353
354# These rules are used to allow "make -n" to work on a clean directory-tree
355../include/hashsize.h \
356../include/parametrized.h \
357../include/term.h :
358 ( cd ../include && $(MAKE) $(TOP_MFLAGS) )
359$(DEPS_CURSES) :
360 ( cd ../ncurses && $(MAKE) $(TOP_MFLAGS) )
361
362lint:
363 $(LINT) $(LINT_OPTS) $(CPPFLAGS) $(srcdir)/tic.c $(srcdir)/dump_entry.c $(LINT_LIBS)
364 $(LINT) $(LINT_OPTS) $(CPPFLAGS) $(srcdir)/toe.c $(LINT_LIBS)
365 $(LINT) $(LINT_OPTS) $(CPPFLAGS) $(srcdir)/clear.c $(LINT_LIBS)
366 $(LINT) $(LINT_OPTS) $(CPPFLAGS) $(srcdir)/infocmp.c $(srcdir)/dump_entry.c $(LINT_LIBS)
367 $(LINT) $(LINT_OPTS) $(CPPFLAGS) $(srcdir)/tabs.c $(LINT_LIBS)
368 $(LINT) $(LINT_OPTS) $(CPPFLAGS) $(srcdir)/tput.c $(LINT_LIBS)
369 $(LINT) $(LINT_OPTS) $(CPPFLAGS) $(srcdir)/tset.c $(LINT_LIBS)
370
371# Verify that each header-file can be compiled without including another.
372check:
373 @$(SHELL) -c "for header in *.h;\
374 do \
375 echo \"** testing \$${header}\" ; \
376 echo \"#include <\$${header}>\" >headers.c; \
377 echo \"int main(void) { return 0; }\" >>headers.c; \
378 $(CC) -c $(CFLAGS) $(CPPFLAGS) headers.c; \
379 done"
380 -@rm -f headers.*
381
382###############################################################################
383# The remainder of this file is automatically generated during configuration
384###############################################################################
385
386# Generated by CF_LIB_RULES
387resulting.map:
388 mawk 'BEGIN { skip = 1; last=""; } /deprecated in ABI6/ { next; }{ sub("NCURSES([WT]+)?", "&6"); } { if ( last != "" && ( skip == 0 || $$0 !~ /}/ ) ) { print last; } skip = 0; last = $$0; } END { print last; }' < "" >$@
389
390distclean::
391 rm -f resulting.map
392
393# generated by mk-0th.awk
394# libname: progsw
395# subsets: ticlib+termlib+ext_tinfo+base+widechar+ext_funcs
396
397.SUFFIXES: .c .cc .h .i .ii
398.c.i :
399 $(CPP) $(CPPFLAGS) $< >$@
400.cc.ii :
401 $(CPP) $(CPPFLAGS) $< >$@
402.h.i :
403 $(CPP) $(CPPFLAGS) $< >$@
404
405C_SRC = \
406 $(srcdir)/clear.c \
407 $(srcdir)/tic.c \
408 $(srcdir)/toe.c \
409 $(srcdir)/clear_cmd.c \
410 $(srcdir)/dump_entry.c \
411 $(srcdir)/infocmp.c \
412 $(srcdir)/reset_cmd.c \
413 $(srcdir)/tabs.c \
414 $(srcdir)/tparm_type.c \
415 $(srcdir)/tput.c \
416 $(srcdir)/tset.c \
417 $(srcdir)/transform.c \
418 $(srcdir)/tty_settings.c
419
420lintlib :
421 @echo no action needed
422
423# generated by mk-1st.awk (subset=ticlib+termlib+ext_tinfo+base+widechar+ext_funcs)
424# name: w
425# traces: DEBUG
426# MODEL: NORMAL
427# CXX_MODEL: NORMAL
428# LIB_SUFFIX: w
429# USE_LIB_SUFFIX: w
430# model: objects
431# prefix: lib
432# suffix: .a
433# subset: ticlib+termlib+ext_tinfo+base+widechar+ext_funcs
434# driver: no
435# ShlibVer: rel
436# ShlibVerInfix: no
437# SymLink: ln -s -f
438# TermlibRoot: ncursesw
439# TermlibSuffix: .a
440# ReLink: no
441# ReRanlib: no
442# DoLinks: yes
443# rmSoLocs: no
444# ldconfig: /usr/sbin/ldconfig
445# make_phony: yes
446# overwrite: yes
447# depend: ../include/ncurses_cfg.h ./progs.priv.h
448# host: x86_64-pc-linux-gnu
449# libtool_version: -version-number
450
451NORMAL_OBJS = \
452 ../objects/clear$o \
453 ../objects/tic$o \
454 ../objects/toe$o \
455 ../objects/clear_cmd$o \
456 ../objects/dump_entry$o \
457 ../objects/infocmp$o \
458 ../objects/reset_cmd$o \
459 ../objects/tabs$o \
460 ../objects/tparm_type$o \
461 ../objects/tput$o \
462 ../objects/tset$o \
463 ../objects/transform$o \
464 ../objects/tty_settings$o
465
466$(NORMAL_OBJS) : ../include/ncurses_cfg.h ./progs.priv.h
467
468mostlyclean::
469 -rm -f $(NORMAL_OBJS)
470
471clean ::
472 -rm -f $(NORMAL_OBJS)
473
474# generated by mk-2nd.awk
475# model: objects
476# MODEL: NORMAL
477# echo: yes
478# subset: ticlib+termlib+ext_tinfo+base+widechar+ext_funcs
479# crenames: yes
480# cxxrenames: yes
481# traces: DEBUG
482# srcdir: .
483
484../objects/clear$o : $(srcdir)/clear.c \
485 $(HEADER_DEPS) \
486 tty_settings.h
487 $(LIBTOOL_COMPILE) $(CC) $(CFLAGS_NORMAL) -c ../progs/clear.c -o ../objects/clear$o
488
489../objects/tic$o : $(srcdir)/tic.c \
490 $(HEADER_DEPS) \
491 transform.h \
492 $(srcdir)/dump_entry.h \
493 $(srcdir)/tparm_type.h
494 $(LIBTOOL_COMPILE) $(CC) $(CFLAGS_NORMAL) -c ../progs/tic.c -o ../objects/tic$o
495
496../objects/toe$o : $(srcdir)/toe.c \
497 $(HEADER_DEPS) \
498 $(INCDIR)/hashed_db.h
499 $(LIBTOOL_COMPILE) $(CC) $(CFLAGS_NORMAL) -c ../progs/toe.c -o ../objects/toe$o
500
501../objects/clear_cmd$o : $(srcdir)/clear_cmd.c \
502 $(HEADER_DEPS) \
503 clear_cmd.h
504 $(LIBTOOL_COMPILE) $(CC) $(CFLAGS_NORMAL) -c ../progs/clear_cmd.c -o ../objects/clear_cmd$o
505
506../objects/dump_entry$o : $(srcdir)/dump_entry.c \
507 $(HEADER_DEPS) \
508 $(srcdir)/dump_entry.h \
509 ../include/parametrized.h \
510 $(INCDIR)/capdefaults.c \
511 termsort.h
512 $(LIBTOOL_COMPILE) $(CC) $(CFLAGS_NORMAL) -c ../progs/dump_entry.c -o ../objects/dump_entry$o
513
514../objects/infocmp$o : $(srcdir)/infocmp.c \
515 $(HEADER_DEPS) \
516 $(srcdir)/dump_entry.h
517 $(LIBTOOL_COMPILE) $(CC) $(CFLAGS_NORMAL) -c ../progs/infocmp.c -o ../objects/infocmp$o
518
519../objects/reset_cmd$o : $(srcdir)/reset_cmd.c \
520 $(HEADER_DEPS) \
521 reset_cmd.h \
522 tty_settings.h
523 $(LIBTOOL_COMPILE) $(CC) $(CFLAGS_NORMAL) -c ../progs/reset_cmd.c -o ../objects/reset_cmd$o
524
525../objects/tabs$o : $(srcdir)/tabs.c \
526 $(HEADER_DEPS)
527 $(LIBTOOL_COMPILE) $(CC) $(CFLAGS_NORMAL) -c ../progs/tabs.c -o ../objects/tabs$o
528
529../objects/tparm_type$o : $(srcdir)/tparm_type.c \
530 $(HEADER_DEPS) \
531 $(srcdir)/tparm_type.h
532 $(LIBTOOL_COMPILE) $(CC) $(CFLAGS_NORMAL) -c ../progs/tparm_type.c -o ../objects/tparm_type$o
533
534../objects/tput$o : $(srcdir)/tput.c \
535 $(HEADER_DEPS) \
536 transform.h \
537 $(srcdir)/tparm_type.h \
538 reset_cmd.h \
539 tty_settings.h
540 $(LIBTOOL_COMPILE) $(CC) $(CFLAGS_NORMAL) -c ../progs/tput.c -o ../objects/tput$o
541
542../objects/tset$o : $(srcdir)/tset.c \
543 $(HEADER_DEPS) \
544 transform.h \
545 ../include/termcap.h \
546 reset_cmd.h \
547 tty_settings.h
548 $(LIBTOOL_COMPILE) $(CC) $(CFLAGS_NORMAL) -c ../progs/tset.c -o ../objects/tset$o
549
550../objects/transform$o : $(srcdir)/transform.c \
551 $(HEADER_DEPS) \
552 transform.h
553 $(LIBTOOL_COMPILE) $(CC) $(CFLAGS_NORMAL) -c ../progs/transform.c -o ../objects/transform$o
554
555../objects/tty_settings$o : $(srcdir)/tty_settings.c \
556 $(HEADER_DEPS) \
557 tty_settings.h
558 $(LIBTOOL_COMPILE) $(CC) $(CFLAGS_NORMAL) -c ../progs/tty_settings.c -o ../objects/tty_settings$o
559
560
561# generated by mk-1st.awk (subset=ticlib+termlib+ext_tinfo+base+widechar+ext_funcs)
562# name: w
563# traces: DEBUG
564# MODEL: DEBUG
565# CXX_MODEL: DEBUG
566# LIB_SUFFIX: w
567# USE_LIB_SUFFIX: w
568# model: obj_g
569# prefix: lib
570# suffix: _g.a
571# subset: ticlib+termlib+ext_tinfo+base+widechar+ext_funcs
572# driver: no
573# ShlibVer: rel
574# ShlibVerInfix: no
575# SymLink: ln -s -f
576# TermlibRoot: ncursesw
577# TermlibSuffix: .a
578# ReLink: no
579# ReRanlib: no
580# DoLinks: yes
581# rmSoLocs: no
582# ldconfig: /usr/sbin/ldconfig
583# make_phony: yes
584# overwrite: yes
585# depend: ../include/ncurses_cfg.h ./progs.priv.h
586# host: x86_64-pc-linux-gnu
587# libtool_version: -version-number
588
589DEBUG_OBJS = \
590 ../obj_g/clear$o \
591 ../obj_g/tic$o \
592 ../obj_g/toe$o \
593 ../obj_g/clear_cmd$o \
594 ../obj_g/dump_entry$o \
595 ../obj_g/infocmp$o \
596 ../obj_g/reset_cmd$o \
597 ../obj_g/tabs$o \
598 ../obj_g/tparm_type$o \
599 ../obj_g/tput$o \
600 ../obj_g/tset$o \
601 ../obj_g/transform$o \
602 ../obj_g/tty_settings$o
603
604$(DEBUG_OBJS) : ../include/ncurses_cfg.h ./progs.priv.h
605
606mostlyclean::
607 -rm -f $(DEBUG_OBJS)
608
609clean ::
610 -rm -f $(DEBUG_OBJS)
611
612# generated by mk-2nd.awk
613# model: obj_g
614# MODEL: DEBUG
615# echo: yes
616# subset: ticlib+termlib+ext_tinfo+base+widechar+ext_funcs
617# crenames: yes
618# cxxrenames: yes
619# traces: DEBUG
620# srcdir: .
621
622../obj_g/clear$o : $(srcdir)/clear.c \
623 $(HEADER_DEPS) \
624 tty_settings.h
625 $(LIBTOOL_COMPILE) $(CC) $(CFLAGS_DEBUG) -c ../progs/clear.c -o ../obj_g/clear$o
626
627../obj_g/tic$o : $(srcdir)/tic.c \
628 $(HEADER_DEPS) \
629 transform.h \
630 $(srcdir)/dump_entry.h \
631 $(srcdir)/tparm_type.h
632 $(LIBTOOL_COMPILE) $(CC) $(CFLAGS_DEBUG) -c ../progs/tic.c -o ../obj_g/tic$o
633
634../obj_g/toe$o : $(srcdir)/toe.c \
635 $(HEADER_DEPS) \
636 $(INCDIR)/hashed_db.h
637 $(LIBTOOL_COMPILE) $(CC) $(CFLAGS_DEBUG) -c ../progs/toe.c -o ../obj_g/toe$o
638
639../obj_g/clear_cmd$o : $(srcdir)/clear_cmd.c \
640 $(HEADER_DEPS) \
641 clear_cmd.h
642 $(LIBTOOL_COMPILE) $(CC) $(CFLAGS_DEBUG) -c ../progs/clear_cmd.c -o ../obj_g/clear_cmd$o
643
644../obj_g/dump_entry$o : $(srcdir)/dump_entry.c \
645 $(HEADER_DEPS) \
646 $(srcdir)/dump_entry.h \
647 ../include/parametrized.h \
648 $(INCDIR)/capdefaults.c \
649 termsort.h
650 $(LIBTOOL_COMPILE) $(CC) $(CFLAGS_DEBUG) -c ../progs/dump_entry.c -o ../obj_g/dump_entry$o
651
652../obj_g/infocmp$o : $(srcdir)/infocmp.c \
653 $(HEADER_DEPS) \
654 $(srcdir)/dump_entry.h
655 $(LIBTOOL_COMPILE) $(CC) $(CFLAGS_DEBUG) -c ../progs/infocmp.c -o ../obj_g/infocmp$o
656
657../obj_g/reset_cmd$o : $(srcdir)/reset_cmd.c \
658 $(HEADER_DEPS) \
659 reset_cmd.h \
660 tty_settings.h
661 $(LIBTOOL_COMPILE) $(CC) $(CFLAGS_DEBUG) -c ../progs/reset_cmd.c -o ../obj_g/reset_cmd$o
662
663../obj_g/tabs$o : $(srcdir)/tabs.c \
664 $(HEADER_DEPS)
665 $(LIBTOOL_COMPILE) $(CC) $(CFLAGS_DEBUG) -c ../progs/tabs.c -o ../obj_g/tabs$o
666
667../obj_g/tparm_type$o : $(srcdir)/tparm_type.c \
668 $(HEADER_DEPS) \
669 $(srcdir)/tparm_type.h
670 $(LIBTOOL_COMPILE) $(CC) $(CFLAGS_DEBUG) -c ../progs/tparm_type.c -o ../obj_g/tparm_type$o
671
672../obj_g/tput$o : $(srcdir)/tput.c \
673 $(HEADER_DEPS) \
674 transform.h \
675 $(srcdir)/tparm_type.h \
676 reset_cmd.h \
677 tty_settings.h
678 $(LIBTOOL_COMPILE) $(CC) $(CFLAGS_DEBUG) -c ../progs/tput.c -o ../obj_g/tput$o
679
680../obj_g/tset$o : $(srcdir)/tset.c \
681 $(HEADER_DEPS) \
682 transform.h \
683 ../include/termcap.h \
684 reset_cmd.h \
685 tty_settings.h
686 $(LIBTOOL_COMPILE) $(CC) $(CFLAGS_DEBUG) -c ../progs/tset.c -o ../obj_g/tset$o
687
688../obj_g/transform$o : $(srcdir)/transform.c \
689 $(HEADER_DEPS) \
690 transform.h
691 $(LIBTOOL_COMPILE) $(CC) $(CFLAGS_DEBUG) -c ../progs/transform.c -o ../obj_g/transform$o
692
693../obj_g/tty_settings$o : $(srcdir)/tty_settings.c \
694 $(HEADER_DEPS) \
695 tty_settings.h
696 $(LIBTOOL_COMPILE) $(CC) $(CFLAGS_DEBUG) -c ../progs/tty_settings.c -o ../obj_g/tty_settings$o
697
698
699.PHONY : depend
700depend : ${AUTO_SRC}
701 makedepend -- ${CPPFLAGS} -- ${C_SRC}
702
703# DO NOT DELETE THIS LINE -- make depend depends on it.