aboutsummaryrefslogtreecommitdiff
path: root/lib/Makefile.am
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-09-15 07:28:04 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-09-15 07:28:04 +0000
commitf71b3f48a16e5d62079ad013adb2b96560a1c1fe (patch)
tree621763faacc72fd8b29f6902079e44371f8d4eed /lib/Makefile.am
parentaa8dd932c122ce90baab931a6e3d3b3def62c973 (diff)
Replaced the former date parser with a rewrite. No more yacc/bison needed.
Diffstat (limited to 'lib/Makefile.am')
-rw-r--r--lib/Makefile.am11
1 files changed, 3 insertions, 8 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index a5579352d..d7f9f7d44 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -24,7 +24,7 @@ AUTOMAKE_OPTIONS = foreign nostdinc
DSP = curllib.dsp
-EXTRA_DIST = getdate.y Makefile.b32 Makefile.m32 \
+EXTRA_DIST = Makefile.b32 Makefile.m32 \
Makefile.vc6 Makefile.riscos libcurl.def $(DSP) curllib.dsw \
config-vms.h config-win32.h config-riscos.h config-mac.h config.h.in \
ca-bundle.crt README.encoding README.memoryleak README.ares \
@@ -33,7 +33,7 @@ EXTRA_DIST = getdate.y Makefile.b32 Makefile.m32 \
makefile.amiga Makefile.netware nwlib.c libcurl.imp \
msvcproj.head msvcproj.foot
-CLEANFILES = $(DSP) getdate.c
+CLEANFILES = $(DSP)
lib_LTLIBRARIES = libcurl.la
@@ -93,12 +93,7 @@ libcurl_la_SOURCES = $(CSOURCES) $(HHEADERS)
WIN32SOURCES = $(CSOURCES) libcurl.def
WIN32HEADERS = $(HHEADERS) config-win32.h
-BUILT_SOURCES = $(srcdir)/getdate.c $(top_builddir)/lib/ca-bundle.h
-
-# Say $(srcdir), so GNU make does not report an ambiguity with the .y.c rule.
-$(srcdir)/getdate.c: getdate.y
- cd $(srcdir) && $(YACC) $(YFLAGS) getdate.y && \
- sed -e 's:YYSTYPE yylval;:YYSTYPE yylval = {0}; /* post-bison fix */:' < y.tab.c > getdate.c && rm -f y.tab.c
+BUILT_SOURCES = $(top_builddir)/lib/ca-bundle.h
$(top_builddir)/lib/ca-bundle.h: Makefile.in Makefile
@if test -f $@; then \