aboutsummaryrefslogtreecommitdiffstats
path: root/vbistuff/Subdir.mk
blob: 4731da397f904b8ea4b764676440256fa479183f (plain)
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) -s $(TARGETS-vbistuff) $(bindir)

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

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

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

Privacy Policy