Thu, 13 Feb 2014 20:11:13 +0100
Fix the build again
| 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 | |
|
33867
68be92b95def
win32: silence win32 build by displaying neat CC/CCLD/PERL tags instead of compilation command contents
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
30285
diff
changeset
|
7 | $(TAG) "PERL" $(PERL) -MExtUtils::ParseXS -e 'ExtUtils::ParseXS::process_file(filename => "$<", output => "$@", typemap => "$(PURPLE_PERL_TOP)/common/typemap");' |
| 14377 | 8 | |
| 9 | %.o: %.rc | |
|
33937
f15e97d8758e
win32: silence build even more
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33930
diff
changeset
|
10 | @echo -e " GEN\t$@" |
|
f15e97d8758e
win32: silence build even more
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33930
diff
changeset
|
11 | @$(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
|
12 | |
|
33c8197dc6b6
Final piece of getting the installer translations integrated with the regular
Daniel Atallah <datallah@pidgin.im>
parents:
29868
diff
changeset
|
13 | %.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
|
14 | LC_ALL=C $(PERL) $(INTLTOOL_MERGE) -d -u -c $(PIDGIN_TREE_TOP)/po/.intltool-merge-cache $(PIDGIN_TREE_TOP)/po $< $@ |
|
33930
392528e9a372
Fix compilation for win32
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33867
diff
changeset
|
15 | |
|
392528e9a372
Fix compilation for win32
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33867
diff
changeset
|
16 | %.html.h: %.html |
|
392528e9a372
Fix compilation for win32
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33867
diff
changeset
|
17 | @echo -e " GEN\t$@" |
|
392528e9a372
Fix compilation for win32
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33867
diff
changeset
|
18 | @echo "static const char $*_html[] = {" > $@ |
|
392528e9a372
Fix compilation for win32
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33867
diff
changeset
|
19 | @sed -e 's/^[ ]\+//g' -e 's/[ ]\+/ /g' $< | xxd -i | sed -e 's/\(0x[0-9a-f][0-9a-f]\)$$/\1, 0x00/' >> $@ |
|
392528e9a372
Fix compilation for win32
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33867
diff
changeset
|
20 | @echo "};" >> $@ |