parisc-linux-kernel-headers-20020909
[openafs.git] / src / libafs / MakefileProto.LINUX.in
index 9d33ede..1c16640 100644 (file)
@@ -24,10 +24,7 @@ AFS_OS_OBJS = \
        osi_sysctl.o \
        osi_vfsops.o \
        osi_vm.o \
-       osi_vnodeops.o \
-       xdr.o \
-       xdr_array.o \
-       xdr_int64.o
+       osi_vnodeops.o 
 
 AFS_OS_NFSOBJS =
 
@@ -35,9 +32,6 @@ AFS_OS_NONFSOBJS =
 
 
 # System specific build commands and flags
-CC = gcc
-LD = ld
-# -Wall
 <i386_linux22 i386_linux24>
 CCFLAGS =  $(KDEBUG) -O2 $(FOMIT) \
        -fno-strength-reduce -pipe -march=i486 -malign-loops=2 -malign-jumps=2 \
@@ -123,6 +117,8 @@ ${COMPDIRS} ${INSTDIRS} ${DESTDIRS}:
        $(RM) -f asm-generic
        ln -fs ${LINUX_KERNEL_PATH}/include/asm-generic asm-generic
        $(RM) -f asm
+<parisc_linux22 parisc_linux24>
+       ln -fs ${LINUX_KERNEL_PATH}/include/asm-parisc asm
 <alpha_linux_22 alpha_linux_24>
        ln -fs ${LINUX_KERNEL_PATH}/include/asm-alpha asm
 <i386_linux22 i386_linux24>
@@ -147,6 +143,9 @@ ${COMPDIRS} ${INSTDIRS} ${DESTDIRS}:
                elif [ "$$m" = "EP" ] ; then \
                        SMP_DEF="-DAFS_SMP @RHCONFIG_MP@ ${LOCAL_SMP_DEF}" ; \
                        TARG="libafs.ep" ; \
+               elif [ "$$m" = "BM" ] ; then \
+                       SMP_DEF="-DAFS_SMP @RHCONFIG_MP@ ${LOCAL_SMP_DEF}" ; \
+                       TARG="libafs.bm" ; \
                else  \
                        SMP_DEF="@RHCONFIG_SP@ ${LOCAL_SMP_DEF}" ; \
                        TARG=libafs ; \
@@ -159,12 +158,15 @@ ${COMPDIRS} ${INSTDIRS} ${DESTDIRS}:
 linux_compdirs_libafs: libafs
 linux_compdirs_libafs.mp: libafs.mp
 linux_compdirs_libafs.ep: libafs.ep
+linux_compdirs_libafs.bm: libafs.bm
 linux_instdirs_libafs: install_libafs
 linux_instdirs_libafs.mp: install_libafs.mp
 linux_instdirs_libafs.ep: install_libafs.ep
+linux_instdirs_libafs.bm: install_libafs.bm
 linux_destdirs_libafs: dest_libafs
 linux_destdirs_libafs.mp: dest_libafs.mp
 linux_destdirs_libafs.ep: dest_libafs.ep
+linux_destdirs_libafs.bm: dest_libafs.bm
 
 
 # Below this line are targets when in the COMMON directory:
@@ -172,14 +174,17 @@ linux_destdirs_libafs.ep: dest_libafs.ep
 LIBAFS = libafs-${CLIENT}.o
 LIBAFS_MP = libafs-${CLIENT}.mp.o
 LIBAFS_EP = libafs-${CLIENT}.ep.o
+LIBAFS_BM = libafs-${CLIENT}.bm.o
 
 INST_LIBAFS = ${DESTDIR}${afskerneldir}/${LIBAFS}
 INST_LIBAFS_MP = ${DESTDIR}${afskerneldir}/${LIBAFS_MP}
 INST_LIBAFS_EP = ${DESTDIR}${afskerneldir}/${LIBAFS_EP}
+INST_LIBAFS_BM = ${DESTDIR}${afskerneldir}/${LIBAFS_BM}
 
 DEST_LIBAFS = ${DEST}/root.client/usr/vice/etc/modload/${LIBAFS}
 DEST_LIBAFS_MP = ${DEST}/root.client/usr/vice/etc/modload/${LIBAFS_MP}
 DEST_LIBAFS_EP = ${DEST}/root.client/usr/vice/etc/modload/${LIBAFS_EP}
+DEST_LIBAFS_BM = ${DEST}/root.client/usr/vice/etc/modload/${LIBAFS_BM}
 
 
 libafs:        $(LIBAFS) 
@@ -191,6 +196,9 @@ libafs.mp: $(LIBAFS_MP)
 libafs.ep: $(LIBAFS_EP)
        echo EP Build Complete
 
+libafs.bm: $(LIBAFS_BM)
+       echo BM Build Complete
+
 ${LIBAFS}: $(AFSAOBJS) $(AFSNONFSOBJS)
        $(RM) -f $@
        $(LD) -r -o $@ $(AFSAOBJS) $(AFSNONFSOBJS)
@@ -203,6 +211,10 @@ ${LIBAFS_EP}: $(AFSAOBJS) $(AFSNONFSOBJS)
        $(RM) -f $@
        $(LD) -r -o $@ $(AFSAOBJS) $(AFSNONFSOBJS)
 
+${LIBAFS_BM}: $(AFSAOBJS) $(AFSNONFSOBJS)
+       $(RM) -f $@
+       $(LD) -r -o $@ $(AFSAOBJS) $(AFSNONFSOBJS)
+
 install_libafs:        $(INST_LIBAFS) 
        echo SP Install Complete
 
@@ -212,6 +224,9 @@ install_libafs.mp: $(INST_LIBAFS_MP)
 install_libafs.ep: $(INST_LIBAFS_EP)
        echo EP Install Complete
 
+install_libafs.bm: $(INST_LIBAFS_BM)
+       echo BM Install Complete
+
 dest_libafs:   $(DEST_LIBAFS) 
        echo SP Install Complete
 
@@ -221,6 +236,9 @@ dest_libafs.mp: $(DEST_LIBAFS_MP)
 dest_libafs.ep: $(DEST_LIBAFS_EP)
        echo EP Install Complete
 
+dest_libafs.bm: $(DEST_LIBAFS_BM)
+       echo BM Install Complete
+
 $(INST_LIBAFS): $(LIBAFS)
        ${INSTALL} -f $? $@
 
@@ -230,6 +248,9 @@ $(INST_LIBAFS_MP): $(LIBAFS_MP)
 $(INST_LIBAFS_EP): $(LIBAFS_EP)
        ${INSTALL} -f $? $@
 
+$(INST_LIBAFS_BM): $(LIBAFS_BM)
+       ${INSTALL} -f $? $@
+
 $(DEST_LIBAFS): $(LIBAFS)
        ${INSTALL} -f $? $@
 
@@ -239,6 +260,9 @@ $(DEST_LIBAFS_MP): $(LIBAFS_MP)
 $(DEST_LIBAFS_EP): $(LIBAFS_EP)
        ${INSTALL} -f $? $@
 
+$(DEST_LIBAFS_BM): $(LIBAFS_BM)
+       ${INSTALL} -f $? $@
+
 
 # Linux specific objects
 osi_alloc.o: $(AFS)/osi_alloc.c
@@ -265,9 +289,3 @@ osi_vm.o: $(AFS)/osi_vm.c
        $(CRULE1)
 osi_vnodeops.o: $(AFS)/osi_vnodeops.c
        $(CRULE1)
-xdr.o: $(RX)/xdr.c
-       $(CRULE1)
-xdr_int64.o: $(RX)/xdr_int64.c
-       $(CRULE1)
-xdr_array.o: $(RX)/xdr_array.c
-       $(CRULE1)