patch-Imakefile 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. $OpenBSD: patch-Imakefile,v 1.2 2015/06/29 23:07:07 ratchov Exp $
  2. --- Imakefile.orig Sun Mar 21 23:36:26 1999
  3. +++ Imakefile Tue Jun 30 00:41:50 2015
  4. @@ -96,7 +96,7 @@ XCOMM Specify any Linker flags needed to allow dynam
  5. XCOMM to link against symbols inside xanim.
  6. XCOMM
  7. XCOMM ## Linux
  8. -LD_FLAGS = -rdynamic
  9. +XCOMM LD_FLAGS = -rdynamic
  10. XCOMM ## SunOS/Solaris use:
  11. XCOMM LD_FLAGS =
  12. @@ -111,17 +111,17 @@ XCOMM
  13. XCOMM NOTE: not all machines need the XA_DLL_LIB define.
  14. XCOMM #########################################################################
  15. XCOMM
  16. -XA_DLL_DEF = -DXA_DLL -DXA_PRINT
  17. +XCOMM XA_DLL_DEF = -DXA_DLL -DXA_PRINT
  18. XCOMM ### Use this only if the above doesn't work
  19. XCOMM XA_DLL_DEF = -DXA_DLL
  20. XCOMM
  21. XCOMM ### You may need this library.
  22. -XA_DLL_LIB = -ldl
  23. +XCOMM XA_DLL_LIB = -ldl
  24. XCOMM
  25. XCOMM If you'd like to change the default directory that XAnim searches while
  26. XCOMM looking for dlls, then change the directory below.
  27. XCOMM
  28. -XA_DLL_PATH = /usr/local/xanim/mods
  29. +XCOMM XA_DLL_PATH = /usr/local/xanim/mods
  30. @@ -267,8 +267,8 @@ XCOMM -- NOTE_9 Since xanim doesn't yet support Win32
  31. XCOMM XA_AUDIO_DEFS =
  32. XCOMM
  33. XCOMM ## -- Linux PCs ---------------------------------------------------------
  34. -XA_AUDIO_DEFS = -DXA_LINUX_AUDIO
  35. -XA_AUDIO_LIBS = -lc
  36. +XCOMM XA_AUDIO_DEFS = -DXA_LINUX_AUDIO
  37. +XCOMM XA_AUDIO_LIBS = -lc
  38. XCOMM
  39. XCOMM -- Linux PC's with OLD Rev sound drivers -------------------------------
  40. XCOMM XA_AUDIO_DEFS = -DXA_LINUX_AUDIO -DXA_LINUX_OLDER_SND
  41. @@ -309,6 +309,10 @@ XCOMM
  42. XCOMM -- NetBSD-current (as of 30/April 1995)---------------------------------
  43. XCOMM XA_AUDIO_DEFS = -DXA_NetBSD_AUDIO
  44. XCOMM
  45. +XCOMM -- OpenBSD, from at least 2.4 to now
  46. +XA_AUDIO_DEFS = -DXA_OpenBSD_AUDIO
  47. +XA_AUDIO_LIBS = -lsndio
  48. +XCOMM
  49. XCOMM -- QNX 4.2 PC's --------------------------------------------------------
  50. XCOMM XA_AUDIO_DEFS = -DXA_LINUX_AUDIO -DXA_SELECT
  51. XCOMM XA_AUDIO_LIBS = -lc
  52. @@ -442,7 +446,7 @@ XCOMM -- about not finding multibuf.h or the
  53. XCOMM -- following symbols(XmbufDisplayBuffers, XmbufQueryExtension,
  54. XCOMM -- XmbufCreateBuffers).
  55. XCOMM -- NOTE_8: HP-UX machines need to comment this out.
  56. -XCOMM XA_MULTIBUF = -DXMBUF
  57. +XA_MULTIBUF = -DXMBUF
  58. XCOMM
  59. XCOMM ###########
  60. XCOMM
  61. @@ -465,7 +469,7 @@ DEFINES = $(XA_DEFS)
  62. PROGRAMS = $(XANIM)
  63. -INCLUDES = -I$(INCDIR) $(XA_INCS)
  64. +INCLUDES = -I/usr/X11R6/include/X11 $(XA_INCS)
  65. LIBS1 = $(XA_LIBS) $(EXTENSIONLIB) $(XTOOLLIB) $(XLIB) -lm
  66. DEPLIBS1 = $(DEPEXTENSIONLIB) $(DEPXTOOLLIB) $(DEPXLIB)
  67. @@ -504,43 +508,3 @@ ComplexProgramTarget_1(xanim, $(LIBS1), $(OTHER_LIBS)
  68. xaclean::
  69. $(RM) $(OBJS1)
  70. -
  71. -XCOMM DO NOT DELETE THIS LINE
  72. -xanim.o: Imakefile xanim.h xa_config.h xa_x11.h xanim.c
  73. -xa1.0_kpcd.o: xa1.0_kpcd.c
  74. -unpacker.o: unpacker.c
  75. -xa_acodec.o: Imakefile xanim.h xa_acodec.c
  76. -xa_act.o: xanim.h xa_config.h xa_act.c
  77. -xa_au.o: xanim.h xa_config.h xa_au.c
  78. -xa_audio.o: Imakefile xanim.h xa_config.h xa_audio.h xa_audio.c
  79. -xa_avi.o: Imakefile xanim.h xa_config.h xa_avi.h xa_codecs.h xa_xmpg.h xa_avi.c
  80. -xa_cmap.o: xanim.h xa_config.h xa_cmap.c
  81. -xa_color.o: xanim.h xa_color.c
  82. -xa_dl.o: xanim.h xa_config.h xa_dl.h xa_dl.c
  83. -xa_dumfx.o: xanim.h xa_dumfx.c
  84. -xa_fli.o: xanim.h xa_config.h xa_fli.h xa_fli.c
  85. -xa_formats.o: xanim.h xa_formats.c
  86. -xa_gif.o: xanim.h xa_config.h xa_gif.h xa_gif.c
  87. -xa_iff.o: xanim.h xa_config.h xa_iff.h xa_iff.c
  88. -xa_input.o: xanim.h xa_input.c
  89. -xa_ipc.o: Imakefile xanim.h xa_config.h xa_ipc.h xa_ipc.c
  90. -xa_jmov.o: xanim.h xa_config.h xa_jmov.h xa_jmov.c
  91. -xa_jpg.o: xanim.h xa_config.h xa_jpg.h xa_jpg.c
  92. -xa_j6i.o: xanim.h xa_j6i.h xa_j6i.c
  93. -xa_movi.o: xanim.h xa_config.h xa_movi.h xa_movi.c
  94. -xa_mpg.o: xanim.h xa_config.h xa_mpg.h xa_xmpg.h xa_mpg.c xa_jpg.c
  95. -xa_qt.o: Imakefile xanim.h xa_config.h xa_qt.h xa_codecs.h xa_qt.c
  96. -xa_qt_decs.o: Imakefile xanim.h xa_config.h xa_qt.h xa_qt_decs.c
  97. -xa_vid_codec.o: Imakefile xa_avi.h xa_qt.h xa_codecs.h xavid.h xavid_mod.h
  98. -xa_vid_codec.o: xa_vid_codec.c
  99. -xa_replay.o: xanim.h xa_config.h xa_replay.h xa_replay.c
  100. -xa_rle.o: xanim.h xa_config.h xa_rle.h xa_rle.c
  101. -xa_set.o: xanim.h xa_config.h xa_iff.h xa_iff.c xa_set.h xa_set.c
  102. -xa_raw.o: xanim.h xa_raw.h xa_raw.c
  103. -xa_show.o: Imakefile xanim.h xa_show.c
  104. -xa_txt.o: xanim.h xa_config.h xa_txt.c
  105. -xa_utils.o: xanim.h xa_config.h xa_utils.c
  106. -xa_wav.o: xanim.h xa_config.h xa_avi.h xa_wav.c
  107. -xa_8svx.o: xanim.h xa_8svx.h xa_8svx.c
  108. -xa_x11.o: Imakefile xanim.h xa_config.h xa_x11.h xa_x11.c
  109. -xa_gsm.o: xanim.h xa_gsm_state.h xa_gsm.h xa_gsm.c