~ubuntu-branches/ubuntu/oneiric/drbd8/oneiric

« back to all changes in this revision

Viewing changes to drbd/Makefile-2.6

  • Committer: Bazaar Package Importer
  • Author(s): Andres Rodriguez
  • Date: 2011-07-05 15:40:13 UTC
  • mfrom: (1.4.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20110705154013-f9l32owj6mi9e1p0
Tags: 2:8.3.11-0ubuntu1
* New upstream release
* debian/patches/01_ubuntu_cn_idx.dpatch: Refreshed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
ccflags-y := -include $(DRBDSRC)/linux/drbd.h
2
 
ccflags-y += -include $(DRBDSRC)/linux/drbd_limits.h
 
1
# Search the local directory before the standard include directories.
 
2
# This is needed for overriding files like <linux/drbd.h>.
 
3
 
 
4
LINUXINCLUDE := -I$(src) $(LINUXINCLUDE)
 
5
 
 
6
# Files in the standard include directories take precendence over files
 
7
# in the compat directory.
 
8
#
 
9
# Add -I$(src) to EXTRA_CFLAGS again: some (rhel5, maybe other) kbuild does not
 
10
# yet use LINUXINCLUDE like we expect it to ;( fortunately it does not contain
 
11
# in-tree drbd either yet, so precedence of include files is not important.
 
12
#
 
13
# override: we absolutely need this, even if EXTRA_CFLAGS originates from make
 
14
# command line or environment
 
15
override EXTRA_CFLAGS += -I$(src) -I$(src)/compat
3
16
 
4
17
drbd-y := drbd_buildtag.o drbd_bitmap.o drbd_proc.o
5
18
drbd-y += drbd_worker.o drbd_receiver.o drbd_req.o drbd_actlog.o