diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2011-03-07 20:05:45 -0500 |
---|---|---|
committer | Gaetan Nadon <memsize@videotron.ca> | 2011-06-15 18:40:18 -0400 |
commit | ab689e1a711bbbdfcd6d3a8d2edebbc378ebccb7 (patch) | |
tree | a5504c12b7a10ac224bf4a1cc4e1e0732d1ab301 /src | |
parent | f048770b021d92780c754257c9c1efa7a769c69c (diff) |
config: layout the C flags for better readability
Group pre-processor flags under AM_CPPFLAGS
Might as well do the rest of the file.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 85 |
1 files changed, 44 insertions, 41 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index e208a89..9e5312c 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -27,55 +27,58 @@ bin_PROGRAMS = twm rcdir = ${datadir}/X11/twm dist_rc_DATA = system.twmrc -AM_CFLAGS = $(TWM_CFLAGS) -DXVENDORNAME=\"The\ X.Org\ Foundation\" -DXORG_RELEASE=\"Release\ $(VERSION)\" -AM_CFLAGS += -DSYSTEM_INIT_FILE=\"${datadir}/X11/twm/system.twmrc\" +AM_CPPFLAGS = \ + -DXVENDORNAME=\"The\ X.Org\ Foundation\" \ + -DXORG_RELEASE=\"Release\ $(VERSION)\" \ + -DSYSTEM_INIT_FILE=\"${datadir}/X11/twm/system.twmrc\" +AM_CFLAGS = $(TWM_CFLAGS) twm_LDADD = $(TWM_LIBS) -twm_SOURCES = \ - add_window.c \ - add_window.h \ - cursor.c \ - deftwmrc.c \ - events.c \ - events.h \ - gc.c \ - gc.h \ - iconmgr.c \ - iconmgr.h \ - icons.c \ - icons.h \ - list.c \ - list.h \ - menus.c \ - menus.h \ - parse.c \ - parse.h \ - resize.c \ - resize.h \ - screen.h \ - session.c \ - session.h \ - twm.c \ - twm.h \ - util.c \ - util.h \ - version.c \ - version.h \ - gram.y \ +twm_SOURCES = \ + add_window.c \ + add_window.h \ + cursor.c \ + deftwmrc.c \ + events.c \ + events.h \ + gc.c \ + gc.h \ + iconmgr.c \ + iconmgr.h \ + icons.c \ + icons.h \ + list.c \ + list.h \ + menus.c \ + menus.h \ + parse.c \ + parse.h \ + resize.c \ + resize.h \ + screen.h \ + session.c \ + session.h \ + twm.c \ + twm.h \ + util.c \ + util.h \ + version.c \ + version.h \ + gram.y \ lex.l BUILT_SOURCES = gram.h deftwmrc.c deftwmrc.c: system.twmrc - $(AM_V_at)rm -f $@ ; \ - echo '/* ' >>$@ ; \ - echo ' * This file is generated automatically from the default' >>$@ ; \ - echo ' * twm bindings file system.twmrc by the twm Makefile.' >>$@ ; \ - echo ' */' >>$@ ; \ - echo '' >>$@ ; \ - echo 'unsigned char *defTwmrc[] = {' >>$@ ; \ - $(SED) -f ${srcdir}/deftwmrc.sed < ${srcdir}/system.twmrc >>$@ ; \ + $(AM_V_at)rm -f $@ ; \ + echo '/* ' >>$@ ; \ + echo ' * This file is generated automatically from the default' >>$@ ; \ + echo ' * twm bindings file system.twmrc by the twm Makefile.' >>$@ ; \ + echo ' */' >>$@ ; \ + echo '' >>$@ ; \ + echo 'unsigned char *defTwmrc[] = {' >>$@ ; \ + $(SED) -f ${srcdir}/deftwmrc.sed < ${srcdir}/system.twmrc >>$@ ; \ echo ' (unsigned char *) 0 };' >>$@ EXTRA_DIST = deftwmrc.sed siconify.bm |