File: Imakefile

package info (click to toggle)
acm 5.0-23.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 8,364 kB
  • ctags: 4,793
  • sloc: ansic: 42,444; makefile: 706; cpp: 293; perl: 280; sh: 198
file content (76 lines) | stat: -rw-r--r-- 1,920 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
/*
 * 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/