linux-newvcache-more-simplification-20020405
[openafs.git] / README.DEVEL
1 Notes on Coding Standards/Requirements for OpenAFS Source
2 ---------------------------------------------------------
3
4 Do not use $< in any cross-platform dir as it requires a reasonable
5 make that is not available on all systems.
6
7 Be careful with prototypes/ANSI-C in code that will be compiled for
8 kernel source.  In general, avoid them until we have figured out
9 exactly when/where they can be used safely.
10
11 Do not have build rules that build multiple targets. Make doesn't seem able
12 to handle this, and it interferes with -j builds. (In particular, build the
13 rxgen targets individually and not using the flags for building all the files
14 in one shot.)
15
16 Try to test builds using gmake -j # MAKE="gmake -j #", it seems like a good
17 way to find missing or order-dependent dependency rules. (Is there a better
18 way to do this?)