Wed, 09 Mar 2011 14:01:56 +0000
Fix building on Darwin with --disable-nls. Thanks to Emanuele
Giaquinta.
committer: Ethan Blanton <elb@pidgin.im>
| 14377 | 1 | # Rules on how to make object files from various sources |
| 2 | ||
| 3 | %.o: %.c | |
| 4 | $(CC) $(CFLAGS) $(DEFINES) $(INCLUDE_PATHS) -o $@ -c $< | |
| 5 | ||
| 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 | 8 | |
| 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 $< $@ |