libpurple/win32/rules.mak

Sun, 02 Feb 2014 13:11:51 -0800

author
Mark Doliner <mark@kingant.net>
date
Sun, 02 Feb 2014 13:11:51 -0800
branch
release-2.x.y
changeset 35338
9438f4b2904d
parent 30285
33c8197dc6b6
child 33867
68be92b95def
child 40859
2ff89178eb3d
permissions
-rw-r--r--

Prep for 2.10.9

# 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