diff options
Diffstat (limited to 'Build/source/utils/dialog/dialog-1.1-20080819/makefile.in')
-rw-r--r-- | Build/source/utils/dialog/dialog-1.1-20080819/makefile.in | 235 |
1 files changed, 235 insertions, 0 deletions
diff --git a/Build/source/utils/dialog/dialog-1.1-20080819/makefile.in b/Build/source/utils/dialog/dialog-1.1-20080819/makefile.in new file mode 100644 index 00000000000..cd646027d86 --- /dev/null +++ b/Build/source/utils/dialog/dialog-1.1-20080819/makefile.in @@ -0,0 +1,235 @@ +# $Id: makefile.in,v 1.62 2008/07/20 18:30:36 tom Exp $ +# template makefile for DIALOG +# +SHELL = /bin/sh + +srcdir = @srcdir@ +VPATH = @srcdir@ + +prefix = @prefix@ +exec_prefix = @exec_prefix@ + +top_builddir = . + +x = @EXEEXT@ +o = .@OBJEXT@ +a = @LIB_SUFFIX@ + +DESTDIR = + +bindir = @bindir@ +includedir = @includedir@ +libdir = @libdir@ +mandir = @mandir@ + +BINDIR = $(DESTDIR)$(bindir) +INCLUDEDIR = $(DESTDIR)$(includedir) +LIBDIR = $(DESTDIR)$(libdir) +MANDIR = $(DESTDIR)$(mandir) + +MAN1DIR = $(MANDIR)/man1 +MAN3DIR = $(MANDIR)/man3 + +# see po/makefile +localedir = $(prefix)/@DATADIRNAME@/locale + +CFLAGS = @CFLAGS@ +CPPFLAGS = @CPPFLAGS@ @DEFS@ -I. -I$(srcdir) -DLOCALEDIR=\"$(localedir)\" +EXTRA_CFLAGS = @EXTRA_CFLAGS@ +CC = @CC@ +CPP = @CPP@ +AR = @AR@ +LDFLAGS = @LDFLAGS@ +LIBS = @LIBS@ @INTLDIR_MAKE@ @INTLLIBS@ +RANLIB = @LIB_PREP@ + +RM = rm -f +LINT = lint + +LIBTOOL = @LIBTOOL@ @ECHO_LT@ +LIBTOOL_OPTS = @LIBTOOL_OPTS@ +LIBTOOL_CLEAN = @LIB_CLEAN@ +LIBTOOL_COMPILE = @LIB_COMPILE@ +LIBTOOL_CREATE = @LIB_CREATE@ +LIBTOOL_LINK = @LIB_LINK@ +LIBTOOL_INSTALL = @LIB_INSTALL@ +LIBTOOL_UNINSTALL = @LIB_UNINSTALL@ + +INSTALL = @INSTALL@ +INSTALL_PROGRAM = $(LIBTOOL_INSTALL) @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_DATA = @INSTALL_DATA@ + +LINK = $(LIBTOOL_LINK) + +PACKAGE = `echo @PACKAGE@ |sed @program_transform_name@` +# +# Standard .c to .o compile line. +# +.SUFFIXES: .c .i $o +.c.i : +@RULE_CC@ + @ECHO_CC@$(CPP) $(CPPFLAGS) -c $< >$@ +.c$o : +@RULE_CC@ + @ECHO_CC@$(LIBTOOL_COMPILE) $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(CPPFLAGS) -c $< + +EXTRAOBJS = @EXTRAOBJS@ +OBJECTS = $(EXTRAOBJS) \ + arrows$o \ + buttons$o \ + checklist$o \ + columns$o \ + dlg_keys$o \ + editbox$o \ + inputbox$o \ + inputstr$o \ + menubox$o \ + mouse$o \ + mousewget$o \ + msgbox$o \ + textbox$o \ + ui_getc$o \ + util$o \ + version$o \ + yesno$o + +LIB_OBJECT = @LIB_OBJECT@ + +SRCS = $(OBJECTS:$o=.c) +HDRS = \ + dialog.h \ + dlg_colors.h \ + dlg_config.h \ + dlg_keys.h + +LIB = @LIB_PREFIX@dialog$a +PROG = dialog$x +ALL = $(LIB) $(PROG) + +BIN_DIRS = $(BINDIR) $(MAN1DIR) +LIB_DIRS = $(LIBDIR) $(INCLUDEDIR) + +PO_DIR = $(srcdir)/po + +all :: $(ALL) + +@LIBTOOL_MAKE@install :: install-lib +@LIBTOOL_MAKE@uninstall :: uninstall-lib + +@INTLDIR_MAKE@@INTLLIBS@ : +@INTLDIR_MAKE@ @echo "Building GNU gettext library..." +@INTLDIR_MAKE@ @cd intl && $(MAKE) @cf_cv_makeflags@ + +dialog$o \ +$(OBJECTS) : $(srcdir)/dialog.h $(srcdir)/dlg_keys.h dlg_config.h VERSION + +$(LIB) : $(LIB_OBJECT) + $(LIBTOOL_CREATE) $(LIB) $(LIB_OBJECT) + $(RANLIB) $@ + +dialog$x : $(LIB) dialog$o @INTLDIR_MAKE@ @INTLLIBS@ + $(LINK) -o $@ dialog$o -L. -ldialog $(LDFLAGS) $(LIBS) + +clean \ +distclean \ +install \ +install-full \ +install-strip \ +uninstall :: + @echo making $@ +@INTLDIR_MAKE@ @-test -f intl/makefile && cd intl && $(MAKE) @cf_cv_makeflags@ $@ +@MSG_DIR_MAKE@ @-test -f po/makefile && cd po && $(MAKE) @cf_cv_makeflags@ $@ + +clean :: + @- $(RM) -r autom4te.cache + - $(RM) *.*cov *.da *.bb *.bbg + - $(LIBTOOL_CLEAN) $(RM) *.i *$o $(ALL) + - $(RM) headers.sed + - $(RM) core *~ tags TAGS + +distclean :: clean + $(RM) intl/libintl.h intl/po2tbl.sed + $(RM) makefile dlg_config.h config.cache config.log config.status + $(RM) samples/install/makefile + $(RM) headers-sh + $(RM) dialog-config + +install :: install-bin install-man + @echo "made $@" + +install-full :: install-lib install-bin install-man + @echo "made $@" + +install-strip :: $(PROG) $(BINDIR) + $(INSTALL_PROGRAM) -s $(PROG) $(BINDIR) + +uninstall :: uninstall-bin uninstall-man + @echo "made $@" + +uninstall-full :: uninstall-bin uninstall-man uninstall-lib + @echo "made $@" + +install-bin : $(PROG) $(BINDIR) + $(INSTALL_PROGRAM) $(PROG) $(BINDIR)/$(PACKAGE)$x + +uninstall-bin : + $(RM) $(BINDIR)/$(PACKAGE)$x + +install-man :: $(MAN1DIR) + $(INSTALL_DATA) $(srcdir)/dialog.1 $(MAN1DIR)/$(PACKAGE).1 + +uninstall-man :: + $(RM) $(MAN1DIR)/$(PACKAGE).1 + +# most users do not want/need the library, so the install rules are distinct. +install-lib :: $(BINDIR) dialog-config + @ echo "** installing config script in $(BINDIR)" + @ $(INSTALL_SCRIPT) dialog-config $(BINDIR) + +install-lib :: $(LIB_DIRS) $(LIB) headers.sed + @ echo "** installing library in $(LIBDIR)" + @ $(LIBTOOL_INSTALL) $(INSTALL_DATA) $(LIB) $(LIBDIR) + @ echo "** installing headers in $(INCLUDEDIR)" + @ $(SHELL) $(srcdir)/headers-sh $(INSTALL_DATA) $(INCLUDEDIR) $(srcdir) dialog.h + @ $(SHELL) $(srcdir)/headers-sh $(INSTALL_DATA) $(INCLUDEDIR) $(srcdir) dlg_colors.h + @ $(SHELL) $(srcdir)/headers-sh $(INSTALL_DATA) $(INCLUDEDIR) $(srcdir) dlg_keys.h + @ $(SHELL) $(srcdir)/headers-sh $(INSTALL_DATA) $(INCLUDEDIR) . dlg_config.h + +uninstall-lib :: $(BINDIR) + $(RM) $(BINDIR)/dialog-config + +uninstall-lib :: $(LIB_DIRS) + - $(LIBTOOL_UNINSTALL) $(RM) $(LIBDIR)/$(LIB) + $(RM) $(INCLUDEDIR)/dialog.h + $(RM) $(INCLUDEDIR)/dlg_colors.h + $(RM) $(INCLUDEDIR)/dlg_keys.h + $(RM) $(INCLUDEDIR)/dlg_config.h + +install-lib :: $(MAN3DIR) + $(INSTALL_DATA) $(srcdir)/dialog.3 $(MAN3DIR)/$(PACKAGE).3 + +uninstall-lib :: + $(RM) $(MAN3DIR)/$(PACKAGE).3 + +headers.sed : $(srcdir)/headers-sh + $(SHELL) $(srcdir)/headers-sh $(INCLUDEDIR) $(srcdir) + +$(MAN1DIR) \ +$(MAN3DIR) \ +$(BINDIR) \ +$(INCLUDEDIR) \ +$(LIBDIR) : ; $(srcdir)/mkdirs.sh $@ + +@MAKE_LOWER_TAGS@tags : +@MAKE_LOWER_TAGS@ ctags $(SRCS) $(HDRS) + +@MAKE_LOWER_TAGS@TAGS : +@MAKE_LOWER_TAGS@ etags $(SRCS) $(HDRS) + +update-po: + rsync -Lrtvz translationproject.org::tp/latest/dialog/ $(PO_DIR) + test -f $(PO_DIR)/makefile && cd $(PO_DIR) && $(MAKE) $@ + +lint: + $(LINT) $(CPPFLAGS) *.c |