patch-Makefile_in 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  1. $OpenBSD: patch-Makefile_in,v 1.2 2009/02/14 09:41:35 jasper Exp $
  2. --- Makefile.in.orig Mon Oct 1 00:13:45 2001
  3. +++ Makefile.in Sat Feb 14 10:40:49 2009
  4. @@ -65,16 +65,15 @@ REGEX = @REGEX@
  5. SHAREDIR = @SHAREDIR@
  6. VERSION = @VERSION@
  7. -sbin_PROGRAMS = opennap metaserver setup #mkpass
  8. -opennap_SOURCES = opennap.h main.c add_file.c search.c motd.c hash.h hash.c privmsg.c browse.c debug.c debug.h login.c whois.c free_user.c join.c part.c public.c part_channel.c announce.c kill_user.c remove_connection.c config.c download.c upload_complete.c topic.c muzzle.c level.c client_quit.c server_login.c server_connect.c synch.c util.c md5.c md5.h hotlist.c remove_file.c list_channels.c list_users.c ping.c resume.c change.c ban.c network.c buffer.c server_usage.c server_links.c init.c handler.c timer.c list.c list.h userdb.c serverlib.c kick.c usermode.c channel.c glob.c redirect.c filter.c hashlist.h hashlist.c class.c napigator.c win32-support.h #fast_snprintf.c
  9. +sbin_PROGRAMS = opennap metaserver setup
  10. +opennap_SOURCES = opennap.h main.c add_file.c discipline.c search.c motd.c hash.h hash.c privmsg.c browse.c debug.c debug.h login.c whois.c free_user.c join.c part.c public.c part_channel.c announce.c kill_user.c remove_connection.c config.c download.c upload_complete.c topic.c muzzle.c level.c client_quit.c server_login.c server_connect.c synch.c util.c md5.c md5.h hotlist.c remove_file.c list_channels.c list_users.c ping.c resume.c change.c ban.c network.c buffer.c server_usage.c server_links.c init.c handler.c timer.c list.c list.h userdb.c serverlib.c kick.c usermode.c channel.c glob.c redirect.c filter.c hashlist.h hashlist.c class.c napigator.c win32-support.h #fast_snprintf.c
  11. opennap_LDADD = $(REGEX)
  12. opennap_DEPENDENCIES = $(REGEX)
  13. -#mkpass_SOURCES=mkpass.c md5.c debug.c util.c
  14. metaserver_SOURCES = metaserver.c
  15. setup_SOURCES = setup.c
  16. EXTRA_opennap_SOURCES = regex.c _regex.h
  17. -EXTRA_DIST = sample.config sample.motd napster.txt .indent.pro FAQ spyserv.c opennap.dsw opennap.dsp opennap.opt sample.users sample.servers opennap.spec getopt.c mkpass.dsp sample.channels napchk logchk setup.dsp opennap.init sample.filter mkpass.c manual.html start_opennap sample.block win98se_max_conn.reg notes.txt sample.block
  18. +EXTRA_DIST = sample.config sample.motd napster.txt .indent.pro FAQ spyserv.c opennap.dsw opennap.dsp opennap.opt sample.users sample.servers opennap.spec getopt.c sample.channels napchk logchk setup.dsp opennap.init sample.filter manual.html start_opennap sample.block win98se_max_conn.reg notes.txt sample.block metaserver.dsp
  19. INCLUDES = -DSHAREDIR=\"@SHAREDIR@\"
  20. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  21. @@ -88,15 +87,15 @@ DEFS = @DEFS@ -I. -I$(srcdir) -I.
  22. CPPFLAGS = @CPPFLAGS@
  23. LDFLAGS = @LDFLAGS@
  24. LIBS = @LIBS@
  25. -opennap_OBJECTS = main.o add_file.o search.o motd.o hash.o privmsg.o \
  26. -browse.o debug.o login.o whois.o free_user.o join.o part.o public.o \
  27. -part_channel.o announce.o kill_user.o remove_connection.o config.o \
  28. -download.o upload_complete.o topic.o muzzle.o level.o client_quit.o \
  29. -server_login.o server_connect.o synch.o util.o md5.o hotlist.o \
  30. -remove_file.o list_channels.o list_users.o ping.o resume.o change.o \
  31. -ban.o network.o buffer.o server_usage.o server_links.o init.o handler.o \
  32. -timer.o list.o userdb.o serverlib.o kick.o usermode.o channel.o glob.o \
  33. -redirect.o filter.o hashlist.o class.o napigator.o
  34. +opennap_OBJECTS = main.o add_file.o discipline.o search.o motd.o hash.o \
  35. +privmsg.o browse.o debug.o login.o whois.o free_user.o join.o part.o \
  36. +public.o part_channel.o announce.o kill_user.o remove_connection.o \
  37. +config.o download.o upload_complete.o topic.o muzzle.o level.o \
  38. +client_quit.o server_login.o server_connect.o synch.o util.o md5.o \
  39. +hotlist.o remove_file.o list_channels.o list_users.o ping.o resume.o \
  40. +change.o ban.o network.o buffer.o server_usage.o server_links.o init.o \
  41. +handler.o timer.o list.o userdb.o serverlib.o kick.o usermode.o \
  42. +channel.o glob.o redirect.o filter.o hashlist.o class.o napigator.o
  43. opennap_LDFLAGS =
  44. metaserver_OBJECTS = metaserver.o
  45. metaserver_LDADD = $(LDADD)
  46. @@ -119,6 +118,23 @@ DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEX
  47. TAR = tar
  48. GZIP_ENV = --best
  49. +DEP_FILES = .deps/add_file.P .deps/announce.P .deps/ban.P \
  50. +.deps/browse.P .deps/buffer.P .deps/change.P .deps/channel.P \
  51. +.deps/class.P .deps/client_quit.P .deps/config.P .deps/debug.P \
  52. +.deps/discipline.P .deps/download.P .deps/filter.P .deps/free_user.P \
  53. +.deps/glob.P .deps/handler.P .deps/hash.P .deps/hashlist.P \
  54. +.deps/hotlist.P .deps/init.P .deps/join.P .deps/kick.P \
  55. +.deps/kill_user.P .deps/level.P .deps/list.P .deps/list_channels.P \
  56. +.deps/list_users.P .deps/login.P .deps/main.P .deps/md5.P \
  57. +.deps/metaserver.P .deps/motd.P .deps/muzzle.P .deps/napigator.P \
  58. +.deps/network.P .deps/part.P .deps/part_channel.P .deps/ping.P \
  59. +.deps/privmsg.P .deps/public.P .deps/redirect.P .deps/regex.P \
  60. +.deps/remove_connection.P .deps/remove_file.P .deps/resume.P \
  61. +.deps/search.P .deps/server_connect.P .deps/server_links.P \
  62. +.deps/server_login.P .deps/server_usage.P .deps/serverlib.P \
  63. +.deps/setup.P .deps/synch.P .deps/timer.P .deps/topic.P \
  64. +.deps/upload_complete.P .deps/userdb.P .deps/usermode.P .deps/util.P \
  65. +.deps/whois.P
  66. SOURCES = $(opennap_SOURCES) $(EXTRA_opennap_SOURCES) $(metaserver_SOURCES) $(setup_SOURCES)
  67. OBJECTS = $(opennap_OBJECTS) $(metaserver_OBJECTS) $(setup_OBJECTS)
  68. @@ -126,9 +142,9 @@ all: all-redirect
  69. .SUFFIXES:
  70. .SUFFIXES: .S .c .o .s
  71. $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
  72. - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps Makefile
  73. + cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile
  74. -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  75. +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
  76. cd $(top_builddir) \
  77. && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
  78. @@ -193,9 +209,6 @@ uninstall-sbinPROGRAMS:
  79. rm -f $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
  80. done
  81. -.c.o:
  82. - $(COMPILE) -c $<
  83. -
  84. .s.o:
  85. $(COMPILE) -c $<
  86. @@ -291,6 +304,11 @@ distdir: $(DISTFILES)
  87. -rm -rf $(distdir)
  88. mkdir $(distdir)
  89. -chmod 777 $(distdir)
  90. + here=`cd $(top_builddir) && pwd`; \
  91. + top_distdir=`cd $(distdir) && pwd`; \
  92. + distdir=`cd $(distdir) && pwd`; \
  93. + cd $(top_srcdir) \
  94. + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile
  95. @for file in $(DISTFILES); do \
  96. d=$(srcdir); \
  97. if test -d $$d/$$file; then \
  98. @@ -301,74 +319,38 @@ distdir: $(DISTFILES)
  99. || cp -p $$d/$$file $(distdir)/$$file || :; \
  100. fi; \
  101. done
  102. -add_file.o: add_file.c config.h opennap.h hash.h list.h debug.h
  103. -announce.o: announce.c config.h opennap.h hash.h list.h debug.h
  104. -ban.o: ban.c config.h opennap.h hash.h list.h debug.h
  105. -browse.o: browse.c config.h opennap.h hash.h list.h debug.h
  106. -buffer.o: buffer.c config.h opennap.h hash.h list.h debug.h
  107. -change.o: change.c config.h opennap.h hash.h list.h debug.h
  108. -channel.o: channel.c config.h opennap.h hash.h list.h debug.h
  109. -class.o: class.c config.h opennap.h hash.h list.h hashlist.h debug.h
  110. -client_quit.o: client_quit.c opennap.h hash.h list.h debug.h
  111. -config.o: config.c config.h opennap.h hash.h list.h debug.h
  112. -debug.o: debug.c config.h debug.h
  113. -download.o: download.c config.h opennap.h hash.h list.h debug.h
  114. -filter.o: filter.c config.h opennap.h hash.h list.h debug.h
  115. -free_user.o: free_user.c config.h opennap.h hash.h list.h hashlist.h \
  116. - debug.h
  117. -glob.o: glob.c config.h opennap.h hash.h list.h
  118. -handler.o: handler.c config.h opennap.h hash.h list.h debug.h
  119. -hash.o: hash.c config.h hash.h debug.h
  120. -hashlist.o: hashlist.c config.h list.h hash.h hashlist.h opennap.h \
  121. - debug.h
  122. -hotlist.o: hotlist.c config.h opennap.h hash.h list.h hashlist.h debug.h
  123. -init.o: init.c config.h opennap.h hash.h list.h hashlist.h debug.h
  124. -join.o: join.c config.h opennap.h hash.h list.h debug.h
  125. -kick.o: kick.c config.h opennap.h hash.h list.h debug.h
  126. -kill_user.o: kill_user.c config.h opennap.h hash.h list.h debug.h
  127. -level.o: level.c config.h opennap.h hash.h list.h debug.h
  128. -list.o: list.c config.h list.h debug.h
  129. -list_channels.o: list_channels.c config.h opennap.h hash.h list.h \
  130. - debug.h
  131. -list_users.o: list_users.c config.h opennap.h hash.h list.h debug.h
  132. -login.o: login.c config.h opennap.h hash.h list.h hashlist.h debug.h
  133. -main.o: main.c config.h opennap.h hash.h list.h debug.h
  134. -md5.o: md5.c config.h md5.h
  135. -metaserver.o: metaserver.c config.h
  136. -motd.o: motd.c config.h opennap.h hash.h list.h debug.h
  137. -muzzle.o: muzzle.c config.h opennap.h hash.h list.h debug.h
  138. -napigator.o: napigator.c config.h opennap.h hash.h list.h debug.h md5.h
  139. -network.o: network.c config.h opennap.h hash.h list.h debug.h
  140. -part.o: part.c config.h opennap.h hash.h list.h debug.h
  141. -part_channel.o: part_channel.c config.h opennap.h hash.h list.h debug.h
  142. -ping.o: ping.c config.h opennap.h hash.h list.h debug.h
  143. -privmsg.o: privmsg.c config.h opennap.h hash.h list.h debug.h
  144. -public.o: public.c config.h opennap.h hash.h list.h debug.h
  145. -redirect.o: redirect.c config.h opennap.h hash.h list.h
  146. -remove_connection.o: remove_connection.c config.h opennap.h hash.h \
  147. - list.h hashlist.h debug.h
  148. -remove_file.o: remove_file.c config.h opennap.h hash.h list.h debug.h
  149. -resume.o: resume.c config.h opennap.h hash.h list.h debug.h
  150. -search.o: search.c config.h opennap.h hash.h list.h debug.h
  151. -server_connect.o: server_connect.c config.h opennap.h hash.h list.h \
  152. - debug.h
  153. -server_links.o: server_links.c config.h opennap.h hash.h list.h debug.h
  154. -server_login.o: server_login.c config.h opennap.h hash.h list.h debug.h \
  155. - md5.h
  156. -server_usage.o: server_usage.c config.h opennap.h hash.h list.h \
  157. - hashlist.h debug.h
  158. -serverlib.o: serverlib.c config.h opennap.h hash.h list.h debug.h
  159. -setup.o: setup.c config.h
  160. -synch.o: synch.c config.h opennap.h hash.h list.h debug.h
  161. -timer.o: timer.c config.h opennap.h hash.h list.h debug.h
  162. -topic.o: topic.c config.h opennap.h hash.h list.h debug.h
  163. -upload_complete.o: upload_complete.c config.h opennap.h hash.h list.h \
  164. - debug.h
  165. -userdb.o: userdb.c config.h opennap.h hash.h list.h debug.h
  166. -usermode.o: usermode.c config.h opennap.h hash.h list.h debug.h
  167. -util.o: util.c config.h md5.h opennap.h hash.h list.h debug.h
  168. -whois.o: whois.c config.h opennap.h hash.h list.h debug.h
  169. +DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
  170. +
  171. +-include $(DEP_FILES)
  172. +
  173. +mostlyclean-depend:
  174. +
  175. +clean-depend:
  176. +
  177. +distclean-depend:
  178. + -rm -rf .deps
  179. +
  180. +maintainer-clean-depend:
  181. +
  182. +%.o: %.c
  183. + @echo '$(COMPILE) -c $<'; \
  184. + $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
  185. + @-cp .deps/$(*F).pp .deps/$(*F).P; \
  186. + tr ' ' '\012' < .deps/$(*F).pp \
  187. + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
  188. + >> .deps/$(*F).P; \
  189. + rm .deps/$(*F).pp
  190. +
  191. +%.lo: %.c
  192. + @echo '$(LTCOMPILE) -c $<'; \
  193. + $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
  194. + @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
  195. + < .deps/$(*F).pp > .deps/$(*F).P; \
  196. + tr ' ' '\012' < .deps/$(*F).pp \
  197. + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
  198. + >> .deps/$(*F).P; \
  199. + rm -f .deps/$(*F).pp
  200. info-am:
  201. info: info-am
  202. dvi-am:
  203. @@ -409,25 +391,27 @@ distclean-generic:
  204. maintainer-clean-generic:
  205. mostlyclean-am: mostlyclean-hdr mostlyclean-sbinPROGRAMS \
  206. - mostlyclean-compile mostlyclean-tags \
  207. + mostlyclean-compile mostlyclean-tags mostlyclean-depend \
  208. mostlyclean-generic
  209. mostlyclean: mostlyclean-am
  210. clean-am: clean-hdr clean-sbinPROGRAMS clean-compile clean-tags \
  211. - clean-generic mostlyclean-am
  212. + clean-depend clean-generic mostlyclean-am
  213. clean: clean-am
  214. distclean-am: distclean-hdr distclean-sbinPROGRAMS distclean-compile \
  215. - distclean-tags distclean-generic clean-am
  216. + distclean-tags distclean-depend distclean-generic \
  217. + clean-am
  218. distclean: distclean-am
  219. -rm -f config.status
  220. maintainer-clean-am: maintainer-clean-hdr maintainer-clean-sbinPROGRAMS \
  221. maintainer-clean-compile maintainer-clean-tags \
  222. - maintainer-clean-generic distclean-am
  223. + maintainer-clean-depend maintainer-clean-generic \
  224. + distclean-am
  225. @echo "This command is intended for maintainers to use;"
  226. @echo "it deletes files that may require special tools to rebuild."
  227. @@ -439,10 +423,12 @@ mostlyclean-sbinPROGRAMS distclean-sbinPROGRAMS clean-
  228. maintainer-clean-sbinPROGRAMS uninstall-sbinPROGRAMS \
  229. install-sbinPROGRAMS mostlyclean-compile distclean-compile \
  230. clean-compile maintainer-clean-compile tags mostlyclean-tags \
  231. -distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
  232. -dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \
  233. -install-exec-am install-exec install-data-am install-data install-am \
  234. -install uninstall-am uninstall all-redirect all-am all installdirs \
  235. +distclean-tags clean-tags maintainer-clean-tags distdir \
  236. +mostlyclean-depend distclean-depend clean-depend \
  237. +maintainer-clean-depend info-am info dvi-am dvi check check-am \
  238. +installcheck-am installcheck all-recursive-am install-exec-am \
  239. +install-exec install-data-am install-data install-am install \
  240. +uninstall-am uninstall all-redirect all-am all installdirs \
  241. mostlyclean-generic distclean-generic clean-generic \
  242. maintainer-clean-generic clean mostlyclean distclean maintainer-clean