]> SAFE projects GIT repository - jmp/mailleur/commitdiff
changing chkdns.c to valide.c (valide is a test program)
authorJean-Marc Pigeon (Delson) <jmp@safe.ca>
Sun, 1 Sep 2024 17:14:07 +0000 (13:14 -0400)
committerJean-Marc Pigeon (Delson) <jmp@safe.ca>
Sun, 1 Sep 2024 17:14:07 +0000 (13:14 -0400)
app/Makefile
app/valide.c [moved from app/chkdns.c with 100% similarity]
lib/Makefile
lib/subrou.c

index ce27d5e42e1744d92f4eb3f94ea15d9e021be11e..80609b0fc19a6d24c7c2790fcfd9db2e3b73fce5 100644 (file)
@@ -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
similarity index 100%
rename from app/chkdns.c
rename to app/valide.c
index 7587cc95a63a163d18a8e8f9a8294684b45c8492..636c260045cac4f29360920db2833ec787ea9571 100644 (file)
@@ -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`
 #--------------------------------------------------------------------
index 05c0d9e187b1732e3b9254fb543942fc6e6aaa1d..89f78bc4b159bd040b32f50bdd16401bda756de8 100644 (file)
@@ -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