/* * mips RISC/os should add "-systype bsd43" to CDEBUGFLAGS. * * dec 5000 series systems should add -Ddec to CDEBUGFLAGS. Once * again, I don't know the symbol, so I can't do it right here. * * System V systems needs -DSYSV, but I think that's done * automatically by the Imake configuration files for System V-like * systems, so you probably shouldn't have to worry about it. */ /* * For Mips RISC/OS: */ #if defined(MipsArchitecture) && !defined(UltrixArchitecture) CDEBUGFLAGS = -systype bsd43 -O -float EXTRA_LIBRARIES = #endif #if HasVoidSignalReturn == YES DEFINES= -DSIGVOID #endif SRCS1= ibuild.c OBJS1= ibuild.o DEPLIBS1= SRCS2= horizon.c OBJS2= horizon.o stroke.o DEPLIBS2= SRCS3= hsi_header.c stroke.c OBJS3= hsi_header.o stroke.o DEPLIBS3= SRCS3= balance.c OBJS3= balance.o DEPLIBS3= PROGRAMS= horizon hsi_header balance ibuild STD_INCLUDES= -I../src -I../V/lib LOCAL_LIBRARIES = -L../V/lib -lV -lm OBJS= $(OBJS1) $(OBJS2) $(OBJS3) SRCS= $(SRCS1) $(SRCS2) $(SRCS3) AllTarget($(PROGRAMS)) NormalProgramTarget(ibuild,$(OBJS1),$(DEPLIBS1),$(LOCAL_LIBRARIES),) SaberProgramTarget(ibuild,$(SRCS1),$(OBJS1),$(LOCAL_LIBRARIES),) NormalProgramTarget(horizon,$(OBJS2),$(DEPLIBS2),$(LOCAL_LIBRARIES),) SaberProgramTarget(horizon,$(SRCS2),$(OBJS2),$(LOCAL_LIBRARIES),) NormalProgramTarget(hsi_header,$(OBJS3),$(DEPLIBS3),$(LOCAL_LIBRARIES),) SaberProgramTarget(hsi_header,$(SRCS3),$(OBJS3),$(LOCAL_LIBRARIES),) NormalProgramTarget(balance,$(OBJS4),$(DEPLIBS4),$(LOCAL_LIBRARIES),) SaberProgramTarget(balance,$(SRCS4),$(OBJS4),$(LOCAL_LIBRARIES),) DependTarget() LintTarget() all:: ./ibuild TF16_CnBeta >f16.tables ./ibuild TF16_ClBeta >>f16.tables ./ibuild TF16_CDb >>f16.tables ./ibuild TGeneric_Thrust >>f16.tables ./ibuild TGeneric_ABThrust >>f16.tables ./hsi_header > hsi.h ./horizon > horizon.h cp horizon.h ../fsim/ cp hsi.h ../fsim/ cp f16.tables ../fsim/