~ubuntu-branches/ubuntu/saucy/vdr-plugin-live/saucy-proposed

« back to all changes in this revision

Viewing changes to .pc/03_live-0.2.0-fix-INCLUDES.patch/pages/Makefile

  • Committer: Package Import Robot
  • Author(s): Tobias Grimm
  • Date: 2012-01-15 10:22:53 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20120115102253-hixwx4gbcpyhtt2m
Tags: 0.2.0+git20120114-1
* New Upstream Snapshot (commit d2a85a6) (Closes: #654879)
* Dropped 02_timers_colon patch - fixed upstream
* Dropped 04_tntnet-2.0.patch - fixed upstream
* Dropped 01_ipv6.patch - fixed upstream
* Dropped 03_live-0.2.0-fix-INCLUDES.patch - fixed upstream
* Build-depend on libpcre3-dev
* Updated debian/copyright

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
CXX      ?= g++
2
 
AR       ?= ar
3
 
ECPPC    ?= ecppc
4
 
 
5
 
INCLUDES += -I.. -I$(VDRDIR)/include
6
 
 
7
 
### The directory environment:
8
 
 
9
 
VDRDIR   ?= ../../../..
10
 
 
11
 
### The object files (add further files here):
12
 
 
13
 
OBJS    = menu.o recordings.o schedule.o screenshot.o timers.o          \
14
 
          whats_on.o switch_channel.o keypress.o remote.o               \
15
 
          channels_widget.o edit_timer.o error.o pageelems.o tooltip.o  \
16
 
          vlc.o searchtimers.o edit_searchtimer.o searchresults.o       \
17
 
          searchepg.o login.o ibox.o xmlresponse.o play_recording.o     \
18
 
          pause_recording.o stop_recording.o ffw_recording.o            \
19
 
          rwd_recording.o setup.o content.o epginfo.o timerconflicts.o
20
 
 
21
 
### Default rules:
22
 
 
23
 
.PHONY: all clean
24
 
 
25
 
all: libpages.a
26
 
 
27
 
### Implicit rules:
28
 
 
29
 
### tntnet produces some compiler warnings,
30
 
### so we add -Wno-unused-variable -Wno-non-virtual-dtor for nice output ;)
31
 
%.o: %.cpp
32
 
        $(CXX) $(CXXFLAGS) -Wno-unused-variable -Wno-non-virtual-dtor -c $(DEFINES) $(INCLUDES) $<
33
 
 
34
 
%.cpp: %.ecpp
35
 
        $(ECPPC) $(ECPPFLAGS) $(ECPPFLAGS_CPP) $<
36
 
 
37
 
# Dependencies:
38
 
 
39
 
MAKEDEP = $(CXX) -MM -MG
40
 
DEPFILE = .dependencies
41
 
$(DEPFILE): Makefile $(OBJS:%.o=%.cpp) $(OBJS:%.o=%.ecpp)
42
 
        @$(MAKEDEP) $(DEFINES) $(INCLUDES) $(OBJS:%.o=%.cpp) > $@
43
 
 
44
 
ifneq ($(MAKECMDGOALS),clean)
45
 
-include $(DEPFILE)
46
 
endif
47
 
 
48
 
### Targets:
49
 
 
50
 
libpages.a: $(OBJS)
51
 
        $(AR) r $@ $^
52
 
 
53
 
clean:
54
 
        @rm -f *~ *.o core* libpages.a $(OBJS:%.o=%.cpp) $(DEPFILE)