view libpurple/win32/rules.mak @ 30098:51c31805d2a7

propagate from branch 'im.pidgin.pidgin.mxit' (head b4547e5df2f928e2dc0e471d88aa7a8975222c0e) to branch 'im.pidgin.pidgin' (head 6c7bc4d299467c6be45dd213e52cffe938c31556) Merge of simple bugfixes from the MXit guys.
author John Bailey <rekkanoryo@rekkanoryo.org>
date Wed, 26 May 2010 15:54:41 +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 $< $@