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: dbServer priv_dbServer scriptTask.o emergency.o |
12 |
else |
13 |
user_target: dbServer scriptTask.o emergency.o |
14 |
endif |
15 |
|
16 |
# getsocklinger.o |
17 |
|
18 |
# |
19 |
# Define targets for the dbServer |
20 |
# |
21 |
|
22 |
dbServer: $(OBJS) |
23 |
@ echo "linking dbServer for $(DST)" |
24 |
@ $(RM) [email protected] |
25 |
@ $(LD) -r $(OBJS) -o [email protected] |
26 |
|
27 |
# |
28 |
# Define targets for the priv_dbServer |
29 |
# |
30 |
|
31 |
priv_dbServer: $(PRIV_OBJS) |
32 |
@ echo "linking priv_dbServer for $(DST)" |
33 |
@ $(RM) [email protected] |
34 |
@ $(LD) -r $(PRIV_OBJS) -o [email protected] |
35 |
|
36 |
# note: by making the special version dependent on the |
37 |
# standard, we inherit the dependencies. |
38 |
priv_dbserver.o: dbserver.o |
39 |
@ $(RM) priv_dbserver.o |
40 |
$(CC) -DvxWorks -DV5_vxWorks -c $(CFLAGS) -DPRIV_AUDIT -o [email protected] $(SRC)/dbserver.c |
41 |
|
42 |
# getsocklinger.o: ..\..\../share/src/redund/getsocklinger.c |
43 |
|
44 |
# |
45 |
# END of Makefile.target |
46 |
# |
47 |
# Dependency list for .o files - automatically generated!! |
48 |
# reference ./Makefile & ../Makefile.defaults |
49 |
# |
50 |
|