venus: Remove dedebug
[openafs.git] / src / libafs / MakefileProto.DFBSD.in
1 # Copyright 2000, International Business Machines Corporation and others.
2 # All Rights Reserved.
3 #
4 # This software has been released under the terms of the IBM Public
5 # License.  For details, see the LICENSE file in the top-level source
6 # directory or online at http://www.openafs.org/dl/license10.html
7 #
8 srcdir=@srcdir@
9 include @TOP_OBJDIR@/src/config/Makefile.config
10
11
12 # OS specific object files:
13 AFS_OS_OBJS = \
14         osi_gcpags.o \
15         osi_groups.o \
16         osi_file.o \
17         osi_inode.o \
18         osi_misc.o \
19         osi_sleep.o \
20         osi_vcache.o \
21         osi_vm.o \
22         osi_vnodeops.o \
23         osi_module.o \
24         rand-fortuna-kernel.o
25
26 #AFS_OS_NFSOBJS = \
27 #       osi_vfsops_nfs.o
28
29 AFS_OS_NONFSOBJS = \
30         osi_vfsops.o
31
32
33 # System specific build commands and flags
34 KSRC = @BSD_KERNEL_PATH@
35 KBLD = @BSD_KERNEL_BUILD@
36
37 KDEFS=-Wall -nostdinc -I/usr/include -D_KERNEL -DKLD_MODULE \
38         -elf 
39
40 DBUG = -O2
41 DEFINES= -DAFSDEBUG -DKERNEL -DAFS -DVICE -DNFS -DUFS -DINET -DQUOTA -DGETMOUNT
42 CFLAGS=-I. -I.. -I${TOP_OBJDIR}/src/config ${FSINCLUDES} $(DEFINES) $(KDEFS) $(KOPTS) ${DBUG}
43
44
45 # Name of directory to hold object files and libraries.
46 KOBJ = MODLOAD
47
48 # This tells Makefile.common to use it's single directory build target.
49 COMPDIRS = single_compdir
50 INSTDIRS = single_instdir
51 DESTDIRS = single_destdir
52
53 #include Makefile.common
54 all:
55         echo "skipping"
56
57 setup:
58         echo "skipping"
59
60 install:
61         echo "skipping"
62
63 # Below this line are targets when in the COMMON directory:
64 LIBAFS = libafsnfs.ko
65 LIBAFSNONFS = libafs.ko
66
67 INST_LIBAFS = ${DESTDIR}${afskerneldir}/${LIBAFS}
68 INST_LIBAFSNONFS = ${DESTDIR}${afskerneldir}/${LIBAFSNONFS}
69
70 DEST_LIBAFS = ${DEST}/root.client/bin/${LIBAFS}
71 DEST_LIBAFSNONFS = ${DEST}/root.client/bin/${LIBAFSNONFS}
72
73
74 # Without this line, gmake tries to build libafs
75 .PHONY: libafs
76
77 # libafs:       $(LIBAFS) $(LIBAFSNONFS)
78 libafs: $(LIBAFSNONFS)
79 # install_libafs:       $(INST_LIBAFS) $(INST_LIBAFSNONFS)
80 install_libafs: $(INST_LIBAFSNONFS)
81 # dest_libafs:  $(DEST_LIBAFS) $(DEST_LIBAFSNONFS)
82 dest_libafs:    $(DEST_LIBAFSNONFS)
83 #libafs:
84 #       echo WARNING: No kernel module for ${SYS_NAME}
85
86 #install_libafs:
87 #       echo WARNING: No kernel module for ${SYS_NAME}
88
89 #dest_libafs:
90 #       echo WARNING: No kernel module for ${SYS_NAME}
91
92
93 $(INST_LIBAFS): $(LIBAFS)
94         $(INSTALL) -f $? $@
95
96 $(INST_LIBAFSNONFS): $(LIBAFSNONFS)
97         $(INSTALL) -f $? $@
98
99 $(DEST_LIBAFS): $(LIBAFS)
100         $(INSTALL) -f $? $@
101
102 $(DEST_LIBAFSNONFS): $(LIBAFSNONFS)
103         $(INSTALL) -f $? $@
104
105 ${LIBAFS}: $(AFSAOBJS) $(AFSNFSOBJS)
106            echo "Skipping kernel module build"
107
108 ${LIBAFSNONFS}:  $(AFSAOBJS) $(AFSNONFSOBJS)
109            echo "Skipping kernel module build"