File: Subdir.mk

package info (click to toggle)
xawtv 3.107-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,204 kB
  • sloc: ansic: 46,254; perl: 749; sh: 422; cpp: 184; makefile: 126; xml: 74
file content (44 lines) | stat: -rw-r--r-- 803 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44

# targets to build
TARGETS-vbistuff := \
	vbistuff/ntsc-cc
ifeq ($(FOUND_ZVBI),yes)
TARGETS-vbistuff += \
	vbistuff/alevtd
endif

HTML-alevtd  := \
	vbistuff/alevt.css.h \
	vbistuff/top.html.h \
	vbistuff/bottom.html.h \
	vbistuff/about.html.h

# objects for targets
vbistuff/alevtd: \
	vbistuff/alevtd.o \
	vbistuff/request.o \
	vbistuff/response.o \
	vbistuff/page.o \
	common/vbi-data.o \
	libng/devices.o

vbistuff/ntsc-cc: vbistuff/ntsc-cc.o

# libraries to link
vbistuff/alevtd  : LDLIBS  += $(VBI_LIBS)
vbistuff/ntsc-cc : LDLIBS  += $(ATHENA_LIBS)

# global targets
all:: $(TARGETS-vbistuff)

install::
	$(INSTALL_PROGRAM) $(STRIP_FLAG) $(TARGETS-vbistuff) $(bindir)

clean::
	rm -f $(HTML-alevtd)

distclean::
	rm -f $(TARGETS-vbistuff)

# special dependences
vbistuff/alevtd.o: $(HTML-alevtd)