view libpurple/win32/rules.mak @ 23700:187b0e2ff49d

Rely on xmlnode_insert_data to call strlen on a bunch of MSN status strings. This has the side-effect of not triggering g_return_if_fail(length != 0) in xmlnode_insert_data when you update your buddy icon and don't have a status message, in which case msn_build_psm used to call insert_data("", 0). Perhaps xmlnode_insert_data should short-circuit without logging an error if length == 0?
author Will Thompson <will.thompson@collabora.co.uk>
date Mon, 11 Aug 2008 11:58:12 +0000
parents ded8da3de5f8
children 1d6b962dea92
line wrap: on
line source

# Rules on how to make object files from various sources

%.o: %.c
	$(CC) $(CFLAGS) $(DEFINES) $(INCLUDE_PATHS) -o $@ -c $<

%.c: %.xs
	$(PERL) $(EXTUTILS)/xsubpp -typemap $(EXTUTILS)/typemap -typemap $(PURPLE_PERL_TOP)/common/typemap $< > $@

%.o: %.rc
	$(WINDRES) -I$(PURPLE_TOP) -i $< -o $@