From 063318de868f238a0ce5bd59deeec1a60630dea9 Mon Sep 17 00:00:00 2001 From: "Jean-Marc Pigeon (Delson)" Date: Sun, 1 Sep 2024 13:14:07 -0400 Subject: [PATCH] changing chkdns.c to valide.c (valide is a test program) --- app/Makefile | 12 ++++++------ app/{chkdns.c => valide.c} | 0 lib/Makefile | 6 +++--- lib/subrou.c | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) rename app/{chkdns.c => valide.c} (100%) diff --git a/app/Makefile b/app/Makefile index ce27d5e..80609b0 100644 --- a/app/Makefile +++ b/app/Makefile @@ -21,14 +21,14 @@ clean : #Equivalences #-------------------------------------------------------------------- EXE= \ - chkdns \ emlrec \ maild \ + valide \ SRC= \ - chkdns.c \ emlrec.c \ maild.c \ + valide.c \ #-------------------------------------------------------------------- #definitions @@ -36,8 +36,8 @@ SRC= \ CC = gcc LD = gcc CFLAGS = -I ../lib -Wall $(OPTIME) -LIBAI = ../lib/libAI.a -LIBS = $(LIBAI) \ +LIBMAIL = ../lib/libmail.a +LIBS = $(LIBMAIL) \ -lcrypto \ -lssl \ @@ -50,10 +50,10 @@ emlrec : toremake emlrec.o maild : toremake maild.o @ $(LD) $(LDFLAGS) -o ../bin/$@ $@.o $(LIBS) -chkdns : toremake chkdns.o +valide : toremake valide.o @ $(LD) $(LDFLAGS) -o ../bin/$@ $@.o $(LIBS) -chkdns.o: chkdns.c \ +valide.o: valide.c \ ../lib/unidns.h \ ../lib/subafn.h \ ../lib/subrou.h diff --git a/app/chkdns.c b/app/valide.c similarity index 100% rename from app/chkdns.c rename to app/valide.c diff --git a/lib/Makefile b/lib/Makefile index 7587cc9..636c260 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -25,7 +25,7 @@ OBJS= \ subafn.o subrou.o objs : $(OBJS) - @ ar -cr libAI.a $(OBJS) + @ ar -cr $(LIBMAIL) $(OBJS) #-------------------------------------------------------------------- #Dependances @@ -112,7 +112,7 @@ uniprc.h: \ toremake: Makefile touch toremake - - rm -f $(OBJS) libAI.a + - rm -f $(OBJS) $(LIBMAIL) #-------------------------------------------------------------------- .PHONY: clean @@ -122,6 +122,6 @@ toremake: Makefile CC = gcc LD = gcc CFLAGS = -Wall -D_GNU_SOURCE $(OPTIME) -LIBAI = libAI +LIBMAIL = libmail.a PAR = -j`/usr/bin/getconf _NPROCESSORS_ONLN` #-------------------------------------------------------------------- diff --git a/lib/subrou.c b/lib/subrou.c index 05c0d9e..89f78bc 100644 --- a/lib/subrou.c +++ b/lib/subrou.c @@ -21,7 +21,7 @@ //version definition #define VERSION "0.4.2" -#define RELEASE "25" +#define RELEASE "27" //Public variables PUBLIC int debug=0; //debug level -- 2.47.3