# seems to hang). When the compiler sees the +ES1.Xindirect_calls
# option, however, it issues a warning and turns off +Z.
#
+<hp_ux110 hp_ux102>
KDEFS= +ES1.Xindirect_calls +XixdU +Hx0 +ESlit +ESsfc +ESssf -Wp,-H300000 -D_KERNEL -D_KERNEL_BUILD -D_UNSUPPORTED \
-DMP +R500 -Wl,+k $(CPU_KDEFS)
KDEFS_32 = +DA1.0 +DS1.0
# warning 478: "+Z" and "+ES1.Xindirect_calls" are mutually exclusive. "+Z" ignored.
# warning 530: LP64 migration: Casting from loose to strict alignment: Resulting pointer may be misaligned.
KDEFS_64 = +DA2.0W +DS2.0 +M2 +W 478,530
+
+<all>
+
+<hp_ux1122>
+KDEFS= +kernel -Wp,-H300000 -D_KERNEL -D_KERNEL_BUILD -D_UNSUPPORTED \
+ -DFINE_GRAINED_PROTO_FILES \
+ -DMP -Wl,+k $(CPU_KDEFS)
+KDEFS_32 =
+KDEFS_64 = +DD64
+
+<all>
+
DEFINES= -DAFSDEBUG -DKERNEL -DAFS -DVICE -DNFS -DUFS -DINET -DQUOTA -DGETMOUNT -DHPONCPLUS
OPTF=${OPT}
OPTF2=${OPT2}
include Makefile.common
+<hp_ux110 hp_ux102>
BITS = 64 32
+<hp_ux1122>
+BITS = 64
+<all>
setup:
-$(RM) -f h conf net dux machine netinet nfs rpc s200 ufs sys
+<hp_ux110 hp_ux102>
ln -fs /usr/include/sys h
+<hp_ux1122>
+ ln -fs /etc/conf/h h
+<all>
ln -fs /etc/conf conf
ln -fs /etc/conf/net net
ln -fs /etc/conf/dux dux
ln -fs /etc/conf/nfs nfs
ln -fs /usr/include/rpc rpc
ln -fs /etc/conf/machine s200
+<hp_ux110 hp_ux102>
ln -fs /etc/conf/ufs ufs
+<hp_ux1122>
+ ln -fs /etc/conf/sys ufs
+<all>
ln -fs /usr/include/sys sys
for b in $(BITS); do \
for t in $(KOBJ); do \