~ubuntu-branches/ubuntu/wily/hwinfo/wily-proposed

« back to all changes in this revision

Viewing changes to .pc/0007-pick-up-cpp-flags-for-dbus-1-from-pkg-config-instead.patch/src/hd/Makefile

  • Committer: Package Import Robot
  • Author(s): Sebastien Badia, Tomasz Buchert, Sebastien Badia
  • Date: 2014-10-07 11:44:23 UTC
  • mfrom: (1.1.14)
  • Revision ID: package-import@ubuntu.com-20141007114423-6c5zqa5zb2iqw87t
Tags: 21.6-1
[ Tomasz Buchert ]
* New upstream release.

[ Sebastien Badia ]
* d/copyright: Update copyright header.
* Re-introduce upstream changelog (Thanks Johann).
* d/control: Bump Standards-Version to 3.9.6 (no changes).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
TOPDIR          = ../..
2
 
TARGETS         = $(LIBHD_D)
3
 
CLEANFILES      = version.h
4
 
 
5
 
include $(TOPDIR)/Makefile.common
6
 
 
7
 
CFLAGS          += -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/lib/dbus-1.0/include
8
 
 
9
 
version.h: $(TOPDIR)/VERSION
10
 
        @echo "#define HD_VERSION_STRING \"`cat $(TOPDIR)/VERSION`\"" >$@
11
 
 
12
 
hd.h: $(TOPDIR)/VERSION
13
 
        @perl -pi -e "s/define\s+HD_VERSION\s+\d+/define HD_VERSION\t$(LIBHD_MAJOR_VERSION)/" $@
14
 
 
15
 
$(LIBHD_D): $(OBJS)
16
 
        ar r $(LIBHD) $?