### config/libobj.in
#
# Makefile fragment that builds object files for libraries.
#
# The following variables must be set in Makefile.in:
#
# STLIBOBJS	list of .o objects; this must not contain variable
#		references.

.SUFFIXES: .c .so .po
.c.so:
	$(CC) $(PICFLAGS) $(ALL_CFLAGS) -c $< -o $*.so.o && $(MV) $*.so.o $*.so
.c.po:
	$(CC) $(PROFFLAGS) $(ALL_CFLAGS) -c $< -o $*.po.o && $(MV) $*.po.o $*.po

# rules to generate object file lists

OBJS.ST: $(STLIBOBJS)
	@echo $(STLIBOBJS) > $@

OBJS.SH: $(SHLIBOBJS)
	@echo $(SHLIBOBJS) > $@

OBJS.PF: $(PFLIBOBJS)
	@echo $(PFLIBOBJS) > $@

all-libobjs: $(OBJLISTS)

clean-libobjs:
	$(RM) OBJS.ST OBJS.SH OBJS.PF $(STLIBOBJS) $(SHLIBOBJS) $(PFLIBOBJS)

Makefile: $(SRCTOP)/config/libobj.in
config.status: $(SRCTOP)/config/shlib.conf

# clean-unix:: clean-libobjs
# all-unix:: all-libobjs

###
### end config/libobj.in
