1
0

patch-src_des_Makefile_in 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. --- openafs-1.6.5.orig/src/des/Makefile.in 2013-07-18 00:10:42.000000000 +0200
  2. +++ openafs-1.6.5/src/des/Makefile.in 2013-09-22 20:00:06.859528134 +0200
  3. @@ -106,31 +106,31 @@ libdes.a: ${OBJS} AFS_component_version_
  4. $(RANLIB) libdes.a
  5. make_ip: make_ip.o misc-i.o main.o
  6. - ${CC} make_ip.o misc-i.o main.o ${LDFLAGS} -o make_ip
  7. + ${CC_FOR_BUILD} make_ip.o misc-i.o main.o ${LDFLAGS_FOR_BUILD} -o make_ip
  8. make_fp: make_fp.o misc-i.o main.o
  9. - ${CC} make_fp.o misc-i.o main.o ${LDFLAGS} -o make_fp
  10. + ${CC_FOR_BUILD} make_fp.o misc-i.o main.o ${LDFLAGS_FOR_BUILD} -o make_fp
  11. make_odd: make_odd.o misc-i.o main.o
  12. - ${CC} make_odd.o misc-i.o main.o ${LDFLAGS} -o make_odd
  13. + ${CC_FOR_BUILD} make_odd.o misc-i.o main.o ${LDFLAGS_FOR_BUILD} -o make_odd
  14. make_s_table: make_s_table.o misc-i.o main.o
  15. - ${CC} make_s_table.o misc-i.o main.o ${LDFLAGS} -o make_s_table
  16. + ${CC_FOR_BUILD} make_s_table.o misc-i.o main.o ${LDFLAGS_FOR_BUILD} -o make_s_table
  17. make_p_table: make_p_table.o misc-i.o main.o
  18. - ${CC} make_p_table.o misc-i.o main.o ${LDFLAGS} -o make_p_table
  19. + ${CC_FOR_BUILD} make_p_table.o misc-i.o main.o ${LDFLAGS_FOR_BUILD} -o make_p_table
  20. make_keyperm: make_keyperm.o misc-i.o main.o
  21. - ${CC} make_keyperm.o misc-i.o main.o ${LDFLAGS} -o make_keyperm
  22. + ${CC_FOR_BUILD} make_keyperm.o misc-i.o main.o ${LDFLAGS_FOR_BUILD} -o make_keyperm
  23. make_e: make_e.o misc-i.o main.o
  24. - ${CC} make_e.o misc-i.o main.o ${LDFLAGS} -o make_e
  25. + ${CC_FOR_BUILD} make_e.o misc-i.o main.o ${LDFLAGS_FOR_BUILD} -o make_e
  26. make_p: make_p.o misc-i.o main.o
  27. - ${CC} make_p.o misc-i.o main.o ${LDFLAGS} -o make_p
  28. + ${CC_FOR_BUILD} make_p.o misc-i.o main.o ${LDFLAGS_FOR_BUILD} -o make_p
  29. make_s: make_s.o misc-i.o main.o
  30. - ${CC} make_s.o misc-i.o main.o ${LDFLAGS} -o make_s
  31. + ${CC_FOR_BUILD} make_s.o misc-i.o main.o ${LDFLAGS_FOR_BUILD} -o make_s
  32. crypt.o: ${srcdir}/crypt.c
  33. case ${SYS_NAME} in \
  34. @@ -172,17 +172,27 @@ fp.c: make_fp
  35. INCLS=des.h des_prototypes.h mit-cpyright.h des_conf.h des_internal.h conf.h
  36. make_keyperm.o: make_keyperm.c ${INCLS}
  37. + $(CC_FOR_BUILD) ${COMMON_INCL} $(CFLAGS_FOR_BUILD) -c $<
  38. make_ip.o: make_ip.c tables.h ${INCLS}
  39. + $(CC_FOR_BUILD) ${COMMON_INCL} $(CFLAGS_FOR_BUILD) -c $<
  40. make_fp.o: make_fp.c tables.h ${INCLS}
  41. + $(CC_FOR_BUILD) ${COMMON_INCL} $(CFLAGS_FOR_BUILD) -c $<
  42. make_p.o: make_p.c tables.h ${INCLS}
  43. + $(CC_FOR_BUILD) ${COMMON_INCL} $(CFLAGS_FOR_BUILD) -c $<
  44. make_s.o: make_s.c s_table.h ${INCLS}
  45. + $(CC_FOR_BUILD) ${COMMON_INCL} $(CFLAGS_FOR_BUILD) -c $<
  46. make_s_table.o: make_s_table.c tables.h ${INCLS}
  47. + $(CC_FOR_BUILD) ${COMMON_INCL} $(CFLAGS_FOR_BUILD) -c $<
  48. make_p_table.o: make_p_table.c tables.h ${INCLS}
  49. + $(CC_FOR_BUILD) ${COMMON_INCL} $(CFLAGS_FOR_BUILD) -c $<
  50. make_odd.o: make_odd.c ${INCLS}
  51. -misc.o: misc.c AFS_component_version_number.c ${INCLS}
  52. + $(CC_FOR_BUILD) ${COMMON_INCL} $(CFLAGS_FOR_BUILD) -c $<
  53. misc-i.o: misc.c ${INCLS}
  54. - ${CCOBJ} -c ${CFLAGS} -o misc-i.o ${srcdir}/misc.c
  55. + $(CC_FOR_BUILD) ${COMMON_INCL} $(CFLAGS_FOR_BUILD) -c -o misc-i.o ${srcdir}/misc.c
  56. +misc.o: misc.c AFS_component_version_number.c ${INCLS}
  57. + $(CC) ${COMMON_INCL} $(CFLAGS) -c $<
  58. main.o: main.c ${INCLS}
  59. + $(CC_FOR_BUILD) ${COMMON_INCL} $(CFLAGS_FOR_BUILD) -c $<
  60. key_sched.o: key_sched.c key_perm.h odd.h ${INCLS}
  61. key_test.o: key_test.c ${INCLS}
  62. testit.o: testit.c ${INCLS}