~ubuntu-branches/ubuntu/quantal/zaptel/quantal

« back to all changes in this revision

Viewing changes to ppp/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Tzafrir Cohen
  • Date: 2008-08-28 22:58:23 UTC
  • mfrom: (11.1.11 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080828225823-r8bdunirm8hmc76m
Tags: 1:1.4.11~dfsg-2
* Patch xpp_fxs_power: Fixed an issue with hook detection of the Astribank
  FXS module.
* Don't fail init.d script if fxotune fails. This may happen if running it
  when Asterisk is already running.
* Bump standards version to 3.8.0.0 .
* Ignore false lintian warning ("m-a a-i" has "a a").
* Patch xpp_fxo_cid_always: do always pass PCM if that's what the user
  asked.
* Patch vzaphfc_proc_root_dir: fix vzaphfc on 2.6.26.
* Patch wcte12xp_flags: Proper time for irq save flags.
* Patch headers_2627: Fix location of semaphore.h for 2.6.27 .
* Patch xpp_fxs_dtmf_leak: Don't play DTMFs to the wrong channel.
* Patch wctdm_fix_alarm: Fix sending channel alarms.
* Patch device_class_2626: Fix building 2.6.26 (Closes: #493397).
* Using dh_lintian for lintian overrides, hence requiring debhelper 6.0.7.
* Lintian: we know we have direct changes. Too bad we're half-upstream :-(
* Fix doc-base section names. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#COPTS  = -O2 -g
 
2
 
 
3
-include ../makeopts
 
4
 
 
5
CFLAGS          += $(COPTS) -I.. -fPIC
 
6
LDFLAGS         += -shared
 
7
 
 
8
INCLUDE_DIR     = $(includedir)/pppd
 
9
 
 
10
LIBDIR          = $(libdir)/pppd/$(PPPD_VERSION)
 
11
 
 
12
PLUGINS := zaptel.so
 
13
 
 
14
all:    $(PLUGINS)
 
15
 
 
16
%.so: %.c
 
17
ifeq (,$(PPPD_VERSION))
 
18
        @echo "pppd version not found (in patchlevel.h)."
 
19
        @echo "Install ppp source/headers and/or ./configure --with-ppp=PATH."
 
20
        exit 1
 
21
endif
 
22
        $(CC) -o $@ $(CFLAGS) $^ $(LDFLAGS) 
 
23
 
 
24
install: $(PLUGINS)
 
25
        $(INSTALL) -d $(DESTDIR)$(LIBDIR)
 
26
        $(INSTALL) -m 0644 $? $(DESTDIR)$(LIBDIR)
 
27
 
 
28
clean:
 
29
        rm -f *.o *.so *.a