For the linux, bsd, i386-solaris and univel ports, ...
If I were to try to make foo$(DLSUFFIX) from bar.c and bah.c, I would
think the general sequence of events would be:
1. $(CC) $(CFLAGS_SL) -o bar.o bar.c
2. $(CC) $(CFLAGS_SL) -o bah.o bah.c
3. $(LD) $(LDFLAGS_SL) -r -o foo.o bar.o bah.o
4. $(LD) $(LDFLAGS_SL) -o foo$(DLSUFFIX) foo.o
Could someone for each port tell me what $(CFLAGS_SL) and $(LDFLAGS_SL)
are needed for each of these steps?
I have reworked the libpq Makefile to make a shared libpq for aix and
I'd like to move the libpq port-specific code to the port Makefiles
without breaking it.
Any help from others with shared library knowledge on these ports would
be greatly appreciated.
darrenk