amd64-ccobj-update-20041018
authorJeffrey Hutzelman <jhutz@cmu.edu>
Mon, 18 Oct 2004 07:08:14 +0000 (07:08 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 18 Oct 2004 07:08:14 +0000 (07:08 +0000)
update ccobj for amd64

src/auth/Makefile.in
src/cf/osconf.m4
src/des/Makefile.in
src/util/Makefile.in

index f768f1b..3379706 100644 (file)
@@ -36,7 +36,7 @@ copyauth.o: copyauth.c ${INCLS} AFS_component_version_number.o
 setkey.o: setkey.c ${INCLS} AFS_component_version_number.o
 
 ktc.krb.o: ktc.c ${INCLS} ${TOP_INCDIR}/afs/vice.h
-       ${CC} ${CFLAGS} -DAFS_KERBEROS_ENV -c ${srcdir}/ktc.c -o ktc.krb.o
+       ${CCOBJ} ${CFLAGS} -DAFS_KERBEROS_ENV -c ${srcdir}/ktc.c -o ktc.krb.o
 
 libauth.a: $(OBJS) AFS_component_version_number.o
        -$(RM) -f libauth.a
index 3750dc3..5712e48 100644 (file)
@@ -230,6 +230,7 @@ case $AFS_SYSNAME in
                ;;
 
        amd64_linux*)
+               CCOBJ="${CC} -fPIC"
                KERN_OPTMZ=-O2
                LEX="flex -l"
                MT_CFLAGS='-DAFS_PTHREAD_ENV -pthread -D_REENTRANT ${XCFLAGS}'
index 8f8d08b..a415f14 100644 (file)
@@ -88,9 +88,9 @@ make_s:       make_s.o misc.o main.o
 crypt.o: crypt.c
        case ${SYS_NAME} in \
        rs_aix*)\
-               ${CC} -c ${COMMON_INCL} -o crypt.o crypt.c ;;\
+               ${CCOBJ} -c ${COMMON_INCL} -o crypt.o crypt.c ;;\
        *)\
-               ${CC} -c ${CFLAGS} -o crypt.o crypt.c ;;\
+               ${CCOBJ} -c ${CFLAGS} -o crypt.o crypt.c ;;\
        esac
 #
 # Table/code generation targets
index 924bae2..4ce6b90 100644 (file)
@@ -62,10 +62,10 @@ util.a: ${objects} AFS_component_version_number.o
        $(RANLIB) util.a
 
 assert.o: ${srcdir}/assert.c ${includes}
-       ${CC} ${CFLAGS} -c ${srcdir}/assert.c
+       ${CCOBJ} ${CFLAGS} -c ${srcdir}/assert.c
 
 casestrcpy.o: ${srcdir}/casestrcpy.c ${includes}
-       ${CC} ${CFLAGS} -c ${srcdir}/casestrcpy.c
+       ${CCOBJ} ${CFLAGS} -c ${srcdir}/casestrcpy.c
 
 hputil.o: ${srcdir}/hputil.c ${includes}
        ${CC} ${CFLAGS} -c ${srcdir}/hputil.c
@@ -110,10 +110,10 @@ serverLog.o: ${srcdir}/serverLog.c ${includes}
        ${CC} ${CFLAGS} -c ${srcdir}/serverLog.c
 
 dirpath.o: ${srcdir}/dirpath.c ${includes}
-       ${CC} ${CFLAGS} -c ${srcdir}/dirpath.c
+       ${CCOBJ} ${CFLAGS} -c ${srcdir}/dirpath.c
 
 fileutil.o: ${srcdir}/fileutil.c ${includes}
-       ${CC} ${CFLAGS} -c ${srcdir}/fileutil.c
+       ${CCOBJ} ${CFLAGS} -c ${srcdir}/fileutil.c
 
 netutils.o: ${srcdir}/netutils.c ${includes}
        ${CC} ${CFLAGS} -c ${srcdir}/netutils.c