diff options
author | Mark Sapiro <msapiro@value.net> | 2012-03-24 17:41:11 -0700 |
---|---|---|
committer | Mark Sapiro <msapiro@value.net> | 2012-03-24 17:41:11 -0700 |
commit | 279fc1d3953a2ab01934c71219d21ade7ebaff75 (patch) | |
tree | d475a3f981d8c44644166a96f121fd66b58f6bb5 /src | |
parent | ee48c7622aa43f2d2cb25dc198ce2704c2bbecc5 (diff) | |
download | mailman2-279fc1d3953a2ab01934c71219d21ade7ebaff75.tar.gz mailman2-279fc1d3953a2ab01934c71219d21ade7ebaff75.tar.xz mailman2-279fc1d3953a2ab01934c71219d21ade7ebaff75.zip |
Added CPPFLAGS and LDFLAGS to src/Makefile to support their use.
(LP: #637652)
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.in | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/Makefile.in b/src/Makefile.in index 7145cd98..a50e4958 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -1,4 +1,4 @@ -# Copyright (C) 1998-2003 by the Free Software Foundation, Inc. +# Copyright (C) 1998-2012 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -43,6 +43,8 @@ MAILMAN_USER= @MAILMAN_USER@ # Customizable but not set by configure OPT= @OPT@ CFLAGS= @CFLAGS@ $(OPT) $(DEFS) $(LIBS) +CPPFLAGS= @CPPFLAGS@ +LDFLAGS= @LDFLAGS@ CGIDIR= $(exec_prefix)/cgi-bin CGIEXT= @CGIEXT@ MAILDIR= $(exec_prefix)/mail @@ -91,19 +93,19 @@ PROGRAMS= $(CGI_PROGS) $(MAIL_PROGS) $(ALIAS_PROGS) all: $(PROGRAMS) mailman: $(srcdir)/mail-wrapper.c $(COMMONOBJS) - $(CC) -I. $(MAIL_FLAGS) $(CFLAGS) $(COMMONOBJS) -o $@ $(srcdir)/mail-wrapper.c + $(CC) -I. $(MAIL_FLAGS) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(COMMONOBJS) -o $@ $(srcdir)/mail-wrapper.c #addaliases: $(srcdir)/alias-wrapper.c $(COMMONOBJS) -# $(CC) -I. $(ALIAS_FLAGS) $(CFLAGS) -o $@ $(srcdir)/alias-wrapper.c +# $(CC) -I. $(ALIAS_FLAGS) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ $(srcdir)/alias-wrapper.c $(CGI_PROGS): $(srcdir)/cgi-wrapper.c $(COMMONOBJS) - $(CC) -DSCRIPT="\"$@\"" -I. $(CGI_FLAGS) $(CFLAGS) $(COMMONOBJS) -o $@ $(srcdir)/cgi-wrapper.c + $(CC) -DSCRIPT="\"$@\"" -I. $(CGI_FLAGS) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(COMMONOBJS) -o $@ $(srcdir)/cgi-wrapper.c common.o: $(srcdir)/common.c $(srcdir)/common.h Makefile - $(CC) -c -I. $(COMMON_FLAGS) $(CFLAGS) $(srcdir)/common.c + $(CC) -c -I. $(COMMON_FLAGS) $(CFLAGS) $(CPPFLAGS) $(srcdir)/common.c vsnprintf.o: $(srcdir)/vsnprintf.c Makefile - $(CC) -c -I. $(COMMON_FLAGS) $(CFLAGS) $(srcdir)/vsnprintf.c + $(CC) -c -I. $(COMMON_FLAGS) $(CFLAGS) $(CPPFLAGS) $(srcdir)/vsnprintf.c install: all for f in $(CGI_PROGS); \ |