summaryrefslogtreecommitdiff
path: root/src/Makefile.am
Commit message (Collapse)AuthorAge
* Don't install libfl.pc if --disable-libfl.Explorer092017-08-27
|
* Move libfl.pc.in to src subdirectory.Explorer092017-08-27
|
* have libobjs depend on libobjdir (#244)Michael Haubenwallner2017-08-24
|
* build: Delete comments from skeleton file.Demi Obenour2017-05-03
| | | | | | Since the comments in flex.skl are, by hypothesis, not needed in skel.c, we remove them. THis reduces the size of the resulting executable somewhat.
* build: support cross compiling.Alastair Hughes2017-02-23
| | | | | | | | | | | | | Check for cross compiling. If cross compiling, build stage1flex using a custom link command. We also override LDADD since that adds the replacement implementations that are cross compiled, and instead always use the replacement library implementations. We don't use BUILD_OBJEXT and BUILD_EXEEXT since it seems that automake does not support these. Fixes #78.
* build: mv scan.c when building dist.Will Estes2017-02-16
| | | | | | | | | Revert change to copy scan.c when building the distribution archive. Move it instead. This satisfies automake's notions of what should be clean and ensures that the distribution archive contains a just-built copy of scan.c. Fixes #186
* build: don't assume distdir/scan.c is writeableWill Estes2017-02-06
|
* build: Add dist-hook to force remake scan.c.Explorer092017-02-06
| | | | | | | | This will ensure the flex scanner included in release tarball being generated by exactly the flex version to be released. Here's one catch after this change: You may not run "make dist" or "make distdir" if you configure the flex source to be cross-compiled.
* build: respect '--localedir' from configure.Explorer092017-02-06
| | | | | Makefile shouldn't overwrite the 'localedir' variable, because that's what '--localedir' option in 'configure' is for.
* build: Remove "-I$(top_srcdir)/intl" from CPPFLAGS.Explorer092017-02-06
| | | | | | | | | | | | | | | | Revert commit e02c3d27eeb6b53ec82532ab080c23ce26813fd4 ("include the intl/ subdirectory when searching for include files") Flex doesn't come with libintl source code, so inclusion of $(top_srcdir)/intl subdirectory during compiling is unnecessary. This flag seems to be left after "remove intl from dist" (commit 8f45da06adbd7dbcdfdbdd5c20ff4c47fc504f35) without someone cleaning this up. Users who need to build with gettext functionality from libintl would use the '--with-libintl-prefix' configure option.
* build: fix Makefile parse.h dependency clauses.Explorer092017-01-24
| | | | | | | | | | | The current clauses stating "main.c: parse.h" and "yylex.c: parse.h" do not work as expected. Make did not try to build parse.h upon building flex-main.o as it would think main.c exist already and ignore the clause. Fix this by explicitly stating that the .o files depend on parse.h instead. This dependency bug only happens if user builds flex from a checked-out repository.
* build: more BSD make and vpath build fixes.Thomas Klausner2017-01-23
| | | | | | BSD make doesn't like $< with more than one source specified. Additionally, make sure to specify srcdir when referring to source files since vpath builds depend on this.
* build: Fix skel.c generation with BSD makeThomas Klausner2017-01-23
|
* build: Fix 'make indent' targetExplorer092017-01-12
| | | | | | | | | This 'make indent' target has not been working since the directories reorganization in flex 2.6.0. Now make it work again. Note that the current indent profile breaks many styles of existing code. The indent target should not be used until the .indent.pro options are reviewed for desireability.
* build: New configure option '--disable-bootstrap'.Explorer092016-12-29
| | | | | | | | | If configure is run with '--disable-bootstrap', then stage1flex won't be built and stage1scan.c will be generated by sed'ing scan.c. This option is intended to workaround bootstrap bugs rather than to fix the bootstrapping issues which are proving subtler and harder to fix than anyone would like.
* build: "make clean" deletes stage1scan.c, stage1flexExplorer092016-12-29
|
* build: allow building libfl even with --disable-libfl.Explorer092016-12-29
| | | | | | For various reasons, we may wish to build libfl explicitly even when configure has been run with the --disable-libfl option. This is possible, now, via 'make -C src libfl.la'.
* build: Link $(LIBOBJS) from src/ dir, remove libcompat.la.Explorer092016-11-24
| | | | | | The libcompat.la library was small and less friendly to bootstrapping and cross compilation. Now, we will simply link individual object files as needed, which is simpler.
* build: Let stage1flex respect LFLAGSExplorer092016-11-15
|
* build: Add --disable-libfl configure option.Explorer092016-11-14
| | | | | | Disabling libfl is useful when building flex for a cross-toolchain. Fixes: GH-99
* build: no longer build PIC version of libfl.Will Estes2016-10-26
| | | | | | | The PIC version of libfl was not being built correctly. From the lack of bug reports around this problem, we conclude that the PIC version of libfl is not used and so we drop it from the build build targets for flex.
* Support `make indent` for out of source buildsDemi Obenour2016-09-25
|
* Simplify some shell codeDemi Obenour2016-09-25
|
* fix skel.c dependency (missing tables_shared.c) andrlar2016-03-31
| | | | | | polish build rule Also remove references to srcdir since skel.c is no longer mentioned in po/POTFILES.in.
* fix stage1scan.c and stage1scan.l dependencyrlar2016-03-31
| | | | | | | | | | | | | | | git clean -fdx && ./autogen.sh && \ mkdir -p ../build && cd ../build && ../flex/configure && make -j10 failed with: > ../src/stage1flex -o stage1scan.c stage1scan.l > stage1flex: can't open stage1scan.l Note: stage1scan.c is not necessairy in the "make dist" generated tar.gz file. stage1flex will be build from scan.c (which is distributed), and this will then generate stage1scan.c from scan.l
* configure option `--enable-warnings' and `WARNINGFLAGS'rlar2016-03-31
| | | | | | | | | | | `WARNINGFLAGS' can be passed when invoking `configure' and when invoking `make' if configure switch `--enable-warnings' was given then default to something useful if we have `GCC' `WARNINGFLAGS' is not used when compiling `stage1flex' to avoid unnecessary clutter
* build: simplified dependency tracking so parallel make runs succeedRobert.Larice Robert Larice2016-03-29
|
* Linked flex binary against libintl, not libfl.OBATA Akio2016-01-08
| | | | Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
* Built flex with itself.Will Estes2015-12-07
| | | | | | | | | | Changes in scan.l need to be built into flex with the same version of flex in some cases. Since this build requirement is minimal, we simply bootstrap flex unconditionally. We intentionally exclude from version control the bootstrap artifacts as the extra copy of the lexer, the intermediate scanner and the bootstrap executable are not of interest.
* Generated skel.c explicitly in srcdir.Akim Demaille2015-12-04
| | | | | | Rewrote the target for skel.c to explicitly mention the srcdir. This should help when building flex from a directory outside the flex tree. Spread the rule out over several lines to enhance readability.
* Cleaned up BUILT_SOURCES list.Will Estes2015-11-29
| | | | Removed reference to skel.c as a built source since other make rules cover this case.
* Sorted file names in flex_SOURCESWill Estes2015-11-29
|
* Supplied versioning information in flex libraries.lukeallardyce2015-11-13
| | | | Resolves sourceforge bug #182. On OSX, and possibly other platforms, building the libfl libraries without versioning information caused a build failures.
* Cleaned more generated sources.Mightyjo2015-11-08
| | | | | | | Added skel.c explicitly to MAINTAINERCLEANFILES in src/Makefile.am. Added a bunch of files to built_SOURCES in tests/Makefile.am so that the suite is easier to clean up.
* move m4 make variable to src/Makefile.am.Will Estes2014-02-18
| | | | | | This prevents an error when building skel.c caused by the $(m4) make variable not being defined. Particularly nasty since skel.c would still be created, thus causing make to think skel.c was up to date.
* move flex program sources into src/ directoryWill Estes2014-02-16
The *.[chly] sources are now in the src directory. This implies a bunch of changes in Makefile.am and friends to account for the new location. The .gitignore files are now more local to places where various object files and generated source files occur.