view libpurple/win32/rules.mak @ 31656:fcfa9e6dc88b

merge of '4beb86df935d5dfd7ce4107bcabe1944e59a63a2' and '7c414c17049558cf4b4e280a2c1a14eea7faf465'
author Mark Doliner <mark@kingant.net>
date Sun, 12 Jun 2011 09:37:15 +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 $< $@