Makefile.am 1.29 KB
Newer Older
Jeremy C. Reed's avatar
Jeremy C. Reed committed
1
2
SUBDIRS = . tests

3
4
5
6
AM_CPPFLAGS = -I$(top_builddir)/src/lib -I$(top_srcdir)/ext
if GCC_WERROR_OK
AM_CPPFLAGS += -Werror
endif
Jeremy C. Reed's avatar
Jeremy C. Reed committed
7
8
9
10
11
12
13
14
15

CLEANFILES = *.gcno *.gcda
CLEANFILES += rrclass.h rrtype.h rrparamregistry.cc rdataclass.h rdataclass.cc

# auto-generate by gen-rdatacode.py:
BUILT_SOURCES = rrclass.h rrtype.h rrparamregistry.cc

lib_LTLIBRARIES = libdns.la
libdns_la_SOURCES = buffer.h name.cc name.h messagerenderer.h messagerenderer.cc
16
libdns_la_SOURCES += exceptions.h exceptions.cc
Jeremy C. Reed's avatar
Jeremy C. Reed committed
17
18
19
20
21
22
23
24
libdns_la_SOURCES += rrparamregistry.h rrparamregistry.cc
libdns_la_SOURCES += rrclass.h rrclass.cc rrtype.h rrtype.cc rrttl.h rrttl.cc
libdns_la_SOURCES += rdata.h rdata.cc
libdns_la_SOURCES += rdataclass.h rdataclass.cc
libdns_la_SOURCES += rrset.h rrset.cc
libdns_la_SOURCES += rrsetlist.h rrsetlist.cc
libdns_la_SOURCES += question.h question.cc
libdns_la_SOURCES += message.h message.cc
25
libdns_la_SOURCES += base32.h base32.cc
Jeremy C. Reed's avatar
Jeremy C. Reed committed
26
libdns_la_SOURCES += base64.h base64.cc
27
libdns_la_SOURCES += sha1.h sha1.cc
Jeremy C. Reed's avatar
Jeremy C. Reed committed
28
libdns_la_SOURCES += tsig.h tsig.cc
29
libdns_la_SOURCES += dnssectime.h dnssectime.cc
Jeremy C. Reed's avatar
Jeremy C. Reed committed
30
31
32
33
34
35
36
libdns_la_SOURCES += hex.h hex.cc

rrclass.h: rrclass-placeholder.h
rrtype.h: rrtype-placeholder.h
rrparamregistry.cc: rrparamregistry-placeholder.cc
rrclass.h rrtype.h rrparamregistry.cc rdataclass.h rdataclass.cc: Makefile
	./gen-rdatacode.py