X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fcontrib%2FMakefile.ad;fp=lib%2Fcontrib%2FMakefile.am;h=60055fd12d60d2400105d34a0d18fbf549fadb6c;hb=d1e71f42379e8b5cd0748a7aeae8561b02cfe53d;hp=74faaf72f5c3c2496684e4d6f0337fa34ea2aab5;hpb=34bb35a2496ec0402bb4d6c2546147cd37b27007;p=crypto.git diff --git a/lib/contrib/Makefile.am b/lib/contrib/Makefile.ad similarity index 72% rename from lib/contrib/Makefile.am rename to lib/contrib/Makefile.ad index 74faaf72..60055fd1 100644 --- a/lib/contrib/Makefile.am +++ b/lib/contrib/Makefile.ad @@ -19,25 +19,33 @@ AUTOMAKE_OPTIONS = 1.0 no-dependencies foreign noinst_LTLIBRARIES = libcontrib.la -if HAVE_GETOPT_LONG -GETOPT = -else -GETOPT = getopt.c getopt1.c -endif - if HAVE_REGEX REGEX = else -REGEX = regex.c +REGEX = regexpr.c endif STRINGPREP = nfkc.c rfc3454.c stringprep.c if SILC_WIN32 -libcontrib_la_SOURCES = $(STRINGPREP) +libcontrib_la_SOURCES = getopti.c $(STRINGPREP) +else +libcontrib_la_SOURCES = getopti.c $(STRINGPREP) $(REGEX) +endif + +#ifdef SILC_DIST_TOOLKIT +if HAVE_REGEX +REGEXH = else -libcontrib_la_SOURCES = $(STRINGPREP) $(GETOPT) $(REGEX) +REGEXH = regexpr.h endif +include_HEADERS = \ + $(REGEXH) \ + getopti.h \ + gunicomp.h \ + gunidecomp.h \ + stringprep.h +#endif SILC_DIST_TOOLKIT EXTRA_DIST = *.c *.h