~ubuntu-branches/ubuntu/saucy/openvpn/saucy-proposed

« back to all changes in this revision

Viewing changes to plugin/auth-pam/Makefile

  • Committer: Package Import Robot
  • Author(s): Stéphane Graber
  • Date: 2012-03-30 13:19:09 UTC
  • mfrom: (10.2.20 sid)
  • Revision ID: package-import@ubuntu.com-20120330131909-f9c2sqz2qhy0m2b6
Tags: 2.2.1-8ubuntu1
* Merge at Simon Deziel's request to build with PIE.
* Merge from Debian unstable. Remaining changes:
  + debian/openvpn.init.d:
    - Do not use start-stop-daemon and </dev/null to avoid blocking boot.
    - Show per-VPN result messages.
    - Add "--script-security 2" by default for backwards compatabliity.
  + debian/control: Add lsb-base >= 3.2-14 to allow status_of_proc()

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
CC_FLAGS=-O2 -Wall -DDLOPEN_PAM=$(DLOPEN_PAM)
19
19
 
20
20
openvpn-auth-pam.so : auth-pam.o pamdl.o
21
 
        gcc ${CC_FLAGS} -fPIC -shared -Wl,-soname,openvpn-auth-pam.so -o openvpn-auth-pam.so auth-pam.o pamdl.o -lc $(LIBPAM)
 
21
        gcc ${CFLAGS} ${CC_FLAGS} ${LDFLAGS} -fPIC -shared -Wl,-soname,openvpn-auth-pam.so -o openvpn-auth-pam.so auth-pam.o pamdl.o -lc $(LIBPAM)
22
22
 
23
23
auth-pam.o : auth-pam.c pamdl.h
24
 
        gcc ${CC_FLAGS} -fPIC -c ${INCLUDE} auth-pam.c
 
24
        gcc ${CFLAGS} ${CC_FLAGS} ${CPPFLAGS} -fPIC -c ${INCLUDE} auth-pam.c
25
25
 
26
26
pamdl.o : pamdl.c pamdl.h
27
 
        gcc ${CC_FLAGS} -fPIC -c ${INCLUDE} pamdl.c
 
27
        gcc ${CFLAGS} ${CC_FLAGS} ${CPPFLAGS} -fPIC -c ${INCLUDE} pamdl.c
28
28
 
29
29
clean :
30
30
        rm -f *.o *.so