libpurple/win32/rules.mak

Wed, 09 Mar 2011 14:01:56 +0000

author
Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
date
Wed, 09 Mar 2011 14:01:56 +0000
changeset 31516
0f2e41d2f12a
parent 30285
33c8197dc6b6
child 33867
68be92b95def
child 40859
2ff89178eb3d
permissions
-rw-r--r--

Fix building on Darwin with --disable-nls. Thanks to Emanuele
Giaquinta.


committer: Ethan Blanton <elb@pidgin.im>

# 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 $< $@

mercurial