libpurple/win32/rules.mak

Thu, 13 Feb 2014 20:11:13 +0100

author
Tomasz Wasilczyk <twasilczyk@pidgin.im>
date
Thu, 13 Feb 2014 20:11:13 +0100
changeset 35559
061c2ae3679c
parent 33937
f15e97d8758e
child 38317
87484be86fb8
permissions
-rw-r--r--

Fix the build again

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
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
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
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 "};" >> $@

mercurial