mirror of
https://git.openafs.org/openafs.git
synced 2025-01-22 08:50:17 +00:00
libuafs-build-juafs-everywhere-20020702
copy this crap to the other makefiles
This commit is contained in:
parent
937149e315
commit
b745a28c47
@ -26,6 +26,7 @@ TEST_LDFLAGS=
|
|||||||
TEST_LIBS=-lm -lpthreads
|
TEST_LIBS=-lm -lpthreads
|
||||||
|
|
||||||
LIBUAFS = libuafs.a
|
LIBUAFS = libuafs.a
|
||||||
|
LIBJUAFS = libjuafs.a
|
||||||
LIBAFSWEB = nsafs.a
|
LIBAFSWEB = nsafs.a
|
||||||
LIBAFSWEBKRB = nsafs.krb.a
|
LIBAFSWEBKRB = nsafs.krb.a
|
||||||
|
|
||||||
@ -51,9 +52,17 @@ setup_uafs: UAFS setup_common
|
|||||||
ln -s ../Makefile UAFS/Makefile
|
ln -s ../Makefile UAFS/Makefile
|
||||||
ln -s ../Makefile.common UAFS/Makefile.common
|
ln -s ../Makefile.common UAFS/Makefile.common
|
||||||
|
|
||||||
|
setup_juafs: JUAFS setup_common
|
||||||
|
-$(RM) -f JUAFS/Makefile JUAFS/Makefile.common
|
||||||
|
ln -s ../Makefile JUAFS/Makefile
|
||||||
|
ln -s ../Makefile.common JUAFS/Makefile.common
|
||||||
|
|
||||||
UAFS:
|
UAFS:
|
||||||
mkdir -p $@
|
mkdir -p $@
|
||||||
|
|
||||||
|
JUAFS:
|
||||||
|
mkdir -p $@
|
||||||
|
|
||||||
setup_nsafs: AFSWEB setup_common
|
setup_nsafs: AFSWEB setup_common
|
||||||
-$(RM) -f AFSWEB/Makefile AFSWEB/Makefile.common
|
-$(RM) -f AFSWEB/Makefile AFSWEB/Makefile.common
|
||||||
ln -s ../Makefile AFSWEB/Makefile
|
ln -s ../Makefile AFSWEB/Makefile
|
||||||
@ -64,7 +73,11 @@ AFSWEB:
|
|||||||
|
|
||||||
UAFS/$(LIBUAFS): setup_uafs
|
UAFS/$(LIBUAFS): setup_uafs
|
||||||
cd UAFS; \
|
cd UAFS; \
|
||||||
$(MAKE) $(LIBUAFS)
|
$(MAKE) $(LIBUAFS) LIBJUAFS_FLAGS=
|
||||||
|
|
||||||
|
JUAFS/$(LIBJUAFS): setup_juafs
|
||||||
|
cd JUAFS; \
|
||||||
|
$(MAKE) $(LIBJUAFS) LIBJUAFS_FLAGS=-DAFS_WEB_ENHANCEMENTS
|
||||||
|
|
||||||
AFSWEB/$(LIBAFSWEB): setup_nsafs
|
AFSWEB/$(LIBAFSWEB): setup_nsafs
|
||||||
cd AFSWEB; \
|
cd AFSWEB; \
|
||||||
@ -81,6 +94,11 @@ $(LIBUAFS): $(UAFSOBJ)
|
|||||||
$(AR) $(ARFLAGS) $(LIBUAFS) $(UAFSOBJ) $(AFS)/afsl.exp
|
$(AR) $(ARFLAGS) $(LIBUAFS) $(UAFSOBJ) $(AFS)/afsl.exp
|
||||||
$(RANLIB) libuafs.a
|
$(RANLIB) libuafs.a
|
||||||
|
|
||||||
|
$(LIBJUAFS): $(JUAFSOBJ)
|
||||||
|
-$(RM) -f $(LIBJUAFS)
|
||||||
|
$(AR) $(ARFLAGS) $(LIBJUAFS) $(JUAFSOBJ) $(AFS)/afsl.exp
|
||||||
|
$(RANLIB) libjuafs.a
|
||||||
|
|
||||||
$(LIBAFSWEB): $(AFSWEBOBJ) ${DES}/libdes.a ${DESTDIR}/lib/afs/libsys.a
|
$(LIBAFSWEB): $(AFSWEBOBJ) ${DES}/libdes.a ${DESTDIR}/lib/afs/libsys.a
|
||||||
-$(RM) -f $(LIBAFSWEB)
|
-$(RM) -f $(LIBAFSWEB)
|
||||||
ld -o $(LIBAFSWEB) $(LD_FLAGS) $(AFSWEBOBJ) ${DES}/libdes.a ${DESTDIR}/lib/afs/libsys.a -lm -lc
|
ld -o $(LIBAFSWEB) $(LD_FLAGS) $(AFSWEBOBJ) ${DES}/libdes.a ${DESTDIR}/lib/afs/libsys.a -lm -lc
|
||||||
|
@ -22,6 +22,7 @@ TEST_LDFLAGS=
|
|||||||
TEST_LIBS=
|
TEST_LIBS=
|
||||||
|
|
||||||
LIBUAFS = libuafs.a
|
LIBUAFS = libuafs.a
|
||||||
|
LIBJUAFS = libjuafs.a
|
||||||
LIBAFSWEB = nsafs.so
|
LIBAFSWEB = nsafs.so
|
||||||
LIBAFSWEBKRB = nsafs.krb.so
|
LIBAFSWEBKRB = nsafs.krb.so
|
||||||
|
|
||||||
@ -44,9 +45,17 @@ setup_uafs: UAFS setup_common
|
|||||||
ln -s ../Makefile UAFS/Makefile
|
ln -s ../Makefile UAFS/Makefile
|
||||||
ln -s ../Makefile.common UAFS/Makefile.common
|
ln -s ../Makefile.common UAFS/Makefile.common
|
||||||
|
|
||||||
|
setup_juafs: JUAFS setup_common
|
||||||
|
-$(RM) -f JUAFS/Makefile JUAFS/Makefile.common
|
||||||
|
ln -s ../Makefile JUAFS/Makefile
|
||||||
|
ln -s ../Makefile.common JUAFS/Makefile.common
|
||||||
|
|
||||||
UAFS:
|
UAFS:
|
||||||
mkdir -p $@
|
mkdir -p $@
|
||||||
|
|
||||||
|
JUAFS:
|
||||||
|
mkdir -p $@
|
||||||
|
|
||||||
setup_nsafs: AFSWEB setup_common
|
setup_nsafs: AFSWEB setup_common
|
||||||
-$(RM) -f AFSWEB/Makefile AFSWEB/Makefile.common
|
-$(RM) -f AFSWEB/Makefile AFSWEB/Makefile.common
|
||||||
ln -s ../Makefile AFSWEB/Makefile
|
ln -s ../Makefile AFSWEB/Makefile
|
||||||
@ -57,9 +66,14 @@ AFSWEB:
|
|||||||
|
|
||||||
UAFS/$(LIBUAFS): setup_uafs
|
UAFS/$(LIBUAFS): setup_uafs
|
||||||
cd UAFS; \
|
cd UAFS; \
|
||||||
$(MAKE) $(LIBUAFS) DESTDIR=${DESTDIR}; \
|
$(MAKE) $(LIBUAFS) DESTDIR=${DESTDIR} LIBJUAFS_FLAGS=; \
|
||||||
ranlib $(LIBUAFS)
|
ranlib $(LIBUAFS)
|
||||||
|
|
||||||
|
JUAFS/$(LIBJUAFS): setup_juafs
|
||||||
|
cd JUAFS; \
|
||||||
|
$(MAKE) $(LIBJUAFS) DESTDIR=${DESTDIR} LIBJUAFS_FLAGS=-DAFS_WEB_ENHANCEMENTS; \
|
||||||
|
ranlib $(LIBJUAFS)
|
||||||
|
|
||||||
AFSWEB/$(LIBAFSWEB): setup_nsafs
|
AFSWEB/$(LIBAFSWEB): setup_nsafs
|
||||||
cd AFSWEB; \
|
cd AFSWEB; \
|
||||||
$(MAKE) $(LIBAFSWEB) DESTDIR=${DESTDIR}
|
$(MAKE) $(LIBAFSWEB) DESTDIR=${DESTDIR}
|
||||||
|
@ -8,8 +8,6 @@
|
|||||||
srcdir=@srcdir@
|
srcdir=@srcdir@
|
||||||
include @TOP_OBJDIR@/src/config/Makefile.config
|
include @TOP_OBJDIR@/src/config/Makefile.config
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# System specific build commands and flags
|
# System specific build commands and flags
|
||||||
DEFINES=-DKERNEL -DUKERNEL -D_NO_PROTO -DOSF
|
DEFINES=-DKERNEL -DUKERNEL -D_NO_PROTO -DOSF
|
||||||
KOPTS=
|
KOPTS=
|
||||||
@ -23,6 +21,7 @@ TEST_LDFLAGS=-pthread
|
|||||||
TEST_LIBS=-lm
|
TEST_LIBS=-lm
|
||||||
|
|
||||||
LIBUAFS = libuafs.a
|
LIBUAFS = libuafs.a
|
||||||
|
LIBJUAFS = libjuafs.a
|
||||||
LIBAFSWEB = nsafs.so
|
LIBAFSWEB = nsafs.so
|
||||||
LIBAFSWEBKRB = nsafs.krb.so
|
LIBAFSWEBKRB = nsafs.krb.so
|
||||||
|
|
||||||
@ -48,17 +47,29 @@ setup_uafs: UAFS setup_common
|
|||||||
UAFS:
|
UAFS:
|
||||||
mkdir -p $@
|
mkdir -p $@
|
||||||
|
|
||||||
|
JUAFS:
|
||||||
|
mkdir -p $@
|
||||||
|
|
||||||
setup_nsafs: AFSWEB setup_common
|
setup_nsafs: AFSWEB setup_common
|
||||||
-$(RM) -f AFSWEB/Makefile AFSWEB/Makefile.common
|
-$(RM) -f AFSWEB/Makefile AFSWEB/Makefile.common
|
||||||
ln -s ../Makefile AFSWEB/Makefile
|
ln -s ../Makefile AFSWEB/Makefile
|
||||||
ln -s ../Makefile.common AFSWEB/Makefile.common
|
ln -s ../Makefile.common AFSWEB/Makefile.common
|
||||||
|
|
||||||
|
setup_juafs: JUAFS setup_common
|
||||||
|
-$(RM) -f JUAFS/Makefile JUAFS/Makefile.common
|
||||||
|
ln -s ../Makefile JUAFS/Makefile
|
||||||
|
ln -s ../Makefile.common JUAFS/Makefile.common
|
||||||
|
|
||||||
AFSWEB:
|
AFSWEB:
|
||||||
mkdir -p $@
|
mkdir -p $@
|
||||||
|
|
||||||
UAFS/$(LIBUAFS): setup_uafs
|
UAFS/$(LIBUAFS): setup_uafs
|
||||||
cd UAFS; \
|
cd UAFS; \
|
||||||
$(MAKE) $(LIBUAFS)
|
$(MAKE) $(LIBUAFS) LIBJUAFS_FLAGS=
|
||||||
|
|
||||||
|
JUAFS/$(LIBJUAFS): setup_juafs
|
||||||
|
cd JUAFS; \
|
||||||
|
$(MAKE) $(LIBJUAFS) DESTDIR=${DESTDIR} LIBJUAFS_FLAGS=-DAFS_WEB_ENHANCEMENTS
|
||||||
|
|
||||||
AFSWEB/$(LIBAFSWEB): setup_nsafs
|
AFSWEB/$(LIBAFSWEB): setup_nsafs
|
||||||
cd AFSWEB; \
|
cd AFSWEB; \
|
||||||
@ -75,6 +86,11 @@ $(LIBUAFS): $(UAFSOBJ)
|
|||||||
$(AR) $(ARFLAGS) $(LIBUAFS) $(UAFSOBJ)
|
$(AR) $(ARFLAGS) $(LIBUAFS) $(UAFSOBJ)
|
||||||
ranlib $(LIBUAFS)
|
ranlib $(LIBUAFS)
|
||||||
|
|
||||||
|
$(LIBJUAFS): $(JUAFSOBJ)
|
||||||
|
-$(RM) -f $(LIBJUAFS)
|
||||||
|
$(AR) $(ARFLAGS) $(LIBJUAFS) $(JUAFSOBJ)
|
||||||
|
ranlib $(LIBJUAFS)
|
||||||
|
|
||||||
$(LIBAFSWEB): $(AFSWEBOBJ) ${DES}/libdes.a
|
$(LIBAFSWEB): $(AFSWEBOBJ) ${DES}/libdes.a
|
||||||
-$(RM) -f $(LIBAFSWEB)
|
-$(RM) -f $(LIBAFSWEB)
|
||||||
ld -all -shared -expect_unresolved "*" $(LIBAFSWEB) $(AFSWEBOBJ) ${DES}/libdes.a $(WEBLIBS)
|
ld -all -shared -expect_unresolved "*" $(LIBAFSWEB) $(AFSWEBOBJ) ${DES}/libdes.a $(WEBLIBS)
|
||||||
|
@ -17,6 +17,7 @@ TEST_LDFLAGS=
|
|||||||
TEST_LIBS=
|
TEST_LIBS=
|
||||||
|
|
||||||
LIBUAFS = libuafs.a
|
LIBUAFS = libuafs.a
|
||||||
|
LIBJUAFS = libjuafs.a
|
||||||
LIBAFSWEB = nsafs.so
|
LIBAFSWEB = nsafs.so
|
||||||
LIBAFSWEBKRB = nsafs.krb.so
|
LIBAFSWEBKRB = nsafs.krb.so
|
||||||
|
|
||||||
@ -39,9 +40,17 @@ setup_uafs: UAFS setup_common
|
|||||||
ln -s ../Makefile UAFS/Makefile
|
ln -s ../Makefile UAFS/Makefile
|
||||||
ln -s ../Makefile.common UAFS/Makefile.common
|
ln -s ../Makefile.common UAFS/Makefile.common
|
||||||
|
|
||||||
|
setup_juafs: JUAFS setup_common
|
||||||
|
-$(RM) -f JUAFS/Makefile JUAFS/Makefile.common
|
||||||
|
ln -s ../Makefile JUAFS/Makefile
|
||||||
|
ln -s ../Makefile.common JUAFS/Makefile.common
|
||||||
|
|
||||||
UAFS:
|
UAFS:
|
||||||
mkdir -p $@
|
mkdir -p $@
|
||||||
|
|
||||||
|
JUAFS:
|
||||||
|
mkdir -p $@
|
||||||
|
|
||||||
setup_nsafs: AFSWEB setup_common
|
setup_nsafs: AFSWEB setup_common
|
||||||
-$(RM) -f AFSWEB/Makefile AFSWEB/Makefile.common
|
-$(RM) -f AFSWEB/Makefile AFSWEB/Makefile.common
|
||||||
ln -s ../Makefile AFSWEB/Makefile
|
ln -s ../Makefile AFSWEB/Makefile
|
||||||
@ -50,9 +59,13 @@ setup_nsafs: AFSWEB setup_common
|
|||||||
AFSWEB:
|
AFSWEB:
|
||||||
mkdir -p $@
|
mkdir -p $@
|
||||||
|
|
||||||
|
JUAFS/$(LIBJUAFS): setup_juafs
|
||||||
|
cd JUAFS; \
|
||||||
|
$(MAKE) $(LIBJUAFS) DESTDIR=${DESTDIR} LIBJUAFS_FLAGS=-DAFS_WEB_ENHANCEMENTS
|
||||||
|
|
||||||
UAFS/$(LIBUAFS): setup_uafs
|
UAFS/$(LIBUAFS): setup_uafs
|
||||||
cd UAFS; \
|
cd UAFS; \
|
||||||
$(MAKE) $(LIBUAFS) DESTDIR=${DESTDIR}
|
$(MAKE) $(LIBUAFS) DESTDIR=${DESTDIR} LIBJUAFS_FLAGS=
|
||||||
|
|
||||||
AFSWEB/$(LIBAFSWEB): setup_nsafs
|
AFSWEB/$(LIBAFSWEB): setup_nsafs
|
||||||
cd AFSWEB; \
|
cd AFSWEB; \
|
||||||
@ -68,6 +81,10 @@ $(LIBUAFS): $(UAFSOBJ)
|
|||||||
-$(RM) -f $(LIBUAFS)
|
-$(RM) -f $(LIBUAFS)
|
||||||
$(AR) $(ARFLAGS) $(LIBUAFS) $(UAFSOBJ)
|
$(AR) $(ARFLAGS) $(LIBUAFS) $(UAFSOBJ)
|
||||||
|
|
||||||
|
$(LIBJUAFS): $(JUAFSOBJ)
|
||||||
|
-$(RM) -f $(LIBJUAFS)
|
||||||
|
$(AR) $(ARFLAGS) $(LIBJUAFS) $(JUAFSOBJ)
|
||||||
|
|
||||||
$(LIBAFSWEB): $(AFSWEBOBJ) ${DES}/libdes.a
|
$(LIBAFSWEB): $(AFSWEBOBJ) ${DES}/libdes.a
|
||||||
-$(RM) -f $(LIBAFSWEB)
|
-$(RM) -f $(LIBAFSWEB)
|
||||||
ld -b $(LIBAFSWEB) $(AFSWEBOBJ) ${DES}/libdes.a $(WEBLIBS)
|
ld -b $(LIBAFSWEB) $(AFSWEBOBJ) ${DES}/libdes.a $(WEBLIBS)
|
||||||
|
@ -8,8 +8,6 @@
|
|||||||
srcdir=@srcdir@
|
srcdir=@srcdir@
|
||||||
include @TOP_OBJDIR@/src/config/Makefile.config
|
include @TOP_OBJDIR@/src/config/Makefile.config
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# System specific build commands and flags
|
# System specific build commands and flags
|
||||||
CC = /opt/ansic/bin/cc
|
CC = /opt/ansic/bin/cc
|
||||||
DEFINES= -D_REENTRANT -DKERNEL -DUKERNEL
|
DEFINES= -D_REENTRANT -DKERNEL -DUKERNEL
|
||||||
@ -23,6 +21,7 @@ TEST_LDFLAGS=
|
|||||||
TEST_LIBS=-lnsl -lm -lpthread -ldld -lc
|
TEST_LIBS=-lnsl -lm -lpthread -ldld -lc
|
||||||
|
|
||||||
LIBUAFS = libuafs.a
|
LIBUAFS = libuafs.a
|
||||||
|
LIBJUAFS = libjuafs.a
|
||||||
LIBAFSWEB = nsafs.so
|
LIBAFSWEB = nsafs.so
|
||||||
LIBAFSWEBKRB = nsafs.krb.so
|
LIBAFSWEBKRB = nsafs.krb.so
|
||||||
|
|
||||||
@ -45,9 +44,17 @@ setup_uafs: UAFS setup_common
|
|||||||
ln -s ../Makefile UAFS/Makefile
|
ln -s ../Makefile UAFS/Makefile
|
||||||
ln -s ../Makefile.common UAFS/Makefile.common
|
ln -s ../Makefile.common UAFS/Makefile.common
|
||||||
|
|
||||||
|
setup_juafs: JUAFS setup_common
|
||||||
|
-$(RM) -f JUAFS/Makefile JUAFS/Makefile.common
|
||||||
|
ln -s ../Makefile JUAFS/Makefile
|
||||||
|
ln -s ../Makefile.common JUAFS/Makefile.common
|
||||||
|
|
||||||
UAFS:
|
UAFS:
|
||||||
mkdir -p $@
|
mkdir -p $@
|
||||||
|
|
||||||
|
JUAFS:
|
||||||
|
mkdir -p $@
|
||||||
|
|
||||||
setup_nsafs: AFSWEB setup_common
|
setup_nsafs: AFSWEB setup_common
|
||||||
-$(RM) -f AFSWEB/Makefile AFSWEB/Makefile.common
|
-$(RM) -f AFSWEB/Makefile AFSWEB/Makefile.common
|
||||||
ln -s ../Makefile AFSWEB/Makefile
|
ln -s ../Makefile AFSWEB/Makefile
|
||||||
@ -58,7 +65,11 @@ AFSWEB:
|
|||||||
|
|
||||||
UAFS/$(LIBUAFS): setup_uafs
|
UAFS/$(LIBUAFS): setup_uafs
|
||||||
cd UAFS; \
|
cd UAFS; \
|
||||||
$(MAKE) $(LIBUAFS)
|
$(MAKE) $(LIBUAFS) LIBJUAFS_FLAGS=
|
||||||
|
|
||||||
|
JUAFS/$(LIBJUAFS): setup_juafs
|
||||||
|
cd JUAFS; \
|
||||||
|
$(MAKE) $(LIBJUAFS) DESTDIR=${DESTDIR} LIBJUAFS_FLAGS=-DAFS_WEB_ENHANCEMENTS
|
||||||
|
|
||||||
AFSWEB/$(LIBAFSWEB): setup_nsafs
|
AFSWEB/$(LIBAFSWEB): setup_nsafs
|
||||||
cd AFSWEB; \
|
cd AFSWEB; \
|
||||||
@ -74,6 +85,10 @@ $(LIBUAFS): $(UAFSOBJ)
|
|||||||
-$(RM) -f $(LIBUAFS)
|
-$(RM) -f $(LIBUAFS)
|
||||||
$(AR) $(ARFLAGS) $(LIBUAFS) $(UAFSOBJ)
|
$(AR) $(ARFLAGS) $(LIBUAFS) $(UAFSOBJ)
|
||||||
|
|
||||||
|
$(LIBJUAFS): $(JUAFSOBJ)
|
||||||
|
-$(RM) -f $(LIBJUAFS)
|
||||||
|
$(AR) $(ARFLAGS) $(LIBJUAFS) $(JUAFSOBJ)
|
||||||
|
|
||||||
$(LIBAFSWEB): $(AFSWEBOBJ) ${DES}/libdes.a
|
$(LIBAFSWEB): $(AFSWEBOBJ) ${DES}/libdes.a
|
||||||
-$(RM) -f $(LIBAFSWEB)
|
-$(RM) -f $(LIBAFSWEB)
|
||||||
ld -b $(LIBAFSWEB) $(AFSWEBOBJ) ${DES}/libdes.a $(WEBLIBS)
|
ld -b $(LIBAFSWEB) $(AFSWEBOBJ) ${DES}/libdes.a $(WEBLIBS)
|
||||||
|
@ -8,8 +8,6 @@
|
|||||||
srcdir=@srcdir@
|
srcdir=@srcdir@
|
||||||
include @TOP_OBJDIR@/src/config/Makefile.config
|
include @TOP_OBJDIR@/src/config/Makefile.config
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# System specific build commands and flags
|
# System specific build commands and flags
|
||||||
CC = cc
|
CC = cc
|
||||||
DEFINES=-D_SGI_MP_SOURCE -DKERNEL -DUKERNEL
|
DEFINES=-D_SGI_MP_SOURCE -DKERNEL -DUKERNEL
|
||||||
@ -22,6 +20,7 @@ TEST_LDFLAGS=-ignore_minor
|
|||||||
TEST_LIBS=-lpthread -lm
|
TEST_LIBS=-lpthread -lm
|
||||||
|
|
||||||
LIBUAFS = libuafs.a
|
LIBUAFS = libuafs.a
|
||||||
|
LIBJUAFS = libjuafs.a
|
||||||
LIBAFSWEB = nsafs.so
|
LIBAFSWEB = nsafs.so
|
||||||
LIBAFSWEBKRB = nsafs.krb.so
|
LIBAFSWEBKRB = nsafs.krb.so
|
||||||
|
|
||||||
@ -44,9 +43,17 @@ setup_uafs: UAFS setup_common
|
|||||||
ln -s ../Makefile UAFS/Makefile
|
ln -s ../Makefile UAFS/Makefile
|
||||||
ln -s ../Makefile.common UAFS/Makefile.common
|
ln -s ../Makefile.common UAFS/Makefile.common
|
||||||
|
|
||||||
|
setup_juafs: JUAFS setup_common
|
||||||
|
-$(RM) -f JUAFS/Makefile JUAFS/Makefile.common
|
||||||
|
ln -s ../Makefile JUAFS/Makefile
|
||||||
|
ln -s ../Makefile.common JUAFS/Makefile.common
|
||||||
|
|
||||||
UAFS:
|
UAFS:
|
||||||
mkdir -p $@
|
mkdir -p $@
|
||||||
|
|
||||||
|
JUAFS:
|
||||||
|
mkdir -p $@
|
||||||
|
|
||||||
setup_nsafs: AFSWEB setup_common
|
setup_nsafs: AFSWEB setup_common
|
||||||
-$(RM) -f AFSWEB/Makefile AFSWEB/Makefile.common
|
-$(RM) -f AFSWEB/Makefile AFSWEB/Makefile.common
|
||||||
ln -s ../Makefile AFSWEB/Makefile
|
ln -s ../Makefile AFSWEB/Makefile
|
||||||
@ -57,7 +64,11 @@ AFSWEB:
|
|||||||
|
|
||||||
UAFS/$(LIBUAFS): setup_uafs
|
UAFS/$(LIBUAFS): setup_uafs
|
||||||
cd UAFS; \
|
cd UAFS; \
|
||||||
$(MAKE) $(LIBUAFS)
|
$(MAKE) $(LIBUAFS) LIBJUAFS_FLAGS=
|
||||||
|
|
||||||
|
JUAFS/$(LIBJUAFS): setup_juafs
|
||||||
|
cd JUAFS; \
|
||||||
|
$(MAKE) $(LIBJUAFS) LIBJUAFS_FLAGS=-DAFS_WEB_ENHANCEMENTS
|
||||||
|
|
||||||
AFSWEB/$(LIBAFSWEB): setup_nsafs
|
AFSWEB/$(LIBAFSWEB): setup_nsafs
|
||||||
cd AFSWEB; \
|
cd AFSWEB; \
|
||||||
@ -73,6 +84,10 @@ $(LIBUAFS): $(UAFSOBJ)
|
|||||||
-$(RM) -f $(LIBUAFS)
|
-$(RM) -f $(LIBUAFS)
|
||||||
$(AR) $(ARFLAGS) $(LIBUAFS) $(UAFSOBJ)
|
$(AR) $(ARFLAGS) $(LIBUAFS) $(UAFSOBJ)
|
||||||
|
|
||||||
|
$(LIBJUAFS): $(JUAFSOBJ)
|
||||||
|
-$(RM) -f $(LIBJUAFS)
|
||||||
|
$(AR) $(ARFLAGS) $(LIBJUAFS) $(JUAFSOBJ)
|
||||||
|
|
||||||
$(LIBAFSWEB): $(AFSWEBOBJ) ${DES}/libdes.a
|
$(LIBAFSWEB): $(AFSWEBOBJ) ${DES}/libdes.a
|
||||||
-$(RM) -f $(LIBAFSWEB)
|
-$(RM) -f $(LIBAFSWEB)
|
||||||
ld -shared $(LIBAFSWEB) $(AFSWEBOBJ) ${DES}/libdes.a $(WEBLIBS)
|
ld -shared $(LIBAFSWEB) $(AFSWEBOBJ) ${DES}/libdes.a $(WEBLIBS)
|
||||||
|
@ -71,13 +71,11 @@ AFSWEB:
|
|||||||
|
|
||||||
UAFS/$(LIBUAFS): setup_uafs
|
UAFS/$(LIBUAFS): setup_uafs
|
||||||
cd UAFS; \
|
cd UAFS; \
|
||||||
export LIBJUAFS_FLAGS=; \
|
$(MAKE) $(LIBUAFS) DESTDIR=${DESTDIR} LIBJUAFS_FLAGS=
|
||||||
$(MAKE) $(LIBUAFS) DESTDIR=${DESTDIR}
|
|
||||||
|
|
||||||
JUAFS/$(LIBJUAFS): setup_juafs
|
JUAFS/$(LIBJUAFS): setup_juafs
|
||||||
cd JUAFS; \
|
cd JUAFS; \
|
||||||
export LIBJUAFS_FLAGS=-DAFS_WEB_ENHANCEMENTS; \
|
$(MAKE) $(LIBJUAFS) DESTDIR=${DESTDIR} LIBJUAFS_FLAGS=-DAFS_WEB_ENHANCEMENTS
|
||||||
$(MAKE) $(LIBJUAFS) DESTDIR=${DESTDIR}
|
|
||||||
|
|
||||||
AFSWEB/$(LIBAFSWEB): setup_nsafs
|
AFSWEB/$(LIBAFSWEB): setup_nsafs
|
||||||
cd AFSWEB; \
|
cd AFSWEB; \
|
||||||
|
@ -16,6 +16,7 @@ TEST_LDFLAGS=
|
|||||||
TEST_LIBS=
|
TEST_LIBS=
|
||||||
|
|
||||||
LIBUAFS = libuafs.a
|
LIBUAFS = libuafs.a
|
||||||
|
LIBJUAFS = libjuafs.a
|
||||||
LIBAFSWEB = nsafs.so
|
LIBAFSWEB = nsafs.so
|
||||||
LIBAFSWEBKRB = nsafs.krb.so
|
LIBAFSWEBKRB = nsafs.krb.so
|
||||||
|
|
||||||
@ -38,9 +39,17 @@ setup_uafs: UAFS setup_common
|
|||||||
ln -s ../Makefile UAFS/Makefile
|
ln -s ../Makefile UAFS/Makefile
|
||||||
ln -s ../Makefile.common UAFS/Makefile.common
|
ln -s ../Makefile.common UAFS/Makefile.common
|
||||||
|
|
||||||
|
setup_juafs: JUAFS setup_common
|
||||||
|
-$(RM) -f JUAFS/Makefile JUAFS/Makefile.common
|
||||||
|
ln -s ../Makefile JUAFS/Makefile
|
||||||
|
ln -s ../Makefile.common JUAFS/Makefile.common
|
||||||
|
|
||||||
UAFS:
|
UAFS:
|
||||||
mkdir -p $@
|
mkdir -p $@
|
||||||
|
|
||||||
|
JUAFS:
|
||||||
|
mkdir -p $@
|
||||||
|
|
||||||
setup_nsafs: AFSWEB setup_common
|
setup_nsafs: AFSWEB setup_common
|
||||||
-$(RM) -f AFSWEB/Makefile AFSWEB/Makefile.common
|
-$(RM) -f AFSWEB/Makefile AFSWEB/Makefile.common
|
||||||
ln -s ../Makefile AFSWEB/Makefile
|
ln -s ../Makefile AFSWEB/Makefile
|
||||||
@ -49,9 +58,13 @@ setup_nsafs: AFSWEB setup_common
|
|||||||
AFSWEB:
|
AFSWEB:
|
||||||
mkdir -p $@
|
mkdir -p $@
|
||||||
|
|
||||||
|
JUAFS/$(LIBJUAFS): setup_juafs
|
||||||
|
cd JUAFS; \
|
||||||
|
$(MAKE) $(LIBJUAFS) DESTDIR=${DESTDIR} LIBJUAFS_FLAGS=-DAFS_WEB_ENHANCEMENTS
|
||||||
|
|
||||||
UAFS/$(LIBUAFS): setup_uafs
|
UAFS/$(LIBUAFS): setup_uafs
|
||||||
cd UAFS; \
|
cd UAFS; \
|
||||||
$(MAKE) $(LIBUAFS) DESTDIR=${DESTDIR}
|
$(MAKE) $(LIBUAFS) DESTDIR=${DESTDIR} LIBJUAFS_FLAGS=
|
||||||
|
|
||||||
AFSWEB/$(LIBAFSWEB): setup_nsafs
|
AFSWEB/$(LIBAFSWEB): setup_nsafs
|
||||||
cd AFSWEB; \
|
cd AFSWEB; \
|
||||||
@ -67,6 +80,10 @@ $(LIBUAFS): $(UAFSOBJ)
|
|||||||
-$(RM) -f $(LIBUAFS)
|
-$(RM) -f $(LIBUAFS)
|
||||||
$(AR) $(ARFLAGS) $(LIBUAFS) $(UAFSOBJ)
|
$(AR) $(ARFLAGS) $(LIBUAFS) $(UAFSOBJ)
|
||||||
|
|
||||||
|
$(LIBJUAFS): $(JUAFSOBJ)
|
||||||
|
-$(RM) -f $(LIBJUAFS)
|
||||||
|
$(AR) $(ARFLAGS) $(LIBJUAFS) $(JUAFSOBJ)
|
||||||
|
|
||||||
$(LIBAFSWEB): $(AFSWEBOBJ) ${DES}/libdes.a
|
$(LIBAFSWEB): $(AFSWEBOBJ) ${DES}/libdes.a
|
||||||
-$(RM) -f $(LIBAFSWEB)
|
-$(RM) -f $(LIBAFSWEB)
|
||||||
ld -b $(LIBAFSWEB) $(AFSWEBOBJ) ${DES}/libdes.a $(WEBLIBS)
|
ld -b $(LIBAFSWEB) $(AFSWEBOBJ) ${DES}/libdes.a $(WEBLIBS)
|
||||||
|
@ -8,8 +8,6 @@
|
|||||||
srcdir=@srcdir@
|
srcdir=@srcdir@
|
||||||
include @TOP_OBJDIR@/src/config/Makefile.config
|
include @TOP_OBJDIR@/src/config/Makefile.config
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# System specific build commands and flags
|
# System specific build commands and flags
|
||||||
DEFINES= -D_REENTRANT -DKERNEL -DUKERNEL
|
DEFINES= -D_REENTRANT -DKERNEL -DUKERNEL
|
||||||
CFLAGS=-I. -I.. -I${TOP_OBJDIR}/src/config ${FSINCLUDES} $(DEFINES) $(KOPTS) ${DBUG}
|
CFLAGS=-I. -I.. -I${TOP_OBJDIR}/src/config ${FSINCLUDES} $(DEFINES) $(KOPTS) ${DBUG}
|
||||||
@ -21,6 +19,7 @@ TEST_LDFLAGS=
|
|||||||
TEST_LIBS=-lsocket -lnsl -lthread -lm -ldl
|
TEST_LIBS=-lsocket -lnsl -lthread -lm -ldl
|
||||||
|
|
||||||
LIBUAFS = libuafs.a
|
LIBUAFS = libuafs.a
|
||||||
|
LIBJUAFS = libjuafs.a
|
||||||
LIBAFSWEB = nsafs.so
|
LIBAFSWEB = nsafs.so
|
||||||
LIBAFSWEBKRB = nsafs.krb.so
|
LIBAFSWEBKRB = nsafs.krb.so
|
||||||
|
|
||||||
@ -43,9 +42,17 @@ setup_uafs: UAFS setup_common
|
|||||||
ln -s ../Makefile UAFS/Makefile
|
ln -s ../Makefile UAFS/Makefile
|
||||||
ln -s ../Makefile.common UAFS/Makefile.common
|
ln -s ../Makefile.common UAFS/Makefile.common
|
||||||
|
|
||||||
|
setup_juafs: JUAFS setup_common
|
||||||
|
-$(RM) -f JUAFS/Makefile JUAFS/Makefile.common
|
||||||
|
ln -s ../Makefile JUAFS/Makefile
|
||||||
|
ln -s ../Makefile.common JUAFS/Makefile.common
|
||||||
|
|
||||||
UAFS:
|
UAFS:
|
||||||
mkdir -p $@
|
mkdir -p $@
|
||||||
|
|
||||||
|
JUAFS:
|
||||||
|
mkdir -p $@
|
||||||
|
|
||||||
setup_nsafs: AFSWEB setup_common
|
setup_nsafs: AFSWEB setup_common
|
||||||
-$(RM) -f AFSWEB/Makefile AFSWEB/Makefile.common
|
-$(RM) -f AFSWEB/Makefile AFSWEB/Makefile.common
|
||||||
ln -s ../Makefile AFSWEB/Makefile
|
ln -s ../Makefile AFSWEB/Makefile
|
||||||
@ -56,7 +63,11 @@ AFSWEB:
|
|||||||
|
|
||||||
UAFS/$(LIBUAFS): setup_uafs
|
UAFS/$(LIBUAFS): setup_uafs
|
||||||
cd UAFS; \
|
cd UAFS; \
|
||||||
$(MAKE) $(LIBUAFS)
|
$(MAKE) $(LIBUAFS) LIBJUAFS_FLAGS=
|
||||||
|
|
||||||
|
JUAFS/$(LIBJUAFS): setup_juafs
|
||||||
|
cd JUAFS; \
|
||||||
|
$(MAKE) $(LIBJUAFS) DESTDIR=${DESTDIR} LIBJUAFS_FLAGS=-DAFS_WEB_ENHANCEMENTS
|
||||||
|
|
||||||
AFSWEB/$(LIBAFSWEB): setup_nsafs
|
AFSWEB/$(LIBAFSWEB): setup_nsafs
|
||||||
cd AFSWEB; \
|
cd AFSWEB; \
|
||||||
@ -72,6 +83,10 @@ $(LIBUAFS): $(UAFSOBJ)
|
|||||||
-$(RM) -f $(LIBUAFS)
|
-$(RM) -f $(LIBUAFS)
|
||||||
$(AR) $(ARFLAGS) $(LIBUAFS) $(UAFSOBJ)
|
$(AR) $(ARFLAGS) $(LIBUAFS) $(UAFSOBJ)
|
||||||
|
|
||||||
|
$(LIBJUAFS): $(JUAFSOBJ)
|
||||||
|
-$(RM) -f $(LIBJUAFS)
|
||||||
|
$(AR) $(ARFLAGS) $(LIBJUAFS) $(JUAFSOBJ)
|
||||||
|
|
||||||
$(LIBAFSWEB): $(AFSWEBOBJ) ${DES}/libdes.a
|
$(LIBAFSWEB): $(AFSWEBOBJ) ${DES}/libdes.a
|
||||||
-$(RM) -f $(LIBAFSWEB)
|
-$(RM) -f $(LIBAFSWEB)
|
||||||
${LD} -G -M../mapfile -o $(LIBAFSWEB) $(AFSWEBOBJ) ${DES}/libdes.a $(WEBLIBS)
|
${LD} -G -M../mapfile -o $(LIBAFSWEB) $(AFSWEBOBJ) ${DES}/libdes.a $(WEBLIBS)
|
||||||
|
Loading…
Reference in New Issue
Block a user