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