1 |
tis4000 |
1.1 |
# |
2 |
|
|
# Makefile.target |
3 |
|
|
# |
4 |
|
|
# this file defines the default target and its components |
5 |
|
|
# for the current build directory; there must be a target |
6 |
|
|
# named 'user_target' (see Makefile.defaults) somewhere at |
7 |
|
|
# the head of the chain, otherwise there aren't really any |
8 |
|
|
# constraints ... |
9 |
|
|
# |
10 |
|
|
ifeq ($(CPU),I80486) |
11 |
|
|
user_target: rsrvLib.o priv_rsrvLib.o |
12 |
|
|
else |
13 |
|
|
user_target: rsrvLib.o |
14 |
|
|
endif |
15 |
|
|
|
16 |
|
|
# |
17 |
|
|
# Define targets for the rsrvLib.o |
18 |
|
|
# |
19 |
|
|
|
20 |
|
|
rsrvLib.o: $(OBJS) |
21 |
|
|
@ echo "linking rsrvLib.o for $(DST)" |
22 |
|
|
@ $(RM) $@ |
23 |
|
|
@ $(LD) -r $(OBJS) -o $@ |
24 |
|
|
|
25 |
|
|
priv_rsrvLib.o: $(PRIV_OBJS) |
26 |
|
|
@ echo "linking Priviledge version of rsrvLib.o for $(DST)" |
27 |
|
|
@ $(RM) $@ |
28 |
|
|
@ $(LD) -r $(PRIV_OBJS) -o $@ |
29 |
|
|
|
30 |
|
|
|
31 |
|
|
# note: by making the special version dependent on the |
32 |
|
|
# standard, we inherit the dependencies. |
33 |
|
|
priv_rsrvTask.o: rsrvTask.o |
34 |
|
|
@ $(RM) priv_rsrvTask.o |
35 |
|
|
$(CC) -DvxWorks -DV5_vxWorks -c $(CFLAGS) -DPRIV_AUDIT -o $@ $(SRC)/rsrvTask.c |
36 |
|
|
|
37 |
|
|
|
38 |
|
|
# |
39 |
|
|
# END of Makefile.target |
40 |
|
|
# |
41 |
|
|
# Dependency list for .o files - automatically generated!! |
42 |
|
|
# reference ./Makefile & ../Makefile.defaults |
43 |
|
|
# |
44 |
|
|
|