1febdb468SDevin Teske# $Id: makefile.in,v 1.103 2021/01/11 09:03:36 tom Exp $ 24c8945a0SNathan Whitehorn# template makefile for DIALOG 37a1c0d96SNathan Whitehorn############################################################################## 4febdb468SDevin Teske# Copyright (c) 1999-2020,2021 Thomas E. Dickey # 57a1c0d96SNathan Whitehorn# # 67a1c0d96SNathan Whitehorn# Permission is hereby granted, free of charge, to any person obtaining a # 77a1c0d96SNathan Whitehorn# copy of this software and associated documentation files (the "Software"), # 87a1c0d96SNathan Whitehorn# to deal in the Software without restriction, including without limitation # 97a1c0d96SNathan Whitehorn# the rights to use, copy, modify, merge, publish, distribute, distribute # 107a1c0d96SNathan Whitehorn# with modifications, sublicense, and/or sell copies of the Software, and to # 117a1c0d96SNathan Whitehorn# permit persons to whom the Software is furnished to do so, subject to the # 127a1c0d96SNathan Whitehorn# following conditions: # 137a1c0d96SNathan Whitehorn# # 147a1c0d96SNathan Whitehorn# The above copyright notice and this permission notice shall be included in # 157a1c0d96SNathan Whitehorn# all copies or substantial portions of the Software. # 167a1c0d96SNathan Whitehorn# # 177a1c0d96SNathan Whitehorn# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # 187a1c0d96SNathan Whitehorn# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # 197a1c0d96SNathan Whitehorn# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL # 207a1c0d96SNathan Whitehorn# THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # 217a1c0d96SNathan Whitehorn# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING # 227a1c0d96SNathan Whitehorn# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER # 237a1c0d96SNathan Whitehorn# DEALINGS IN THE SOFTWARE. # 247a1c0d96SNathan Whitehorn# # 257a1c0d96SNathan Whitehorn# Except as contained in this notice, the name(s) of the above copyright # 267a1c0d96SNathan Whitehorn# holders shall not be used in advertising or otherwise to promote the sale, # 277a1c0d96SNathan Whitehorn# use or other dealings in this Software without prior written # 287a1c0d96SNathan Whitehorn# authorization. # 297a1c0d96SNathan Whitehorn############################################################################## 304c8945a0SNathan Whitehorn# 314c8945a0SNathan WhitehornSHELL = /bin/sh 324c8945a0SNathan Whitehorn 334c8945a0SNathan Whitehornsrcdir = @srcdir@ 344c8945a0SNathan Whitehorntop_srcdir = @top_srcdir@ 354c8945a0SNathan WhitehornVPATH = @srcdir@ 364c8945a0SNathan Whitehorn 374c8945a0SNathan Whitehornprefix = @prefix@ 382a3e3873SBaptiste Daroussinexec_prefix = @exec_prefix@ 394c8945a0SNathan Whitehorndatarootdir = @datarootdir@ 404c8945a0SNathan Whitehorn 414c8945a0SNathan Whitehorntop_builddir = . 424c8945a0SNathan Whitehorn 434c8945a0SNathan Whitehornx = @EXEEXT@ 444c8945a0SNathan Whitehorno = .@OBJEXT@ 454c8945a0SNathan Whitehorn 464c8945a0SNathan WhitehornDESTDIR = @DESTDIR@ 47febdb468SDevin Teske 48febdb468SDevin TeskeTHIS = dialog 49febdb468SDevin Teske 50febdb468SDevin TeskeCFG_ROOTNAME = @CFG_ROOTNAME@ 51febdb468SDevin TeskeHDR_ROOTNAME = @HDR_ROOTNAME@ 52febdb468SDevin TeskeLIB_ROOTNAME = @LIB_ROOTNAME@ 53febdb468SDevin TeskeLIB_PREFIX = @LIB_PREFIX@ 54febdb468SDevin TeskeLIB_SUFFIX = @LIB_SUFFIX@ 55febdb468SDevin Teske 56febdb468SDevin TeskeVERSION_MAJOR = @VERSION_MAJOR@ 57febdb468SDevin TeskeVERSION_MINOR = @VERSION_MINOR@ 58febdb468SDevin TeskeVERSION = $(VERSION_MAJOR).$(VERSION_MINOR) 59febdb468SDevin TeskeREL_VERSION = @REL_VERSION@ 60febdb468SDevin TeskeABI_VERSION = @ABI_VERSION@ 61febdb468SDevin TeskeLIB_ROOTNAME = @LIB_ROOTNAME@ 624c8945a0SNathan Whitehorn 634c8945a0SNathan WhitehornRESULTING_SYMS = @RESULTING_SYMS@ 644c8945a0SNathan WhitehornVERSIONED_SYMS = @VERSIONED_SYMS@ 654c8945a0SNathan Whitehorn 664c8945a0SNathan Whitehorn@SET_SHLIB_VARS@ 674c8945a0SNathan Whitehorn 684c8945a0SNathan Whitehornbindir = @bindir@ 694c8945a0SNathan Whitehornincludedir = @includedir@ 704c8945a0SNathan Whitehornlibdir = @libdir@ 714c8945a0SNathan Whitehornmandir = @mandir@ 724c8945a0SNathan Whitehornmanext = 1 734c8945a0SNathan Whitehornlibext = 3 744c8945a0SNathan Whitehorn 754c8945a0SNathan WhitehornBINDIR = $(DESTDIR)$(bindir) 764c8945a0SNathan WhitehornINCLUDEDIR = $(DESTDIR)$(includedir) 774c8945a0SNathan WhitehornLIBDIR = $(DESTDIR)$(libdir) 784c8945a0SNathan WhitehornMANDIR = $(DESTDIR)$(mandir) 797a1c0d96SNathan Whitehorn 804c8945a0SNathan WhitehornMAN1DIR = $(MANDIR)/man1 814c8945a0SNathan WhitehornMAN3DIR = $(MANDIR)/man3 824c8945a0SNathan Whitehorn 834c8945a0SNathan Whitehorn# see po/makefile 847a1c0d96SNathan Whitehornlocaledir = $(prefix)/@DATADIRNAME@/locale 854c8945a0SNathan Whitehorn 864c8945a0SNathan WhitehornCFLAGS = @CFLAGS@ 874c8945a0SNathan WhitehornCPPFLAGS = -I. -I$(srcdir) @CPPFLAGS@ @DEFS@ -DLOCALEDIR=\"$(localedir)\" 884c8945a0SNathan WhitehornEXTRA_CFLAGS = @EXTRA_CFLAGS@ 89febdb468SDevin TeskeCC = @CC@ 902a3e3873SBaptiste DaroussinCPP = @CPP@ 912a3e3873SBaptiste DaroussinAR = @AR@ 924c8945a0SNathan WhitehornARFLAGS = @ARFLAGS@ 934c8945a0SNathan WhitehornLDFLAGS = @EXTRA_LDFLAGS@ @LDFLAGS@ 944c8945a0SNathan WhitehornLIBS = @LIBS@ @INTLLIBS@ 954c8945a0SNathan WhitehornRANLIB = @LIB_PREP@ 964c8945a0SNathan Whitehorn 974c8945a0SNathan WhitehornRM = rm -f 984c8945a0SNathan WhitehornLN_S = @LN_S@ 994c8945a0SNathan WhitehornLINT = @LINT@ 1004c8945a0SNathan WhitehornLINT_OPTS = @LINT_OPTS@ 1014c8945a0SNathan Whitehorn 1024c8945a0SNathan WhitehornCTAGS = @CTAGS@ 1034c8945a0SNathan WhitehornETAGS = @ETAGS@ 1042a3e3873SBaptiste Daroussin 1054c8945a0SNathan WhitehornRPATH_LIST = @RPATH_LIST@ 1064c8945a0SNathan WhitehornLIBTOOL = @LIBTOOL@ @ECHO_LT@ 1074c8945a0SNathan WhitehornLIBTOOL_OPTS = @LIBTOOL_OPTS@ 1084c8945a0SNathan WhitehornLIBTOOL_CLEAN = @LIB_CLEAN@ 1094c8945a0SNathan WhitehornLIBTOOL_COMPILE = @LIB_COMPILE@ 1104c8945a0SNathan WhitehornLIBTOOL_CREATE = @LIB_CREATE@ 1114c8945a0SNathan WhitehornLIBTOOL_LINK = @LIB_LINK@ 1124c8945a0SNathan WhitehornLIBTOOL_INSTALL = @LIB_INSTALL@ 1137a1c0d96SNathan WhitehornLIBTOOL_UNINSTALL = @LIB_UNINSTALL@ 1147a1c0d96SNathan WhitehornLIBTOOL_VERSION = @LIBTOOL_VERSION@ 1157a1c0d96SNathan Whitehorn 1167a1c0d96SNathan WhitehornINSTALL = @INSTALL@ 117febdb468SDevin TeskeINSTALL_PROGRAM = $(LIBTOOL_INSTALL) @INSTALL_PROGRAM@ 1187a1c0d96SNathan WhitehornINSTALL_SCRIPT = @INSTALL_SCRIPT@ 1197a1c0d96SNathan WhitehornINSTALL_DATA = @INSTALL_DATA@ 1207a1c0d96SNathan Whitehorn 121febdb468SDevin TeskeLINK = $(LIBTOOL_LINK) 1222a3e3873SBaptiste Daroussin 1234c8945a0SNathan Whitehorn# The library is always named for the package, but the program can be further 1244c8945a0SNathan Whitehorn# renamed at install time, starting with the package name. 1254c8945a0SNathan WhitehornPACKAGE = @PACKAGE@ 1264c8945a0SNathan WhitehornACTUAL_PROG = `echo $(PACKAGE) |sed @program_transform_name@` 1274c8945a0SNathan WhitehornLIB_CONFIG = $(CFG_ROOTNAME)-config 1284c8945a0SNathan Whitehorn 1294c8945a0SNathan Whitehorn# The library name $(LIB) is set at configure/make time, since it is used as a 1304c8945a0SNathan Whitehorn# makefile target. Ditto for $(PROG). 1314c8945a0SNathan WhitehornLIB = @LIB_TARGET@ 1324c8945a0SNathan WhitehornPROG = @PACKAGE@$x 1334c8945a0SNathan Whitehorn# 1344c8945a0SNathan Whitehorn# Standard .c to .o compile line. 135febdb468SDevin Teske# 1364c8945a0SNathan Whitehorn.SUFFIXES: .c .i $o .1 .man .txt @MAN2HTML_NOTE@ .html @GROFF_NOTE@ .ps .pdf 1374c8945a0SNathan Whitehorn.c.i : 1384c8945a0SNathan Whitehorn @RULE_CC@ 1394c8945a0SNathan Whitehorn @ECHO_CC@$(CPP) $(CPPFLAGS) -c $< >$@ 1404c8945a0SNathan Whitehorn.c$o : 1414c8945a0SNathan Whitehorn @RULE_CC@ 1424c8945a0SNathan Whitehorn @ECHO_CC@$(LIBTOOL_COMPILE) $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(CPPFLAGS) -c $< 1434c8945a0SNathan Whitehorn 1444c8945a0SNathan Whitehorn@NROFF_NOTE@.1.txt : 1454c8945a0SNathan Whitehorn@NROFF_NOTE@ GROFF_NO_SGR=stupid $(SHELL) -c "tbl $< | nroff -rHY=0 -Tascii -man | col -bx" >$@ 1464c8945a0SNathan Whitehorn 1474c8945a0SNathan Whitehorn@MAN2HTML_NOTE@.1.html : 1487a1c0d96SNathan Whitehorn@MAN2HTML_NOTE@ ./@MAN2HTML_TEMP@ $* 1 man >$@ 1494c8945a0SNathan Whitehorn@MAN2HTML_NOTE@ 1504c8945a0SNathan Whitehorn@GROFF_NOTE@.1.ps : 1514c8945a0SNathan Whitehorn@GROFF_NOTE@ $(SHELL) -c "tbl $< | groff -man" >$@ 1524c8945a0SNathan Whitehorn@GROFF_NOTE@ 1534c8945a0SNathan Whitehorn@GROFF_NOTE@.ps.pdf : 1544c8945a0SNathan Whitehorn@GROFF_NOTE@ ps2pdf $*.ps 155682c9e0fSNathan Whitehorn 1564c8945a0SNathan WhitehornEXTRAOBJS = @EXTRAOBJS@ 1574c8945a0SNathan WhitehornOBJECTS = $(EXTRAOBJS) \ 1584c8945a0SNathan Whitehorn argv$o \ 1594c8945a0SNathan Whitehorn arrows$o \ 1604c8945a0SNathan Whitehorn buttons$o \ 1614c8945a0SNathan Whitehorn checklist$o \ 1624c8945a0SNathan Whitehorn columns$o \ 1634c8945a0SNathan Whitehorn dlg_keys$o \ 1644c8945a0SNathan Whitehorn editbox$o \ 1654c8945a0SNathan Whitehorn help$o \ 1664c8945a0SNathan Whitehorn inputbox$o \ 1674c8945a0SNathan Whitehorn inputstr$o \ 1684c8945a0SNathan Whitehorn menubox$o \ 1694c8945a0SNathan Whitehorn mouse$o \ 1704c8945a0SNathan Whitehorn mousewget$o \ 1714c8945a0SNathan Whitehorn msgbox$o \ 1724c8945a0SNathan Whitehorn textbox$o \ 1734c8945a0SNathan Whitehorn ttysize$o \ 1744c8945a0SNathan Whitehorn ui_getc$o \ 1754c8945a0SNathan Whitehorn util$o \ 1764c8945a0SNathan Whitehorn version$o \ 1774c8945a0SNathan Whitehorn yesno$o 1784c8945a0SNathan Whitehorn 1794c8945a0SNathan WhitehornLIB_OBJECT = @LIB_OBJECT@ 1804c8945a0SNathan Whitehorn 1814c8945a0SNathan WhitehornSRCS = $(OBJECTS:$o=.c) 1824c8945a0SNathan WhitehornHDRS = \ 1834c8945a0SNathan Whitehorn dialog.h \ 1844c8945a0SNathan Whitehorn dlg_colors.h \ 1854c8945a0SNathan Whitehorn dlg_config.h \ 1864c8945a0SNathan Whitehorn dlg_keys.h 1874c8945a0SNathan Whitehorn 1884c8945a0SNathan WhitehornALL = $(LIB) $(PROG) 1894c8945a0SNathan Whitehorn 1904c8945a0SNathan WhitehornBIN_DIRS = $(BINDIR) $(MAN1DIR) 1914c8945a0SNathan WhitehornLIB_DIRS = $(LIBDIR) $(INCLUDEDIR) 1924c8945a0SNathan Whitehorn 1934c8945a0SNathan WhitehornPO_DIR = $(srcdir)/po 1944c8945a0SNathan Whitehorn 1954c8945a0SNathan Whitehornall :: $(ALL) 1962a3e3873SBaptiste Daroussin 1977a1c0d96SNathan Whitehorn@LIBTOOL_MAKE@install :: install-lib 1984c8945a0SNathan Whitehorn@LIBTOOL_MAKE@uninstall :: uninstall-lib 1994c8945a0SNathan Whitehorn 2004c8945a0SNathan Whitehorn@INTLDIR_MAKE@@INTLLIBS@ : 2014c8945a0SNathan Whitehorn@INTLDIR_MAKE@ @echo "Building GNU gettext library..." 2024c8945a0SNathan Whitehorn@INTLDIR_MAKE@ @cd intl && $(MAKE) @cf_cv_makeflags@ 2034c8945a0SNathan Whitehorn 2044c8945a0SNathan Whitehorndialog$o \ 2054c8945a0SNathan Whitehorn$(OBJECTS) : $(srcdir)/dialog.h $(srcdir)/dlg_keys.h dlg_config.h VERSION 2064c8945a0SNathan Whitehorn 2074c8945a0SNathan Whitehorn$(PROG) : $(LIB) dialog$o @INTLDIR_MAKE@ @INTLLIBS@ 2084c8945a0SNathan Whitehorn $(LINK) -o $@ dialog$o -L. -l@PACKAGE@ $(CFLAGS) $(LDFLAGS) $(LIBS) 2094c8945a0SNathan Whitehorn 2104c8945a0SNathan Whitehornclean \ 2114c8945a0SNathan Whitehorndistclean \ 2124c8945a0SNathan Whitehorninstall \ 2134c8945a0SNathan Whitehorninstall-full \ 2144c8945a0SNathan Whitehorninstall-strip \ 2154c8945a0SNathan Whitehornuninstall :: 2164c8945a0SNathan Whitehorn @echo making $@ 2174c8945a0SNathan Whitehorn@INTLDIR_MAKE@ @-test -f intl/makefile && cd intl && $(MAKE) @cf_cv_makeflags@ $@ 2184c8945a0SNathan Whitehorn@MSG_DIR_MAKE@ @-test -f po/makefile && cd po && $(MAKE) @cf_cv_makeflags@ $@ 2194c8945a0SNathan Whitehorn 2204c8945a0SNathan Whitehornclean :: 2214c8945a0SNathan Whitehorn @- $(RM) -r autom4te.cache 2224c8945a0SNathan Whitehorn - $(RM) *.*cov *.da *.bb *.bbg 2234c8945a0SNathan Whitehorn - $(LIBTOOL_CLEAN) $(RM) *.i *$o $(ALL) 2244c8945a0SNathan Whitehorn - $(RM) headers.sed 2254c8945a0SNathan Whitehorn - $(RM) *.html *.pdf *.png *.ps *.txt dialog_lib.1 2264c8945a0SNathan Whitehorn - $(RM) core *~ tags TAGS 2274c8945a0SNathan Whitehorn 2284c8945a0SNathan Whitehorndistclean :: clean 2294c8945a0SNathan Whitehorn $(RM) intl/libintl.h intl/po2tbl.sed 2304c8945a0SNathan Whitehorn $(RM) makefile dlg_config.h config.cache config.log config.status 2314c8945a0SNathan Whitehorn $(RM) samples/install/makefile 2324c8945a0SNathan Whitehorn $(RM) headers-sh 2334c8945a0SNathan Whitehorn $(RM) man2html.* 2344c8945a0SNathan Whitehorn $(RM) dialog-config 2354c8945a0SNathan Whitehorn 2364c8945a0SNathan Whitehorncheck : 2374c8945a0SNathan Whitehorn @echo "Verify that create-rc works" 2384c8945a0SNathan Whitehorn $(SHELL) -c "DIALOG=./$(PROG) ./run_test.sh $(srcdir)/samples" 2394c8945a0SNathan Whitehorn 2407a1c0d96SNathan Whitehorninstall :: install-bin install-man 2414c8945a0SNathan Whitehorn @echo "made $@" 2424c8945a0SNathan Whitehorn 2437a1c0d96SNathan Whitehorninstall-full :: install-lib install-bin install-man 2444c8945a0SNathan Whitehorn @echo "made $@" 2454c8945a0SNathan Whitehorn 2467a1c0d96SNathan Whitehorninstall-strip :: $(PROG) $(BINDIR) 2477a1c0d96SNathan Whitehorn $(INSTALL_PROGRAM) -s $(PROG) $(BINDIR) 2487a1c0d96SNathan Whitehorn 2497a1c0d96SNathan Whitehornuninstall :: uninstall-bin uninstall-man 2507a1c0d96SNathan Whitehorn @echo "made $@" 2517a1c0d96SNathan Whitehorn 2527a1c0d96SNathan Whitehornuninstall-full :: uninstall-bin uninstall-man uninstall-lib 2534c8945a0SNathan Whitehorn @echo "made $@" 2544c8945a0SNathan Whitehorn 2557a1c0d96SNathan Whitehorninstall-bin : $(PROG) $(BINDIR) 2564c8945a0SNathan Whitehorn $(INSTALL_PROGRAM) $(PROG) $(BINDIR)/$(ACTUAL_PROG)$x 2574c8945a0SNathan Whitehorn 2584c8945a0SNathan Whitehornuninstall-bin : 2594c8945a0SNathan Whitehorn $(RM) $(BINDIR)/$(ACTUAL_PROG)$x 2607a1c0d96SNathan Whitehorn 2614c8945a0SNathan Whitehorninstall-man :: $(MAN1DIR) 2624c8945a0SNathan Whitehorn @ echo "** installing $(ACTUAL_PROG).$(manext)" 2634c8945a0SNathan Whitehorn @ $(SHELL) $(srcdir)/rename.sh \ 2644c8945a0SNathan Whitehorn $(srcdir)/dialog.1 \ 2654c8945a0SNathan Whitehorn $(MAN1DIR)/$(ACTUAL_PROG).$(manext) \ 2662a3e3873SBaptiste Daroussin $(ACTUAL_PROG) \ 2672a3e3873SBaptiste Daroussin @PACKAGE@ \ 2682a3e3873SBaptiste Daroussin $(INSTALL_DATA) 2692a3e3873SBaptiste Daroussin 2704c8945a0SNathan Whitehornuninstall-man :: 2714c8945a0SNathan Whitehorn $(RM) $(MAN1DIR)/$(ACTUAL_PROG).$(manext) 2727a1c0d96SNathan Whitehorn 2734c8945a0SNathan Whitehorn# most users do not want/need the library, so the install rules are distinct. 2744c8945a0SNathan Whitehorninstall-lib :: $(BINDIR) dialog-config 2754c8945a0SNathan Whitehorn @ echo "** installing config script in $(BINDIR)" 2762a3e3873SBaptiste Daroussin @ $(INSTALL_SCRIPT) dialog-config $(BINDIR)/$(LIB_CONFIG) 2772a3e3873SBaptiste Daroussin 2782a3e3873SBaptiste Daroussininstall-lib :: $(LIB_DIRS) $(LIB) headers.sed 2792a3e3873SBaptiste Daroussin @ echo "** installing library in $(LIBDIR)" 2804c8945a0SNathan Whitehorn @ $(LIBTOOL_INSTALL) $(INSTALL_DATA) $(LIB) $(LIBDIR) 2814c8945a0SNathan Whitehorn @ echo "** installing headers in $(INCLUDEDIR)" 2827a1c0d96SNathan Whitehorn @ $(SHELL) headers-sh $(INSTALL_DATA) $(INCLUDEDIR) $(srcdir) dialog.h 2837a1c0d96SNathan Whitehorn @ $(SHELL) headers-sh $(INSTALL_DATA) $(INCLUDEDIR) $(srcdir) dlg_colors.h 2847a1c0d96SNathan Whitehorn @ $(SHELL) headers-sh $(INSTALL_DATA) $(INCLUDEDIR) $(srcdir) dlg_keys.h 2857a1c0d96SNathan Whitehorn @ $(SHELL) headers-sh $(INSTALL_DATA) $(INCLUDEDIR) . dlg_config.h 2867a1c0d96SNathan Whitehorn 2877a1c0d96SNathan Whitehornuninstall-lib :: $(BINDIR) 2887a1c0d96SNathan Whitehorn $(RM) $(BINDIR)/$(LIB_CONFIG) 2894c8945a0SNathan Whitehorn 2904c8945a0SNathan Whitehornuninstall-lib :: $(LIB_DIRS) 2917a1c0d96SNathan Whitehorn - $(LIBTOOL_UNINSTALL) $(RM) $(LIBDIR)/$(LIB) 2924c8945a0SNathan Whitehorn @ $(SHELL) headers-sh $(RM) $(INCLUDEDIR) $(srcdir) dialog.h 2932a3e3873SBaptiste Daroussin @ $(SHELL) headers-sh $(RM) $(INCLUDEDIR) $(srcdir) dlg_colors.h 2942a3e3873SBaptiste Daroussin @ $(SHELL) headers-sh $(RM) $(INCLUDEDIR) $(srcdir) dlg_keys.h 2954c8945a0SNathan Whitehorn @ $(SHELL) headers-sh $(RM) $(INCLUDEDIR) . dlg_config.h 2964c8945a0SNathan Whitehorn 2974c8945a0SNathan Whitehorninstall-lib :: $(MAN3DIR) 2984c8945a0SNathan Whitehorn @ echo "** installing @PACKAGE@.$(libext)" 2994c8945a0SNathan Whitehorn @ $(SHELL) $(srcdir)/rename.sh \ 3004c8945a0SNathan Whitehorn $(srcdir)/dialog.3 \ 3014c8945a0SNathan Whitehorn $(MAN3DIR)/@PACKAGE@.$(libext) \ 3024c8945a0SNathan Whitehorn $(ACTUAL_PROG) \ 3034c8945a0SNathan Whitehorn @PACKAGE@ \ 3044c8945a0SNathan Whitehorn $(INSTALL_DATA) 3054c8945a0SNathan Whitehorn 3064c8945a0SNathan Whitehornuninstall-lib :: 3074c8945a0SNathan Whitehorn $(RM) $(MAN3DIR)/@PACKAGE@.$(libext) 3084c8945a0SNathan Whitehorn 3094c8945a0SNathan Whitehornheaders.sed : headers-sh 3104c8945a0SNathan Whitehorn $(SHELL) headers-sh $(INCLUDEDIR) $(srcdir) 3114c8945a0SNathan Whitehorn 3124c8945a0SNathan Whitehorn################################################################################ 3134c8945a0SNathan WhitehornTOP_DOCS = \ 3144c8945a0SNathan Whitehorn@NROFF_NOTE@ dialog.txt \ 3154c8945a0SNathan Whitehorn@MAN2HTML_NOTE@ dialog.html \ 3164c8945a0SNathan Whitehorn@GROFF_NOTE@ dialog.pdf \ 3174c8945a0SNathan Whitehorn@GROFF_NOTE@ dialog.ps 3184c8945a0SNathan Whitehorn 3194c8945a0SNathan Whitehorndialog.html : dialog.1 3204c8945a0SNathan Whitehorndialog.pdf : dialog.ps 3214c8945a0SNathan Whitehorndialog.ps : dialog.1 3224c8945a0SNathan Whitehorndialog.txt : dialog.1 3234c8945a0SNathan Whitehorn################################################################################ 3244c8945a0SNathan Whitehorn# rename, to use suffix-rules 3254c8945a0SNathan Whitehorndialog_lib.1 : dialog.3 3264c8945a0SNathan Whitehorn -$(RM) $@ 3274c8945a0SNathan Whitehorn cp dialog.3 $@ 3284c8945a0SNathan Whitehorn 3294c8945a0SNathan WhitehornLIB_DOCS = \ 3304c8945a0SNathan Whitehorn dialog_lib.1 \ 3314c8945a0SNathan Whitehorn@NROFF_NOTE@ dialog_lib.txt \ 3324c8945a0SNathan Whitehorn@MAN2HTML_NOTE@ dialog_lib.html \ 3334c8945a0SNathan Whitehorn@GROFF_NOTE@ dialog_lib.pdf \ 3344c8945a0SNathan Whitehorn@GROFF_NOTE@ dialog_lib.ps 3354c8945a0SNathan Whitehorn 3364c8945a0SNathan Whitehorndialog_lib.html : dialog_lib.1 3374c8945a0SNathan Whitehorndialog_lib.pdf : dialog_lib.ps 3384c8945a0SNathan Whitehorndialog_lib.ps : dialog_lib.1 3394c8945a0SNathan Whitehorndialog_lib.txt : dialog_lib.1 3404c8945a0SNathan Whitehorn################################################################################ 3414c8945a0SNathan Whitehorndocs: $(TOP_DOCS) $(LIB_DOCS) 3424c8945a0SNathan Whitehornclean-docs: 3434c8945a0SNathan Whitehorn -$(RM) $(TOP_DOCS) $(LIB_DOCS) 3444c8945a0SNathan Whitehorn################################################################################ 3452a3e3873SBaptiste Daroussin 346$(MAN1DIR) \ 347$(MAN3DIR) \ 348$(BINDIR) \ 349$(INCLUDEDIR) \ 350$(LIBDIR) : ; mkdir -p $@ 351 352@MAKE_LOWER_TAGS@tags : 353@MAKE_LOWER_TAGS@ $(CTAGS) $(SRCS) $(HDRS) 354 355@MAKE_LOWER_TAGS@TAGS : 356@MAKE_LOWER_TAGS@ $(ETAGS) $(SRCS) $(HDRS) 357 358update-po: 359 rsync -Lrtvz translationproject.org::tp/latest/dialog/ $(PO_DIR) 360 test -f $(PO_DIR)/makefile && cd $(PO_DIR) && $(MAKE) $@ 361 362lint: 363 $(LINT) $(LINT_OPTS) $(CPPFLAGS) *.c 364