X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2FMakefile.am;fp=src%2FMakefile.am;h=a5a9692238cd5d19fd7cf9c2c149be3babc3dda8;hp=ebd52abca6b24fe5050b9365682eb4890f7630e5;hb=c40c99592b9512049e85323c59432a380239151f;hpb=4437ac339e892e4ad80e44a87d02316afe9aa25e diff --git a/src/Makefile.am b/src/Makefile.am index ebd52abc..a5a96922 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -17,8 +17,6 @@ tincd_SOURCES = \ fake-gai-errnos.h \ fake-getaddrinfo.c fake-getaddrinfo.h \ fake-getnameinfo.c fake-getnameinfo.h \ - getopt.c getopt.h \ - getopt1.c \ graph.c graph.h \ ipv4.h \ ipv6.h \ @@ -49,6 +47,12 @@ tincd_SOURCES = \ xalloc.h \ xmalloc.c +if !GETOPT +tincd_SOURCES += \ + getopt.c getopt.h \ + getopt1.c +endif + if LINUX tincd_SOURCES += linux/device.c endif