~ubuntu-branches/ubuntu/quantal/wvdial/quantal

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2005-05-23 22:26:48 UTC
  • mfrom: (2 sarge)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20050523222648-kgeri72rgviuydtf
Tags: 1.54.0-1.1ubuntu1
Syncronise with Debian. Ubuntu 9706.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
ifeq ($(TOPDIR),)
2
2
  TOPDIR=.
3
 
  PKGINC=/usr/include/wvstreams /usr/local/include/wvstreams
 
3
  PKGINC=$(shell pkg-config --cflags libwvstreams)
4
4
  LIBS := $(LIBS) \
5
5
                $(shell $(CC) -lsupc++ 2>&1 | grep -q "undefined reference" \
6
6
                        && echo " -lsupc++")
13
13
 
14
14
include $(TOPDIR)/wvrules.mk
15
15
 
16
 
XPATH=.. ../wvstreams/include $(PKGINC)
 
16
XPATH=$(PKGINC)
17
17
 
18
18
default: all papchaptest
19
19
all: wvdial.a wvdial wvdialconf pppmon
21
21
wvdial.a: wvdialer.o wvdialtext.o wvmodemscan.o wvpapchap.o wvdialbrain.o \
22
22
        wvdialmon.o
23
23
 
24
 
LIBS += -L../wvstreams -lwvutils -lwvstreams
 
24
LIBS += -lwvutils -lwvstreams
25
25
 
26
26
wvdial wvdialconf papchaptest pppmon: wvdial.a
27
27