RANLIB = @RANLIB@
LIBTOOL = @LIBTOOL@
GNU_LIBTOOL = @GNU_LIBTOOL@
+LINT = @LINT@
+LINTFLAGS = @LINTFLAGS@
+
COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS)
# 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
sigmsg.h: sigmsg.awk
$(AWK) -f $(srcdir)/sigmsg.awk $(SIGNAL_H) > $@
+lint: sigmsg.h
+ $(LINT) $(LINTFLAGS) $(INCLUDES) $(DEFS) $(SRCS)
+
dtimep.c: dtimep.lex
- $(LEX) -nit $< > $@
+ $(LEX) -nt $< > $@
pidstatus.o: sigmsg.h