This repository has been archived on 2025-02-12. You can view files and clone it, but cannot push or open issues or pull requests.
MQServer/adns/Makefile

38 lines
654 B
Makefile
Raw Permalink Normal View History

INCLUDES = -I.. -I../Include/
SRCS = check.c event.c general.c parse.c query.c reply.c setup.c transmit.c types.c
OBJS = ${SRCS:.c=.o}
2004-04-27 14:19:24 +00:00
all: modules
modules: $(OBJS)
2004-04-27 14:19:24 +00:00
rm -f libadns.a
ar cru libadns.a $(OBJS)
ranlib libadns.a
.c.o:
$(CC) $(CFLAGS) $(INCLUDES) -c $<
clean:
$(RM) *.o *.lo *.so *.a *.exe config.h
distclean:
$(RM) *.o *.lo *.so *.a *.exe config.h
depend:
$(CC) -MM $(INCLUDES) $(CFLAGS) $(SRCS) > .depend
install:
$(INSTALL_DATA) adns.h $(INCDIRECTORY)
DISTFILES =*.c adns.h dlist.h internal.h tvarith.h Makefile *.in
dist:
@for file in $(DISTFILES); do \
cp -pr $$file $(DISTDIR)/$$file; \
done
$(OBJS): Makefile