1
0

patch-src_Makefile 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. --- tmsnc-0.3.2.orig/src/Makefile 2006-10-17 13:14:22.000000000 +0200
  3. +++ tmsnc-0.3.2/src/Makefile 2012-07-26 13:54:39.000000000 +0200
  4. @@ -23,7 +23,7 @@ pkglibdir = $(libdir)/tmsnc
  5. pkgincludedir = $(includedir)/tmsnc
  6. top_builddir = ..
  7. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  8. -INSTALL = /usr/bin/install -c
  9. +INSTALL = /Volumes/adk/openadk/scripts/install -c
  10. install_sh_DATA = $(install_sh) -c -m 644
  11. install_sh_PROGRAM = $(install_sh) -c
  12. install_sh_SCRIPT = $(install_sh) -c
  13. @@ -35,8 +35,8 @@ POST_INSTALL = :
  14. NORMAL_UNINSTALL = :
  15. PRE_UNINSTALL = :
  16. POST_UNINSTALL = :
  17. -build_triplet = i686-pc-linux-gnu
  18. -host_triplet = i686-pc-linux-gnu
  19. +build_triplet = i686-apple-darwin10
  20. +host_triplet = mipsel-openadk-linux-gnu
  21. bin_PROGRAMS = tmsnc$(EXEEXT)
  22. subdir = src
  23. DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
  24. @@ -74,41 +74,41 @@ HEADERS = $(noinst_HEADERS)
  25. ETAGS = etags
  26. CTAGS = ctags
  27. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  28. -ACLOCAL = ${SHELL} /home/jonas/tmsnc/missing --run aclocal-1.9
  29. -AMDEP_FALSE = #
  30. -AMDEP_TRUE =
  31. -AMTAR = ${SHELL} /home/jonas/tmsnc/missing --run tar
  32. -AUTOCONF = ${SHELL} /home/jonas/tmsnc/missing --run autoconf
  33. -AUTOHEADER = ${SHELL} /home/jonas/tmsnc/missing --run autoheader
  34. -AUTOMAKE = ${SHELL} /home/jonas/tmsnc/missing --run automake-1.9
  35. -AWK = mawk
  36. -CC = gcc
  37. -CCDEPMODE = depmode=gcc3
  38. -CFLAGS = -g -O2
  39. -CPP = gcc -E
  40. -CPPFLAGS =
  41. -CURSES_INCLUDEDIR =
  42. -CURSES_LIBS = -lncurses -lpanel -lform
  43. +ACLOCAL = ${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run aclocal-1.9
  44. +AMDEP_FALSE =
  45. +AMDEP_TRUE = #
  46. +AMTAR = ${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run tar
  47. +AUTOCONF = ${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run autoconf
  48. +AUTOHEADER = ${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run autoheader
  49. +AUTOMAKE = ${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run automake-1.9
  50. +AWK = gawk
  51. +CC = /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc
  52. +CCDEPMODE = depmode=none
  53. +CFLAGS = -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe
  54. +CPP = /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -E
  55. +CPPFLAGS = -DNDEBUG -I/Volumes/adk/openadk/target_mipsel_uclibc/usr/include
  56. +CURSES_INCLUDEDIR = -I/Volumes/adk/openadk/target_mipsel_uclibc/include
  57. +CURSES_LIBS = -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -lncurses -lpanel -lform
  58. CYGPATH_W = echo
  59. DEFS = -DHAVE_CONFIG_H
  60. DEPDIR = .deps
  61. ECHO_C =
  62. ECHO_N = -n
  63. ECHO_T =
  64. -EGREP = /bin/grep -E
  65. +EGREP = /usr/bin/grep -E
  66. EXEEXT =
  67. -GREP = /bin/grep
  68. +GREP = /usr/bin/grep
  69. INSTALL_DATA = ${INSTALL} -m 644
  70. INSTALL_PROGRAM = ${INSTALL}
  71. INSTALL_SCRIPT = ${INSTALL}
  72. INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
  73. -LDFLAGS =
  74. -LIBICONV =
  75. +LDFLAGS = -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib
  76. +LIBICONV = /Volumes/adk/openadk/target_mipsel_uclibc/usr/lib/libiconv.so -Wl,-rpath -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib
  77. LIBOBJS =
  78. LIBS =
  79. -LTLIBICONV =
  80. +LTLIBICONV = -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -liconv -R/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib
  81. LTLIBOBJS =
  82. -MAKEINFO = ${SHELL} /home/jonas/tmsnc/missing --run makeinfo
  83. +MAKEINFO = ${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run makeinfo
  84. OBJEXT = o
  85. OPENSSL_FALSE = #
  86. OPENSSL_TRUE =
  87. @@ -120,60 +120,60 @@ PACKAGE_TARNAME =
  88. PACKAGE_VERSION =
  89. PATH_SEPARATOR = :
  90. SET_MAKE =
  91. -SHELL = /bin/sh
  92. -SSLINC =
  93. -SSLLIB = -lssl -lcrypto
  94. -STRIP =
  95. +SHELL = /bin/bash
  96. +SSLINC = -I/Volumes/adk/openadk/target_mipsel_uclibc/usr/include
  97. +SSLLIB = -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -lssl -lcrypto
  98. +STRIP = /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-strip
  99. TALKFILTERS_FALSE =
  100. TALKFILTERS_TRUE = #
  101. TFLIB =
  102. VERSION = 0.3.2
  103. -ac_ct_CC = gcc
  104. -am__fastdepCC_FALSE = #
  105. -am__fastdepCC_TRUE =
  106. +ac_ct_CC =
  107. +am__fastdepCC_FALSE =
  108. +am__fastdepCC_TRUE = #
  109. am__include = include
  110. am__leading_dot = .
  111. am__quote =
  112. am__tar = ${AMTAR} chof - "$$tardir"
  113. am__untar = ${AMTAR} xf -
  114. -bindir = ${exec_prefix}/bin
  115. -build = i686-pc-linux-gnu
  116. -build_alias =
  117. +bindir = /usr/bin
  118. +build = i686-apple-darwin10
  119. +build_alias = i686-apple-darwin10
  120. build_cpu = i686
  121. -build_os = linux-gnu
  122. -build_vendor = pc
  123. -datadir = ${datarootdir}
  124. +build_os = darwin10
  125. +build_vendor = apple
  126. +datadir = /usr/share
  127. datarootdir = ${prefix}/share
  128. docdir = ${datarootdir}/doc/${PACKAGE}
  129. dvidir = ${docdir}
  130. exec_prefix = ${prefix}
  131. -host = i686-pc-linux-gnu
  132. -host_alias =
  133. -host_cpu = i686
  134. +host = mipsel-openadk-linux-gnu
  135. +host_alias = mipsel-openadk-linux
  136. +host_cpu = mipsel
  137. host_os = linux-gnu
  138. -host_vendor = pc
  139. +host_vendor = openadk
  140. htmldir = ${docdir}
  141. includedir = ${prefix}/include
  142. infodir = ${datarootdir}/info
  143. -install_sh = /home/jonas/tmsnc/install-sh
  144. +install_sh = /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/install-sh
  145. libdir = ${exec_prefix}/lib
  146. -libexecdir = ${exec_prefix}/libexec
  147. +libexecdir = /usr/libexec
  148. localedir = ${datarootdir}/locale
  149. -localstatedir = ${prefix}/var
  150. -mandir = ${datarootdir}/man
  151. -mkdir_p = mkdir -p --
  152. +localstatedir = /var
  153. +mandir = /usr/share/man
  154. +mkdir_p = $(mkinstalldirs)
  155. oldincludedir = /usr/include
  156. pdfdir = ${docdir}
  157. -prefix = /usr/local
  158. -program_transform_name = s,x,x,
  159. +prefix = /usr
  160. +program_transform_name = s&$$&&;s&^&&
  161. psdir = ${docdir}
  162. sbindir = ${exec_prefix}/sbin
  163. sharedstatedir = ${prefix}/com
  164. -sysconfdir = ${prefix}/etc
  165. -target_alias =
  166. +sysconfdir = /etc
  167. +target_alias = mipsel-openadk-linux
  168. tmsnc_VERSION = 0.3.2
  169. -LDADD = -lssl -lcrypto -lncurses -lpanel -lform
  170. -INCLUDES =
  171. +LDADD = -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -lssl -lcrypto -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -lncurses -lpanel -lform /Volumes/adk/openadk/target_mipsel_uclibc/usr/lib/libiconv.so -Wl,-rpath -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -liconv -R/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib
  172. +INCLUDES = -I/Volumes/adk/openadk/target_mipsel_uclibc/usr/include -I/Volumes/adk/openadk/target_mipsel_uclibc/include
  173. AM_CFLAGS = -Wall
  174. tmsnc_SOURCES = misc.c main.c conf.c login.c sig.c menu.c ui.c list.c charset.c core_misc.c core_net.c core_ssl.c core_p2p.c dialog.c filters.c event.c debug.c
  175. noinst_HEADERS = misc.h main.h conf.h login.h sig.h menu.h ui.h list.h charset.h core_misc.h core_net.h core_ssl.h core_p2p.h core.h dialog.h filters.h event.h
  176. @@ -261,37 +261,37 @@ mostlyclean-compile:
  177. distclean-compile:
  178. -rm -f *.tab.c
  179. -include ./$(DEPDIR)/charset.Po
  180. -include ./$(DEPDIR)/conf.Po
  181. -include ./$(DEPDIR)/core_misc.Po
  182. -include ./$(DEPDIR)/core_net.Po
  183. -include ./$(DEPDIR)/core_p2p.Po
  184. -include ./$(DEPDIR)/core_ssl.Po
  185. -include ./$(DEPDIR)/debug.Po
  186. -include ./$(DEPDIR)/dialog.Po
  187. -include ./$(DEPDIR)/event.Po
  188. -include ./$(DEPDIR)/filters.Po
  189. -include ./$(DEPDIR)/list.Po
  190. -include ./$(DEPDIR)/login.Po
  191. -include ./$(DEPDIR)/main.Po
  192. -include ./$(DEPDIR)/menu.Po
  193. -include ./$(DEPDIR)/misc.Po
  194. -include ./$(DEPDIR)/sig.Po
  195. -include ./$(DEPDIR)/ui.Po
  196. +#include ./$(DEPDIR)/charset.Po
  197. +#include ./$(DEPDIR)/conf.Po
  198. +#include ./$(DEPDIR)/core_misc.Po
  199. +#include ./$(DEPDIR)/core_net.Po
  200. +#include ./$(DEPDIR)/core_p2p.Po
  201. +#include ./$(DEPDIR)/core_ssl.Po
  202. +#include ./$(DEPDIR)/debug.Po
  203. +#include ./$(DEPDIR)/dialog.Po
  204. +#include ./$(DEPDIR)/event.Po
  205. +#include ./$(DEPDIR)/filters.Po
  206. +#include ./$(DEPDIR)/list.Po
  207. +#include ./$(DEPDIR)/login.Po
  208. +#include ./$(DEPDIR)/main.Po
  209. +#include ./$(DEPDIR)/menu.Po
  210. +#include ./$(DEPDIR)/misc.Po
  211. +#include ./$(DEPDIR)/sig.Po
  212. +#include ./$(DEPDIR)/ui.Po
  213. .c.o:
  214. - if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
  215. - then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  216. -# source='$<' object='$@' libtool=no \
  217. -# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
  218. -# $(COMPILE) -c $<
  219. +# if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
  220. +# then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  221. +# source='$<' object='$@' libtool=no
  222. +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp)
  223. + $(COMPILE) -c $<
  224. .c.obj:
  225. - if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
  226. - then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  227. -# source='$<' object='$@' libtool=no \
  228. -# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
  229. -# $(COMPILE) -c `$(CYGPATH_W) '$<'`
  230. +# if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
  231. +# then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  232. +# source='$<' object='$@' libtool=no
  233. +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp)
  234. + $(COMPILE) -c `$(CYGPATH_W) '$<'`
  235. uninstall-info-am:
  236. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)