view libpurple/win32/rules.mak @ 32784:5aca97a40e53

merge of 'c8c73eea7431e6f940916315ace40a41c8da3faa' and 'd6a48850118c6a7c8c5f0d05b89334bc2a53d3ef'
author Ethan Blanton <elb@pidgin.im>
date Fri, 21 Oct 2011 14:38:35 +0000
parents 62f0988c666c
children
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) -MExtUtils::ParseXS -e 'ExtUtils::ParseXS::process_file(filename => "$<", output => "$@", typemap => "$(PURPLE_PERL_TOP)/common/typemap");'

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

%.desktop: %.desktop.in $(wildcard $(PIDGIN_TREE_TOP)/po/*.po)
	LC_ALL=C $(PERL) $(INTLTOOL_MERGE) -d -u -c $(PIDGIN_TREE_TOP)/po/.intltool-merge-cache $(PIDGIN_TREE_TOP)/po $< $@