Skip to content
Snippets Groups Projects
Commit b4c2ca80 authored by Lev Walkin's avatar Lev Walkin
Browse files

do not recompile .c files from .y,.l

parent 94b765a1
No related branches found
No related tags found
No related merge requests found
...@@ -468,7 +468,7 @@ distdir: $(DISTFILES) ...@@ -468,7 +468,7 @@ distdir: $(DISTFILES)
|| exit 1; \ || exit 1; \
fi; \ fi; \
done done
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ -find $(distdir) -type d ! -perm -755 -exec chmod u+rwx,go+rx {} \; -o \
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
......
...@@ -8,7 +8,7 @@ noinst_LTLIBRARIES = libasn1parser.la ...@@ -8,7 +8,7 @@ noinst_LTLIBRARIES = libasn1parser.la
libasn1parser_la_LDFLAGS = -all-static libasn1parser_la_LDFLAGS = -all-static
libasn1parser_la_SOURCES = \ libasn1parser_la_SOURCES = \
asn1parser.c asn1parser.h \ asn1parser.c asn1parser.h \
asn1p_y.y asn1p_l.l \ asn1p_y.c asn1cp_y.h asn1p_l.c \
asn1p_module.c asn1p_module.h \ asn1p_module.c asn1p_module.h \
asn1p_oid.c asn1p_oid.h \ asn1p_oid.c asn1p_oid.h \
asn1p_value.c asn1p_value.h \ asn1p_value.c asn1p_value.h \
......
...@@ -33,8 +33,7 @@ POST_UNINSTALL = : ...@@ -33,8 +33,7 @@ POST_UNINSTALL = :
build_triplet = @build@ build_triplet = @build@
host_triplet = @host@ host_triplet = @host@
subdir = libasn1parser subdir = libasn1parser
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in asn1p_l.c \ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
asn1p_y.c asn1p_y.h
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
...@@ -67,13 +66,6 @@ CCLD = $(CC) ...@@ -67,13 +66,6 @@ CCLD = $(CC)
LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
$(LDFLAGS) -o $@ $(LDFLAGS) -o $@
LEXCOMPILE = $(LEX) $(LFLAGS) $(AM_LFLAGS)
LTLEXCOMPILE = $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
--mode=compile $(LEX) $(LFLAGS) $(AM_LFLAGS)
YLWRAP = $(top_srcdir)/ylwrap
YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS)
LTYACCCOMPILE = $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
--mode=compile $(YACC) $(YFLAGS) $(AM_YFLAGS)
SOURCES = $(libasn1parser_la_SOURCES) SOURCES = $(libasn1parser_la_SOURCES)
DIST_SOURCES = $(libasn1parser_la_SOURCES) DIST_SOURCES = $(libasn1parser_la_SOURCES)
ETAGS = etags ETAGS = etags
...@@ -200,7 +192,7 @@ noinst_LTLIBRARIES = libasn1parser.la ...@@ -200,7 +192,7 @@ noinst_LTLIBRARIES = libasn1parser.la
libasn1parser_la_LDFLAGS = -all-static libasn1parser_la_LDFLAGS = -all-static
libasn1parser_la_SOURCES = \ libasn1parser_la_SOURCES = \
asn1parser.c asn1parser.h \ asn1parser.c asn1parser.h \
asn1p_y.y asn1p_l.l \ asn1p_y.c asn1cp_y.h asn1p_l.c \
asn1p_module.c asn1p_module.h \ asn1p_module.c asn1p_module.h \
asn1p_oid.c asn1p_oid.h \ asn1p_oid.c asn1p_oid.h \
asn1p_value.c asn1p_value.h \ asn1p_value.c asn1p_value.h \
...@@ -218,7 +210,7 @@ EXTRA_DIST = expr-h.pl ...@@ -218,7 +210,7 @@ EXTRA_DIST = expr-h.pl
all: all-am all: all-am
.SUFFIXES: .SUFFIXES:
.SUFFIXES: .c .l .lo .o .obj .y .SUFFIXES: .c .lo .o .obj
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \ @for dep in $?; do \
case '$(am__configure_deps)' in \ case '$(am__configure_deps)' in \
...@@ -257,11 +249,6 @@ clean-noinstLTLIBRARIES: ...@@ -257,11 +249,6 @@ clean-noinstLTLIBRARIES:
echo "rm -f \"$${dir}/so_locations\""; \ echo "rm -f \"$${dir}/so_locations\""; \
rm -f "$${dir}/so_locations"; \ rm -f "$${dir}/so_locations"; \
done done
asn1p_y.h: asn1p_y.c
@if test ! -f $@; then \
rm -f asn1p_y.c; \
$(MAKE) $(AM_MAKEFLAGS) asn1p_y.c; \
else :; fi
libasn1parser.la: $(libasn1parser_la_OBJECTS) $(libasn1parser_la_DEPENDENCIES) libasn1parser.la: $(libasn1parser_la_OBJECTS) $(libasn1parser_la_DEPENDENCIES)
$(libasn1parser_la_LINK) $(libasn1parser_la_OBJECTS) $(libasn1parser_la_LIBADD) $(LIBS) $(libasn1parser_la_LINK) $(libasn1parser_la_OBJECTS) $(libasn1parser_la_LIBADD) $(LIBS)
...@@ -305,12 +292,6 @@ distclean-compile: ...@@ -305,12 +292,6 @@ distclean-compile:
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
.l.c:
$(am__skiplex) $(SHELL) $(YLWRAP) $< $(LEX_OUTPUT_ROOT).c $@ -- $(LEXCOMPILE)
.y.c:
$(am__skipyacc) $(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h $*.h y.output $*.output -- $(YACCCOMPILE)
mostlyclean-libtool: mostlyclean-libtool:
-rm -f *.lo -rm -f *.lo
...@@ -419,9 +400,6 @@ distclean-generic: ...@@ -419,9 +400,6 @@ distclean-generic:
maintainer-clean-generic: maintainer-clean-generic:
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild." @echo "it deletes files that may require special tools to rebuild."
-rm -f asn1p_l.c
-rm -f asn1p_y.c
-rm -f asn1p_y.h
clean: clean-am clean: clean-am
clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \ clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment