Makefile.in 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. ## Makefile for oldXMenu
  2. ## Copyright 1985, 1986, 1987 by the Massachusetts Institute of Technology
  3. ## Permission to use, copy, modify, and distribute this
  4. ## software and its documentation for any purpose and without
  5. ## fee is hereby granted, provided that the above copyright
  6. ## notice appear in all copies and that both that copyright
  7. ## notice and this permission notice appear in supporting
  8. ## documentation, and that the name of M.I.T. not be used in
  9. ## advertising or publicity pertaining to distribution of the
  10. ## software without specific, written prior permission.
  11. ## M.I.T. makes no representations about the suitability of
  12. ## this software for any purpose. It is provided "as is"
  13. ## without express or implied warranty.
  14. ## Copyright (C) 2001-2012 Free Software Foundation, Inc.
  15. ## This program is free software: you can redistribute it and/or modify
  16. ## it under the terms of the GNU General Public License as published by
  17. ## the Free Software Foundation, either version 3 of the License, or
  18. ## (at your option) any later version.
  19. ## This program is distributed in the hope that it will be useful,
  20. ## but WITHOUT ANY WARRANTY; without even the implied warranty of
  21. ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  22. ## GNU General Public License for more details.
  23. ## You should have received a copy of the GNU General Public License
  24. ## along with this program. If not, see <http://www.gnu.org/licenses/>.
  25. ### Commentary:
  26. ## To the best of our knowledge, this code was originally based on the
  27. ## X11 oldXMenu Makefile, which was automatically generated from the
  28. ## X11 oldXMenu Imakefile. There was no explicit copyright information
  29. ## in the Imakefile, therefore we have added the same MIT license as
  30. ## used by the rest of the oldXMenu code.
  31. ### Code:
  32. srcdir=@srcdir@
  33. VPATH=@srcdir@
  34. C_SWITCH_X_SITE=@C_SWITCH_X_SITE@
  35. C_SWITCH_X_SYSTEM=@C_SWITCH_X_SYSTEM@
  36. C_SWITCH_SYSTEM=@C_SWITCH_SYSTEM@
  37. C_SWITCH_MACHINE=@C_SWITCH_MACHINE@
  38. C_WARNINGS_SWITCH = @C_WARNINGS_SWITCH@
  39. PROFILING_CFLAGS = @PROFILING_CFLAGS@
  40. EXTRA=insque.o
  41. CC=@CC@
  42. CFLAGS=@CFLAGS@
  43. TAGS = etags
  44. RM = rm -f
  45. RANLIB = @RANLIB@
  46. # Solaris 2.1 ar doesn't accept the 'l' option.
  47. AR = ar cq
  48. OBJS = Activate.o \
  49. AddPane.o \
  50. AddSel.o \
  51. ChgPane.o \
  52. ChgSel.o \
  53. Create.o \
  54. DelPane.o \
  55. DelSel.o \
  56. Destroy.o \
  57. Error.o \
  58. EvHand.o \
  59. FindPane.o \
  60. FindSel.o \
  61. InsPane.o \
  62. InsSel.o \
  63. Internal.o \
  64. Locate.o \
  65. Post.o \
  66. Recomp.o \
  67. SetAEQ.o \
  68. SetFrz.o \
  69. SetPane.o \
  70. SetSel.o \
  71. XDelAssoc.o XLookAssoc.o XCrAssoc.o XDestAssoc.o XMakeAssoc.o
  72. all:: libXMenu11.a
  73. ALL_CFLAGS=$(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) \
  74. $(C_SWITCH_X_SITE) $(C_SWITCH_X_SYSTEM) \
  75. ${C_WARNINGS_SWITCH} ${PROFILING_CFLAGS} \
  76. $(CPPFLAGS) $(CFLAGS) -DEMACS_BITMAP_FILES \
  77. -I../src -I${srcdir} -I${srcdir}/../src
  78. .c.o:
  79. $(CC) -c ${ALL_CFLAGS} $<
  80. libXMenu11.a: $(OBJS) $(EXTRA)
  81. $(RM) $@
  82. $(AR) $@ $(OBJS) $(EXTRA)
  83. $(RANLIB) $@
  84. Activate.o: Activate.c XMenuInt.h XMenu.h X10.h
  85. AddPane.o: AddPane.c XMenuInt.h XMenu.h X10.h
  86. AddSel.o: AddSel.c XMenuInt.h XMenu.h X10.h
  87. ChgPane.o: ChgPane.c XMenuInt.h XMenu.h X10.h
  88. ChgSel.o: ChgSel.c XMenuInt.h XMenu.h X10.h
  89. Create.o: Create.c XMenuInt.h XMenu.h X10.h
  90. DelPane.o: DelPane.c XMenuInt.h XMenu.h X10.h
  91. DelSel.o: DelSel.c XMenuInt.h XMenu.h X10.h
  92. Destroy.o: Destroy.c XMenuInt.h XMenu.h X10.h
  93. Error.o: Error.c XMenuInt.h XMenu.h X10.h
  94. EvHand.o: EvHand.c XMenuInt.h XMenu.h X10.h
  95. FindPane.o: FindPane.c XMenuInt.h XMenu.h X10.h
  96. FindSel.o: FindSel.c XMenuInt.h XMenu.h X10.h
  97. InsPane.o: InsPane.c XMenuInt.h XMenu.h X10.h
  98. InsSel.o: InsSel.c XMenuInt.h XMenu.h X10.h
  99. Internal.o: Internal.c XMenuInt.h XMenu.h X10.h
  100. Locate.o: Locate.c XMenuInt.h XMenu.h X10.h
  101. Post.o: Post.c XMenuInt.h XMenu.h X10.h
  102. Recomp.o: Recomp.c XMenuInt.h XMenu.h X10.h
  103. SetAEQ.o: SetAEQ.c XMenuInt.h XMenu.h X10.h
  104. SetFrz.o: SetFrz.c XMenuInt.h XMenu.h X10.h
  105. SetPane.o: SetPane.c XMenuInt.h XMenu.h X10.h
  106. SetSel.o: SetSel.c XMenuInt.h XMenu.h X10.h
  107. XDelAssoc.o: XDelAssoc.c X10.h
  108. XLookAssoc.o: XLookAssoc.c X10.h
  109. XCrAssoc.o: XCrAssoc.c X10.h
  110. XDestAssoc.o: XDestAssoc.c X10.h
  111. XMakeAssoc.o: XMakeAssoc.c X10.h
  112. insque.o: insque.c
  113. FRC.mostlyclean:
  114. mostlyclean: FRC.mostlyclean
  115. rm -f libXMenu11.a ${OBJS} ${EXTRA}
  116. clean: mostlyclean
  117. distclean: clean
  118. rm -f Makefile
  119. maintainer-clean: distclean
  120. tags::
  121. $(TAGS) -t *.[ch]