X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2FMakefile.in;h=c9494693984b824e92699c6f1c151a8b4bf1d316;hb=13ae9ba066e6b8c114daa6714895a56816465f49;hp=83af14186346a7e79a893753074b668f35f62d02;hpb=164be8e5e8b40ce4572281be26d423a9c9d595f3;p=mmh diff --git a/sbr/Makefile.in b/sbr/Makefile.in index 83af141..c949469 100644 --- a/sbr/Makefile.in +++ b/sbr/Makefile.in @@ -16,9 +16,10 @@ etcdir = @sysconfdir@ CC = @CC@ CFLAGS = @CFLAGS@ +DISABLE_UNUSED_MACROS_WARNING = @DISABLE_UNUSED_MACROS_WARNING@ DEFS = @DEFS@ CONFIGDEFS = -DNMHETCDIR='"$(etcdir)"' -DMAILSPOOL='"$(mailspool)"' -DSENDMAILPATH='"$(sendmailpath)"' -INCLUDES = -I.. -I. -I$(top_srcdir) @CPPFLAGS@ +INCLUDES = -I. -I$(top_srcdir) @CPPFLAGS@ LEX = @LEX@ AWK = @AWK@ @@ -39,7 +40,7 @@ COMPILE2 = $(CC) -c $(DEFS) $(CONFIGDEFS) $(INCLUDES) $(CFLAGS) .SUFFIXES: -.SUFFIXES: .c .o +.SUFFIXES: .c .o .lex .c.o: $(COMPILE) $< @@ -97,8 +98,9 @@ lint: sigmsg.h # some lexes will only accept '-n -t', not '-nt'. # Also, not all makes accept $< in non-pattern rules, # hence the explicit filenames here. -dtimep.c: dtimep.lex +dtimep.o: dtimep.lex $(LEX) -n -t $(srcdir)/dtimep.lex > dtimep.c + $(COMPILE) $(DISABLE_UNUSED_MACROS_WARNING) dtimep.c client.o: client.c $(COMPILE2) $(srcdir)/client.c