1### config/libobj.in 2# 3# Makefile fragment that builds object files for libraries. 4# 5# The following variables must be set in Makefile.in: 6# 7# STLIBOBJS list of .o objects; this must not contain variable 8# references. 9 10.SUFFIXES: .c .so .po 11.c.so: 12 $(CC) $(PICFLAGS) -DSHARED $(ALL_CFLAGS) -c $< -o $*.so.o && $(MV) $*.so.o $*.so 13.c.po: 14 $(CC) $(PROFFLAGS) $(ALL_CFLAGS) -c $< -o $*.po.o && $(MV) $*.po.o $*.po 15 16# rules to generate object file lists 17 18OBJS.ST: $(STLIBOBJS) Makefile 19 @echo $(STLIBOBJS) > $@ 20 : updated $@ 21 22OBJS.SH: $(SHLIBOBJS) Makefile 23 @echo $(SHLIBOBJS) > $@ 24 : updated $@ 25 26OBJS.PF: $(PFLIBOBJS) Makefile 27 @echo $(PFLIBOBJS) > $@ 28 : updated $@ 29 30all-libobjs: $(OBJLISTS) 31 32clean-libobjs: 33 $(RM) OBJS.ST OBJS.SH OBJS.PF $(STLIBOBJS) $(SHLIBOBJS) $(PFLIBOBJS) 34 35Makefile: $(top_srcdir)/config/libobj.in 36config.status: $(top_srcdir)/config/shlib.conf 37 38# clean-unix:: clean-libobjs 39# all-unix: all-libobjs 40 41### 42### end config/libobj.in 43