X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2FMakefile.in;h=882094e6c72645d5f0d9df3bf0addf8b0b1bf00e;hp=506c559782adf0b0d8682ed2e85a5aef225671dc;hb=6c42153ad9362cc676ea66563bf400d7511b3b68;hpb=859187428420e9089e91a45f3a833135172d1822 diff --git a/sbr/Makefile.in b/sbr/Makefile.in index 506c559..882094e 100644 --- a/sbr/Makefile.in +++ b/sbr/Makefile.in @@ -10,9 +10,18 @@ top_srcdir = @top_srcdir@ srcdir = @srcdir@ VPATH = @srcdir@ +prefix = @prefix@ +exec_prefix = @exec_prefix@ +bindir = @bindir@ +libdir = @libdir@ +etcdir = @sysconfdir@ + CC = @CC@ CFLAGS = @CFLAGS@ DEFS = @DEFS@ +KRB4_INCLUDES = @KRB4_INCLUDES@ # for mts +HESIOD_INCLUDES = @HESIOD_INCLUDES@ # for mts +CONFIGDEFS = -DNMHETCDIR='"$(etcdir)"' -DMAILSPOOL='"$(mailspool)"' -DSENDMAILPATH='"$(sendmailpath)"' INCLUDES = -I.. -I. -I$(top_srcdir) LEX = @LEX@ @@ -25,8 +34,13 @@ GNU_LIBTOOL = @GNU_LIBTOOL@ LINT = @LINT@ LINTFLAGS = @LINTFLAGS@ +mailspool = @mailspool@ +sendmailpath = @sendmailpath@ COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS) +COMPILE2 = $(CC) -c $(DEFS) $(CONFIGDEFS) $(INCLUDES) $(KRB4_INCLUDES) $(HESIOD_INCLUDES) $(CFLAGS) + + .SUFFIXES: .SUFFIXES: .c .o @@ -39,7 +53,7 @@ SIGNAL_H = @SIGNAL_H@ # source for library functions SRCS = add.c addrsbr.c ambigsw.c atooi.c brkstring.c \ - check_charset.c closefds.c concat.c context_del.c \ + check_charset.c client.c closefds.c concat.c context_del.c \ context_find.c context_foil.c context_read.c \ context_replace.c context_save.c copy.c \ copyip.c cpydata.c cpydgst.c discard.c done.c dtime.c dtimep.c \ @@ -51,7 +65,7 @@ SRCS = add.c addrsbr.c ambigsw.c atooi.c brkstring.c \ fmt_scan.c lock_file.c m_atoi.c m_backup.c \ m_convert.c m_draft.c m_getfld.c m_gmprot.c \ m_maildir.c m_name.c m_scratch.c m_tmpfil.c \ - makedir.c path.c peekc.c pidwait.c pidstatus.c \ + makedir.c mts.c path.c peekc.c pidwait.c pidstatus.c \ print_help.c print_sw.c print_version.c push.c \ putenv.c pwd.c refile.c remdir.c r1bindex.c \ readconfig.c ruserpass.c seq_add.c seq_bits.c \ @@ -65,7 +79,7 @@ SRCS = add.c addrsbr.c ambigsw.c atooi.c brkstring.c \ # source for compatibility functions COMPAT = snprintf.c strdup.c strerror.c -OBJS = $(patsubst %.c,%.o,$(SRCS)) +OBJS = $(SRCS:.c=.o) # auxiliary files AUX = Makefile.in sigmsg.awk dtimep.lex @@ -87,6 +101,12 @@ lint: sigmsg.h dtimep.c: dtimep.lex $(LEX) -nt $< > $@ +client.o: client.c + $(COMPILE2) $< + +mts.o: mts.c + $(COMPILE2) $< + pidstatus.o: sigmsg.h libmh.a: $(OBJS)