[EXIM] exim target doesn't use CFLAGS ?

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: James FitzGibbon
Dátum:  
Címzett: exim-users
Tárgy: [EXIM] exim target doesn't use CFLAGS ?

In OS/Makefile-Base, all targets save one (the exim binary) include
$(CFLAGS) in the final compile line. Is there a reason that the exim
target doesn't include this variable ?

exim_lock: exim_lock.c
        $(CC) $(CFLAGS) $(INCLUDE) -o exim_lock $(LFLAGS) exim_lock.c  \


exim_dbmbuild: exim_dbmbuild.c os.o config.h
        $(CC) $(CFLAGS) $(INCLUDE) -o exim_dbmbuild $(LFLAGS)


exim:   libident/libident.a pcre/libpcre.a lookups/lookups.a \
        directors/directors.a routers/routers.a transports/transports.a \
        $(OBJ_EXIM) version.c
        awk '{ print ($$1+1) }' cnumber.h > cnumber.temp
        /bin/rm -f cnumber.h; mv cnumber.temp cnumber.h
        $(CC) -c $(CFLAGS) $(INCLUDE) $(IPV6_INCLUDE) version.c
        /bin/rm -f exim
        $(PURIFY) $(CC) -o exim $(LFLAGS) $(OBJ_EXIM) version.o \


They are used to generate version.c, but not to link the binary.

--
j.

James FitzGibbon                                                james@???
System Engineer, ACC Global Net                   Voice/Fax (416)207-7171/7610



--
*** Exim information can be found at http://www.exim.org/ ***