Re: [HACKERS] Problems with pgxs

2004-10-31 Thread Bruce Momjian
Tom Lane wrote: > Bruce Momjian <[EMAIL PROTECTED]> writes: > > $(PTHREAD_H_WIN32) is a dependency of libpq and therefore we had to copy > > it into Makefile.shlib when we are compiling from that file rather than > > libpq/Makefile. libpq/Makefile has: > > > all: $(PTHREAD_H_WIN32) $(top_buildd

Re: [HACKERS] Problems with pgxs

2004-10-31 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> writes: > $(PTHREAD_H_WIN32) is a dependency of libpq and therefore we had to copy > it into Makefile.shlib when we are compiling from that file rather than > libpq/Makefile. libpq/Makefile has: > all: $(PTHREAD_H_WIN32) $(top_builddir)/src/port/pg_config_paths

Re: [HACKERS] Problems with pgxs

2004-10-31 Thread Bruce Momjian
Tom Lane wrote: > Thomas Hallgren <[EMAIL PROTECTED]> writes: > > [ Makefile.shlib contains ] > > > all-lib: all-static-lib all-shared-lib > > > all-static-lib: $(PTHREAD_H_WIN32) $(top_builddir)/src/port/pg_config_paths.h > > lib$(NAME).a > > > all-shared-lib: $(PTHREAD_H_WIN32)

Re: [HACKERS] Problems with pgxs

2004-10-31 Thread Tom Lane
Thomas Hallgren <[EMAIL PROTECTED]> writes: > [ Makefile.shlib contains ] > all-lib: all-static-lib all-shared-lib > all-static-lib: $(PTHREAD_H_WIN32) $(top_builddir)/src/port/pg_config_paths.h > lib$(NAME).a > all-shared-lib: $(PTHREAD_H_WIN32) $(top_builddir)/src/port/pg_confi

[HACKERS] Problems with pgxs

2004-10-31 Thread Thomas Hallgren
I have some problems when adjusting PL/Java to use PGXS in its makefiles. Aside from the Win32 problem I asked about earlier, I also have problems using the MODULE_big. When used, it brings in the Makefile.shlib and attempts to use the target all-lib. That target is defined as: all-lib: al