diff options
| author | bwarsaw | 1999-07-12 20:31:07 +0000 |
|---|---|---|
| committer | bwarsaw | 1999-07-12 20:31:07 +0000 |
| commit | 7cc29c771af5572fb5c260300877839c8daaaf8a (patch) | |
| tree | 4ddbbae45ed6658685b80c81aa5bb364e554cc2d /src | |
| parent | e17fd6ce6b679d7a979cf9fe7cf1cf7ef7a51fae (diff) | |
| download | mailman-7cc29c771af5572fb5c260300877839c8daaaf8a.tar.gz mailman-7cc29c771af5572fb5c260300877839c8daaaf8a.tar.zst mailman-7cc29c771af5572fb5c260300877839c8daaaf8a.zip | |
Add magic to include our own vsnprintf if the OS is missing one.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Makefile.in | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/Makefile.in b/src/Makefile.in index 8eab9a225..9894c0e40 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -76,6 +76,8 @@ INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE) CGI_PROGS= admin admindb archives edithtml options \ listinfo subscribe roster handle_opts private +COMMONOBJS= common.o vsnprintf.o + MAIL_PROGS= wrapper #ALIAS_PROGS= addaliases @@ -91,18 +93,21 @@ PROGRAMS= $(CGI_PROGS) $(MAIL_PROGS) $(ALIAS_PROGS) all: $(PROGRAMS) -wrapper: $(srcdir)/mail-wrapper.c common.o - $(CC) -I. $(MAIL_FLAGS) $(CFLAGS) common.o -o $@ $(srcdir)/mail-wrapper.c +wrapper: $(srcdir)/mail-wrapper.c $(COMMONOBJS) + $(CC) -I. $(MAIL_FLAGS) $(CFLAGS) $(COMMONOBJS) -o $@ $(srcdir)/mail-wrapper.c -#addaliases: $(srcdir)/alias-wrapper.c common.o +#addaliases: $(srcdir)/alias-wrapper.c $(COMMONOBJS) # $(CC) -I. $(ALIAS_FLAGS) $(CFLAGS) -o $@ $(srcdir)/alias-wrapper.c -$(CGI_PROGS): $(srcdir)/cgi-wrapper.c common.o - $(CC) -DSCRIPT="\"$@\"" -I. $(CGI_FLAGS) $(CFLAGS) common.o -o $@ $(srcdir)/cgi-wrapper.c +$(CGI_PROGS): $(srcdir)/cgi-wrapper.c $(COMMONOBJS) + $(CC) -DSCRIPT="\"$@\"" -I. $(CGI_FLAGS) $(CFLAGS) $(COMMONOBJS) -o $@ $(srcdir)/cgi-wrapper.c common.o: $(srcdir)/common.c $(srcdir)/common.h $(srcdir)/Makefile $(CC) -c -I. $(COMMON_FLAGS) $(CFLAGS) $(srcdir)/common.c +vsnprintf.o: $(srcdir)/vsnprintf.c $(srcdir)/Makefile + $(CC) -c -I. $(COMMON_FLAGS) $(CFLAGS) $(srcdir)/vsnprintf.c + install: all for f in $(CGI_PROGS); \ do \ |
