aboutsummaryrefslogtreecommitdiffstats
path: root/oldXMenu
Commit message (Collapse)AuthorAgeFilesLines
* Small cleanup for src/Makefile liblw.a, libXMenu11.a rulesGlenn Morris2014-06-282-0/+4
| | | | | | | | | * src/Makefile.in ($(lwlibdir)/liblw.a, $(oldXMenudir)/libXMenu11.a): Remove prerequisites, sub-makes will figure it out. (FORCE): Remove. (mostlyclean): There are no libXMenu11.a, liblw.a in this directory. * oldXMenu/deps.mk (${OBJS}): Depend on ../src/config.h.
* Use gcc auto-dependency information for lwlib and oldXMenuGlenn Morris2014-06-284-33/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac (lwlib_deps_frag, oldxmenu_deps_frag): New output files. * make-dist (lwlib, oldXMenu): Distribute *.mk. * lwlib/Makefile.in: Move old dependency information to new file deps.mk. (MKDIR_P, DEPFLAGS, MKDEPDIR, lwlib_deps_frag): New, set by configure. (DEPDIR): New variable. (ALL_CFLAGS): Add DEPFLAGS. (.c.o): Add MKDEPDIR. (clean, mostlyclean): Delete DEPDIR. * lwlib/deps.mk, lwlib/autodeps.mk: New files. * oldXMenu/Makefile.in: Move old dependency information to new file deps.mk. (MKDIR_P, DEPFLAGS, MKDEPDIR, oldxmenu_deps_frag): New, set by configure. (DEPDIR): New variable. (ALL_CFLAGS): Add DEPFLAGS. (.c.o): Add MKDEPDIR. (clean, mostlyclean): Delete DEPDIR. * oldXMenu/deps.mk, oldXMenu/autodeps.mk: New files. * src/deps.mk: Comment update. * .bzrignore: Ignore lwlib/deps, oldXMenu/deps.
* * oldXMenu/Makefile.in (CPPFLAGS): Explicitly set via configure.Glenn Morris2014-06-152-0/+4
|
* * oldXMenu/Makefile.in: Fix typo in earlier change.Glenn Morris2014-06-141-1/+1
|
* Parallelize clean rules using GNU make featuresGlenn Morris2014-06-142-5/+14
| | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in: (submake_template): New definition. (mostlyclean_dirs, clean_dirs, distclean_dirs, maintainer_clean_dirs): New variables. (mostlyclean, clean, distclean, bootstrap-clean, maintainer-clean) (extraclean): Define using each subdirectory as a prequisite. * lib/Makefile.am (bootstrap-clean): * doc/emacs/Makefile.in (bootstrap-clean): * doc/lispintro/Makefile.in (bootstrap-clean): * doc/lispref/Makefile.in (bootstrap-clean): * doc/misc/Makefile.in (bootstrap-clean): * lib-src/Makefile.in (bootstrap-clean): * lwlib/Makefile.in (bootstrap-clean): * nextstep/Makefile.in (bootstrap-clean): * nt/Makefile.in (bootstrap-clean): * oldXMenu/Makefile.in (bootstrap-clean): New rules, for symmetry/simplicity. * lwlib/Makefile.in (mostlyclean, clean, distclean, maintainer-clean): * oldXMenu/Makefile.in (mostlyclean, clean, distclean, maintainer-clean, tags): Declare as PHONY.
* ChangeLog fixesGlenn Morris2014-01-141-0/+3
|
* Update copyright year to 2014 by running admin/update-copyright.Paul Eggert2014-01-017-7/+7
|
* Fix whitespace in previous Makefile.in changesGlenn Morris2013-10-231-1/+2
|
* Attempt at a fix for mingw CPPFLAGSGlenn Morris2013-10-232-0/+5
| | | | | | | | | | | | * configure.ac (CPPFLAGS) [mingw32]: Use abs_top_srcdir. * Makefile.in (abs_top_srcdir): * lib-src/Makefile.in (abs_top_srcdir): * lwlib/Makefile.in (abs_top_srcdir): * nt/Makefile.in (abs_top_srcdir): * oldXMenu/Makefile.in (abs_top_srcdir): * src/Makefile.in (abs_top_srcdir): New, set by configure.
* Makefile improvements.Paul Eggert2013-09-032-2/+10
| | | | | | | | | | | | | | * Makefile.in (lib): Depend on am--refresh, to avoid a race. (src): Remove duplicate dependency on FRC. Invoke just one submake, not two. Avoid the need for 'pwd'. * lwlib/Makefile.in (all): Put this first. Don't use double-colon rules, as they are not portable according to POSIX. Mark as phony. * oldXMenu/Makefile.in (all, tags): Don't use double-colon rules, as they are not portable according to POSIX. Mark as phony. * src/Makefile.in (config.status): Don't use double-colon rules, as they are not portable according to POSIX. Fix shell typo with `; I guess this rule has never been tested? (VCSWITNESS): New macro, to override any environment var.
* Use a @configure_input@ comment at the start of generated MakefilesGlenn Morris2013-07-231-1/+1
|
* Merge from emacs-24; up to 2012-12-06T01:39:[email protected]Paul Eggert2013-01-027-7/+7
|\
| * Update copyright notices for 2013.Paul Eggert2013-01-017-7/+7
| |
* | Include <config.h> uniformly in oldXMenu sources.Paul Eggert2012-12-0413-18/+17
|/ | | | | | | | | | * Activate.c, AddPane.c, AddSel.c, ChgPane.c, ChgSel.c, Create.c: * InsPane.c, InsSel.c, Internal.c, XMakeAssoc.c: Do not include <config.h>, since XMenuInt.h does that now. * XLookAssoc.c, XMenuInt.h: Include <config.h>. This avoids a build failure when configuring on Fedora 17 --with-x-toolkit=no, reported by Dmitry Andropov in <http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00078.html>.
* Let configure set ar and associated flagsUlrich Mueller2012-10-052-3/+7
| | | | | | | * lwlib/Makefile.in (AR, ARFLAGS): * oldXMenu/Makefile.in (AR, ARFLAGS): Get values from configure. Fixes: debbugs:12549
* Fix typos in ChangeLogs.Juanma Barranquero2012-07-141-1/+1
|
* * Makefile.in (ALL_CFLAGS): Add -I../lib -I${srcdir}/../lib.Paul Eggert2012-06-252-1/+8
| | | | | | This is needed for hosts that lack <alloca.h>, when Emacs is configured --with-x-toolkit=no. Problem reported by Herbert J. Skuhra for FreeBSD.
* Merge from trunk.Paul Eggert2012-04-181-1/+1
|\
* | Merge from trunk.Paul Eggert2012-04-171-1/+1
|\|
* | Merge from trunk.Paul Eggert2012-04-132-7/+11
|\|
| * Repurpose C_SWITCH_X_SYSTEM as GNUSTEP_CFLAGSGlenn Morris2012-04-102-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the only thing left that uses it. * configure.in (GNUSTEP_CFLAGS): Rename from C_SWITCH_X_SYSTEM. * src/Makefile.in (GNUSTEP_CFLAGS): Rename from C_SWITCH_X_SYSTEM. * lwlib/Makefile.in (C_SWITCH_X_SYSTEM): Remove. (ALL_CFLAGS): Remove C_SWITCH_X_SYSTEM. * oldXMenu/Makefile.in (C_SWITCH_X_SYSTEM): Remove. (ALL_CFLAGS): Remove C_SWITCH_X_SYSTEM. * msdos/sedlibmk.inp, msdos/sed1v2.inp: GNUSTEP_CFLAGS replaces C_SWITCH_X_SYSTEM.
* | Merge from trunk; add Bug#.Paul Eggert2012-04-091-1/+1
|\|
* | configure: new option --enable-gcc-warningsPaul Eggert2012-04-092-2/+10
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I have been using this change for many months in my private copy of Emacs, and have used it to find several bugs. It's mature enough to publish now. * Makefile.in (GNULIB_MODULES): Add warnings, manywarnings. * configure.in: Support --enable-gcc-warnings, in the style of other GNU packages such as coreutils. (C_WARNINGS_SWITCH): Remove, replacing with... (WARN_CFLAGS, GNULIB_WARN_CFLAGS): New variable. (PKG_CHECK_MODULES, C_SWITCH_X_SITE): Use -isystem rather than -I, when including system files with GCC. * etc/NEWS: Mention --enable-gcc-warnings. * lib/Makefile.am (AM_CFLAGS): New macro. * m4/manywarnings.m4, m4/warnings.m4: New files, from gnulib. * lib-src/Makefile.in (C_WARNINGS_SWITCH): Remove. (WARN_CFLAGS, WERROR_CFLAGS): New macros. (BASE_CFLAGS): Use new macros rather than old. * lwlib/Makefile.in (C_WARNINGS_SWITCH): Remove. (WARN_CFLAGS, WERROR_CFLAGS): New macros. (ALL_CFLAGS): Use new macros rather than old. * oldXMenu/Makefile.in (C_WARNINGS_SWITCH): Remove. (WARN_CFLAGS, WERROR_CFLAGS): New macros. (ALL_CFLAGS): Use new macros rather than old. * src/Makefile.in (C_WARNINGS_SWITCH): Remove. (WARN_CFLAGS, WERROR_CFLAGS): New macros. (ALL_CFLAGS): Use new macros rather than old. * src/process.c: Ignore -Wstrict-overflow to work around GCC bug 52904. * src/regex.c: Ignore -Wstrict-overflow. If !emacs, also ignore -Wunused-but-set-variable, -Wunused-function, -Wunused-macros, -Wunused-result, -Wunused-variable. This should go away once the Emacs and Gnulib regex code is merged. (xmalloc, xrealloc): Now static.
* Add 2012 to FSF copyright years for Emacs filesGlenn Morris2012-01-057-7/+7
|
* Spelling fixes.Paul Eggert2011-12-052-3/+3
|
* Spelling fixes.Paul Eggert2011-11-221-1/+1
|
* Spelling fixes.Paul Eggert2011-11-191-1/+1
|
* Spelling fixes.Paul Eggert2011-11-171-1/+1
|
* Fix typos.Juanma Barranquero2011-11-151-1/+1
|
* Spelling fixes.Paul Eggert2011-11-131-1/+1
|
* Static checks with GCC 4.6.0 and non-default toolkits.Paul Eggert2011-04-1622-217/+215
|\
| * Modernize to C89, for better static checking.Paul Eggert2011-04-1622-217/+213
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Activate.c (XMenuActivate): Callback's first arg is readonly. * AddPane.c (XMenuAddPane): Label is readonly. Rename local to avoid shadowing. * AddSel.c (XMenuAddSelection): Help arg is readonly. Rename local. * Create.c (atoi, atof): Remove decls; include <stdlib.h>. (MAX_INACT_PNUM, TILE_BUF_SIZE): Remove; unused. (x_get_resource_string): Args are readonly. (XAllocDisplayColor): colorName is readonly. (XMenuCreate): def_env is readonly. Remove unused locals. Avoid "else;". * Destroy.c (XMenuDestroy): Return void. * Error.c (XMenuError): Remove const pointer. * EvHand.c (XMenuEventHandler): Return void. * FindPane.c, FindSel.c: Include <string.h>. * InsPane.c (XMenuInsertPane): Rename local to avoid shadowing. * InsSel.c (XMenuInsertSelection): Likewise. * Internal.c (toggle_color, BUFFER_SIZE): Remove; unused. (_XMErrorList): Now const. (_XMWinQueInit, _XMRecomputeGlobals, _XMTransToOrigin, _XMRefreshPane): (_XMRefreshSelection): Return void. (_XMWinQueFlush, _XMRefreshSelection): Rename locals to avoid shadowing. (_XMWinQueFlush): Use stack, not heap. Don't use uninitialized var. * SetAEQ.c (XMenuSetAEQ): Now returns void. * SetFrz.c (XMenuSetFreeze): Likewise. * X10.h (XAssoc): Use void * for generic pointer. * XDelAssoc.c: Include XMenuInt.h rather than duplicating part of it. * XDestAssoc.c, XMakeAssoc.c: Likewise. * XDestAssoc.c (XDestroyAssocTable): Return void. * XMakeAssoc.c (XMakeAssoc): Use void * for generic pointer. * XMenu.h, XMenuInt.h: Adjust to signature changes. Use const for pointers to readonly storage. * insque.c: Include XMenuInt.h, to check our own signature. (emacs_insque, emacs_remque): Use void * for generic pointers.
* Update and split ChangeLogs.Juanma Barranquero2011-04-061-0/+4
|
* Convert consecutive FSF copyright years to ranges.Glenn Morris2011-01-247-18/+7
|
* Refill some copyright headers.Glenn Morris2011-01-151-2/+2
|
* Nuke arch-tags.Glenn Morris2011-01-1534-67/+0
|
* Merge from emacs-23Stefan Monnier2011-01-147-8/+8
|\
| * Add 2011 to FSF/AIST copyright years.Glenn Morris2011-01-027-7/+7
| |
* | Merge from emacs-23Stefan Monnier2010-11-093-0/+8
|\|
| * Mark tiny change.Glenn Morris2010-10-311-1/+1
| |
| * Make Emacs compile with clang.Elias Pipping2010-10-313-0/+8
| | | | | | | | | | | | | | * oldXMenu/XMakeAssoc.c (XMakeAssoc): * oldXMenu/XDelAssoc.c (XDeleteAssoc): Declare the return type. Fixes: debbugs:7309
* | Fix typos in ChangeLogs.Juanma Barranquero2010-07-241-2/+2
| |
* | * oldXMenu/XMenu.h: Include <stdlib.h>.Dan Nicolaescu2010-07-122-0/+5
| |
* | Properly handle C_WARNINGS_SWITCH, PROFILING_CFLAGS, PROFILING_LDFLAGSAndreas Schwab2010-07-122-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in (C_WARNINGS_SWITCH, PROFILING_CFLAGS) (PROFILING_LDFLAGS): Substitute, don't add them to CFLAGS/LDFLAGS. (C_OPTIMIZE_SWITCH): Remove. (TEMACS_LDFLAGS2): Add ${PROFILING_LDFLAGS}. * lib-src/Makefile.in (C_WARNINGS_SWITCH, PROFILING_CFLAGS) (PROFILING_LDFLAGS): Set from substitution. (BASE_CFLAGS): Add ${C_WARNINGS_SWITCH}. (ALL_CFLAGS, CPP_CFLAGS): Add ${PROFILING_CFLAGS}. (LINK_CFLAGS): Add ${PROFILING_LDFLAGS}. * lwlib/Makefile.in (C_WARNINGS_SWITCH, PROFILING_CFLAGS): Set from substitution. (ALL_CFLAGS): Add ${C_WARNINGS_SWITCH} and ${PROFILING_CFLAGS}. * oldXMenu/Makefile.in (C_WARNINGS_SWITCH, PROFILING_CFLAGS): Set from substitution. (ALL_CFLAGS): Add ${C_WARNINGS_SWITCH} and ${PROFILING_CFLAGS}. * src/Makefile.in (C_WARNINGS_SWITCH, PROFILING_CFLAGS) (PROFILING_LDFLAGS): Set from substitution. (ALL_CFLAGS): Add C_WARNINGS_SWITCH and PROFILING_CFLAGS, put CFLAGS last.
* | Convert function definitions in oldXMenu to standard C.Dan Nicolaescu2010-07-0333-241/+241
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * oldXMenu/Activate.c: Convert function definitions to standard C. * oldXMenu/AddPane.c: * oldXMenu/AddSel.c: * oldXMenu/ChgPane.c: * oldXMenu/ChgSel.c: * oldXMenu/Create.c: * oldXMenu/DelPane.c: * oldXMenu/DelSel.c: * oldXMenu/Destroy.c: * oldXMenu/Error.c: * oldXMenu/EvHand.c: * oldXMenu/FindPane.c: * oldXMenu/FindSel.c: * oldXMenu/InsPane.c: * oldXMenu/InsSel.c: * oldXMenu/Internal.c: * oldXMenu/Locate.c: * oldXMenu/Post.c: * oldXMenu/Recomp.c: * oldXMenu/SetAEQ.c: * oldXMenu/SetFrz.c: * oldXMenu/SetPane.c: * oldXMenu/SetSel.c: * oldXMenu/X10.h: * oldXMenu/XCrAssoc.c: * oldXMenu/XDelAssoc.c: * oldXMenu/XDestAssoc.c: * oldXMenu/XLookAssoc.c: * oldXMenu/XMakeAssoc.c: * oldXMenu/XMenu.h: * oldXMenu/XMenuInt.h: * oldXMenu/insque.c: Likewise.
* | Merge from emacs-23Stefan Monnier2010-05-081-3/+7
|\|
| * Bump version to 23.2.Chong Yidong2010-05-071-0/+4
| |
* | Let configure handle ranlib.Glenn Morris2010-05-062-6/+5
| | | | | | | | | | * oldXMenu/Makefile.in (RANLIB): Let configure set it. (libXMenu11.a): configure sets RANLIB = : on systems without it.
* | Remove some unused Makefile.in variables.Glenn Morris2010-05-062-20/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in (AC_PROG_LN_S): Remove test, nothing uses @LN_S@. * Makefile.in (CPP, C_SWITCH_SYSTEM, ALLOCA, LN_S, C_SWITCH_X_SITE) (LD_SWITCH_X_SITE): Remove unused variables. * lwlib/Makefile.in (CPP, LN_S, TOP, LN): Remove unused variables. * oldXMenu/Makefile.in (CPP, LN_S, AS, LD, MV, LS, LINTOPTS, LINTLIBFLAG, MAKE) (STD_DEFINES, CDEBUGFLAGS, RM_CMD): Remove unused variables. * src/Makefile.in (CPP, LN_S): Remove unused variables. * msdos/sed1v2.inp, msdos/sed5x.inp: Remove LN_S, unused.
* | Yet another missing piece of C_SWITCH commit.Glenn Morris2010-05-032-2/+8
| | | | | | | | | | | | | | | | | | * Makefile.in (C_SWITCH_SYSTEM): Use @C_SWITCH_SYSTEM@ rather than @c_switch_system@. * oldXMenu/Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE): Use @C_SWITCH_SYSTEM@, @C_SWITCH_MACHINE@ rather than @c_switch_system@, @c_switch_machine@.