From 7f869bf1061a2206424c9436b4d40f4821bef306 Mon Sep 17 00:00:00 2001 From: herbert Date: Fri, 25 Mar 2005 18:09:43 +1100 Subject: Cleaned up src/Makefile.am. --- ChangeLog | 2 ++ src/Makefile.am | 19 ++++++++++++++----- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3d2e0fa..3d4412b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,5 @@ + * Cleaned up src/Makefile.am. + 2005-03-25 Gilles Chanteperdrix * Fixed support for cross-compilation. diff --git a/src/Makefile.am b/src/Makefile.am index b0d909c..1675d9f 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,14 +1,23 @@ # $Id$ -AM_CPPFLAGS = -include $(top_builddir)/config.h AM_YFLAGS = -d -AM_CFLAGS = -g -O2 -Wall -DEFS = \ +COMMON_CFLAGS = -g -O2 -Wall +COMMON_CPPFLAGS = \ + -include $(top_builddir)/config.h \ -DBSD=1 -DSMALL -DSHELL \ -DGLOB_BROKEN -DFNMATCH_BROKEN -DIFS_BROKEN \ -D__COPYRIGHT\(x\)= -D__RCSID\(x\)= -D_DIAGASSERT\(x\)= +AM_CFLAGS = $(COMMON_CFLAGS) +AM_CPPFLAGS = $(COMMON_CPPFLAGS) +AM_CFLAGS_FOR_BUILD = $(COMMON_CFLAGS) +AM_CPPFLAGS_FOR_BUILD = $(COMMON_CPPFLAGS) + +COMPILE_FOR_BUILD = \ + $(CC_FOR_BUILD) $(AM_CPPFLAGS_FOR_BUILD) $(CPPFLAGS_FOR_BUILD) \ + $(AM_CFLAGS_FOR_BUILD) $(CFLAGS_FOR_BUILD) + bin_PROGRAMS = dash dash_CFILES = \ @@ -29,7 +38,7 @@ HELPERS = mkinit mksyntax mknodes mksignames BUILT_SOURCES = arith.h builtins.h nodes.h syntax.h token.h CLEANFILES = \ $(BUILT_SOURCES) $(patsubst %.o,%.c,$(dash_LDADD)) \ - arith.c mkinit mknodes mksignames mksyntax + arith.c $(HELPERS) man_MANS = dash.1 EXTRA_DIST = \ @@ -56,4 +65,4 @@ signames.c: mksignames ./$^ $(HELPERS): %: %.c - $(CC_FOR_BUILD) -o $@ $< + $(COMPILE_FOR_BUILD) -o $@ $< -- cgit 1.4.1 ' value=''/>
Commit message (Expand)Author
2019-02-28Add Station ElevenJune McEnroe
2019-02-27Use getsubopt(3) to parse -o options in hiJune McEnroe
2019-02-27Add type and ulimit shell keywordsJune McEnroe
2019-02-27Fix make target pattern whitespace in hiJune McEnroe
2019-02-27Delete extraneous <pre> in html.shJune McEnroe
2019-02-24Use setopt in upJune McEnroe
2019-02-24Add setoptJune McEnroe
2019-02-20Match make targets as TagJune McEnroe
2019-02-20Use $PWD in html.sh to pass absolute path to manJune McEnroe
2019-02-20Factor out html.sh and produce html for all sourcesJune McEnroe
2019-02-20Add Dirk Gently's Holistic Detective AgencyJune McEnroe
2019-02-20Move /opt/pkg after /usr in PATHJune McEnroe
2019-02-20Set man_hard_wrap in nvimJune McEnroe
2019-02-18Use hi -o anchor in upJune McEnroe
2019-02-18Don't match nested parentheses in Tag for CJune McEnroe
2019-02-18Match whitespace between * [] {}June McEnroe
2019-02-18Fix function-like #define regexJune McEnroe
2019-02-18Match Tag in RustJune McEnroe
2019-02-18Match sh functions as TagJune McEnroe
2019-02-18Match Sh and Ss as Tag in mdocJune McEnroe
2019-02-18Match statics and typedefs as TagJune McEnroe
2019-02-18Clean up htmlHeaderJune McEnroe
2019-02-18Remove hi line numberingJune McEnroe
2019-02-18Add Tag class to hiJune McEnroe
2019-02-17Generate HTML with hi -n -f html -o anchorJune McEnroe
2019-02-17Add hi -f html -o anchor for line number linksJune McEnroe
2019-02-17Simplify temp trap in upJune McEnroe
2019-02-17Add line numbers to hiJune McEnroe
2019-02-17Always split spans after newlinesJune McEnroe
2019-02-15Color format specifiers light cyan in vimJune McEnroe
2019-02-15Highlight Interp as yellowJune McEnroe
2019-02-15Highlight strings in sh command substitutionsJune McEnroe
2019-02-15Add nmap gpJune McEnroe
2019-02-14Avoid newline when copying URL to pasteboardJune McEnroe
2019-02-13Add forgotten "sixth" book of H2G2June McEnroe