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>

14377
c0440e16bacd [gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
1 # Rules on how to make object files from various sources
c0440e16bacd [gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
2
c0440e16bacd [gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
3 %.o: %.c
c0440e16bacd [gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
4 $(CC) $(CFLAGS) $(DEFINES) $(INCLUDE_PATHS) -o $@ -c $<
c0440e16bacd [gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
5
c0440e16bacd [gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
6 %.c: %.xs
29868
cfca9aa1f3ab Use ExtUtils::ParseXS instead of the xsubpp script to generate C source for XS files on Windows (avoids us needing to know where Perl is installed)
Daniel Atallah <datallah@pidgin.im>
parents: 16100
diff changeset
7 $(PERL) -MExtUtils::ParseXS -e 'ExtUtils::ParseXS::process_file(filename => "$<", output => "$@", typemap => "$(PURPLE_PERL_TOP)/common/typemap");'
14377
c0440e16bacd [gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
8
c0440e16bacd [gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
9 %.o: %.rc
16100
a0ab70986c10 This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents: 15435
diff changeset
10 $(WINDRES) -I$(PURPLE_TOP) -i $< -o $@
30285
33c8197dc6b6 Final piece of getting the installer translations integrated with the regular
Daniel Atallah <datallah@pidgin.im>
parents: 29868
diff changeset
11
33c8197dc6b6 Final piece of getting the installer translations integrated with the regular
Daniel Atallah <datallah@pidgin.im>
parents: 29868
diff changeset
12 %.desktop: %.desktop.in $(wildcard $(PIDGIN_TREE_TOP)/po/*.po)
33c8197dc6b6 Final piece of getting the installer translations integrated with the regular
Daniel Atallah <datallah@pidgin.im>
parents: 29868
diff changeset
13 LC_ALL=C $(PERL) $(INTLTOOL_MERGE) -d -u -c $(PIDGIN_TREE_TOP)/po/.intltool-merge-cache $(PIDGIN_TREE_TOP)/po $< $@

mercurial