~ubuntu-branches/ubuntu/vivid/keepalived/vivid

« back to all changes in this revision

Viewing changes to keepalived/libipvs-2.6/Makefile

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2011-10-25 16:10:58 UTC
  • mfrom: (3.1.7 sid)
  • Revision ID: package-import@ubuntu.com-20111025161058-bgqn5elt0xo1tq0a
Tags: 1:1.2.2-1ubuntu1
* Resynchronise with Debian.  Remaining changes:
  - debian/rules: DEB_UPDATE_RCD_PARAMS := explicit init start/stop
    parameters (don't stop at 0 and 6)
  - debian/init.d: init script header adapted to stop rule
  - debian/keepalived.postinst: Remove shutdown and reboot links
* Build with libnl3, thanks to a patch from Marc - A. Dahlhaus.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Makefile for libipvs
 
2
 
 
3
CC              = gcc
 
4
CFLAGS          = -g -O2 -g -O2 -Wall  -I/usr/src/linux/include -DLIBIPVS_USE_NL -Wall -Wunused
 
5
 
 
6
export OBJS += libipvs.a
 
7
 
 
8
STATIC_LIB      = libipvs.a
 
9
 
 
10
all:            $(STATIC_LIB)
 
11
 
 
12
$(STATIC_LIB):  libipvs.o ip_vs_nl_policy.o
 
13
                ar rv $@ $^
 
14
                rm $^
 
15
 
 
16
%.o:            %.c
 
17
                $(CC) $(CFLAGS) -c -o $@ $<
 
18
 
 
19
clean:
 
20
                rm -f *.[ao] *~ *.orig *.rej core
 
21
 
 
22
distclean:      clean