blob: 7576cc81ce0643448db4f7f1223d0bbe48454283 [file] [log] [blame]
paul718e3742002-12-13 20:15:29 +00001## Process this file with automake to produce Makefile.in.
2
3INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib
4DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\"
5
paul1b5d0192003-03-17 23:54:15 +00006lib_LIBRARIES = libzebra.a
paul718e3742002-12-13 20:15:29 +00007
8libzebra_a_SOURCES = \
9 version.c network.c pid_output.c getopt.c getopt1.c daemon.c \
10 print_version.c checksum.c vector.c linklist.c vty.c command.c \
11 sockunion.c prefix.c thread.c if.c memory.c buffer.c table.c hash.c \
12 filter.c routemap.c distribute.c stream.c str.c log.c plist.c \
paul41ce9262003-04-19 15:54:03 +000013 zclient.c sockopt.c smux.c md5.c keychain.c
paul718e3742002-12-13 20:15:29 +000014
15libzebra_a_DEPENDENCIES = @LIB_REGEX@
16
17libzebra_a_LIBADD = @LIB_REGEX@
18
19noinst_HEADERS = \
20 buffer.h command.h filter.h getopt.h hash.h if.h linklist.h log.h \
21 memory.h network.h prefix.h routemap.h distribute.h sockunion.h \
22 str.h stream.h table.h thread.h vector.h version.h vty.h zebra.h \
paul41ce9262003-04-19 15:54:03 +000023 plist.h zclient.h sockopt.h smux.h md5-gnu.h keychain.h
paul718e3742002-12-13 20:15:29 +000024
25EXTRA_DIST = regex.c regex-gnu.h
26
27version.c: Makefile
28 echo '' >version.c
29 echo 'char *host_name = "$(host_alias)";' >>version.c