summary refs log blame commit diff stats
path: root/plugins/Make.plugin
blob: 4a4c56fde6a8a64386239baf772ccff43ec04560 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
.highlight .hll { background-color: #ffffcc }
.highlight .c { color: #888888 } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .k { color: #008800; font-weight: bold } /* Keyword */
.highlight .ch { color: #888888 } /* Comment.Hashbang */
.highlight .cm { color: #888888 } /* Comment.Multiline */
.highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */
.highlight .cpf { color: #888888 } /* Comment.PreprocFile */
.highlight .c1 { color: #888888 } /* Comment.Single */
.highlight .cs { color: #cc0000; font-weight: bold; background-color: #f
# Makefile stub for creating standalone plugin distributions.

plugin_dist: pg_dist pg_dist/config.status
	pgi=`cd $(srcdir)/.. && pwd`; cd pg_dist; \
		$(MAKE) $(AM_MAKEFLAGS) PLUGIN_INCLUDES=-I$$pgi distcheck dist

pg_dist: pg_distdir pg_dist/configure.in pg_dist/install-sh
	cd pg_dist \
	&& libtoolize --copy --force --automake \
	&& automake --copy --add-missing --foreign \
	&& autoconf -l ../$(top_srcdir)

pg_distdir: $(DISTFILES)
	test -d pg_dist || mkdir pg_dist
	for dfile in $(DISTFILES); do \
		test -f $$dfile && cp $$dfile pg_dist \
		|| test -f $(srcdir)/$$dfile && cp $(srcdir)/$$dfile pg_dist; done
	sed '/Make.plugin/d' < $(srcdir)/Makefile.am > pg_dist/Makefile.am

pg_dist/configure.in: $(srcdir)/../plugin-conf.in
	rm -f pg_dist/configure.in
	test -f $(srcdir)/config.stub \
	&& cat $(srcdir)/config.stub > pg_dist/configure.in || true
	cat $(srcdir)/../plugin-conf.in | \
		sed 's%@PLUGIN_VERSION@%$(PLUGIN_VERSION)%; \
		s%@PLUGIN@%$(PLUGIN)%' >> pg_dist/configure.in

pg_dist/install-sh: pg_distdir
	cp $(top_srcdir)/install-sh pg_dist

pg_dist/config.status: pg_dist/configure
	cd pg_dist \
	&& test -f config.status && $(SHELL) ./config.status --recheck \
	|| $(SHELL) ./configure --enable-maintainer-mode

DISTCLEANFILES = pg_dist/* pg_dist

#
ss="w"> void *(*start_routine)(void *), void *arg) { DWORD id; CloseHandle (CreateThread (NULL, 0, (LPTHREAD_START_ROUTINE)start_routine, arg, 0, (DWORD *)&id)); th->threadid = id; return 1; }