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: fileTran.o SecFT.o |
12 |
else |
13 |
user_target: fileTran.o |
14 |
endif |
15 |
|
16 |
# |
17 |
# Define targets for the filetransfer programs |
18 |
# |
19 |
|
20 |
fileTran.o: $(OBJS) |
21 |
@ echo "linking fileTran.o for $(DST)" |
22 |
@ $(RM) $@ |
23 |
@ $(LD) -r $(OBJS) -o $@ |
24 |
|
25 |
SecFT.o: $(PRIV_OBJS) |
26 |
@ echo "linking SecFT 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 |
SecFT_sftp.o: FT_sftp.o |
34 |
@ $(RM) SecFT_sftp.o |
35 |
$(CC) -DvxWorks -DV5_vxWorks -c $(CFLAGS) -DPRIV_AUDIT -o $@ $(SRC)/FT_sftp.c |
36 |
|
37 |
SecFT_sftpd.o: FT_sftpd.o |
38 |
@ $(RM) SecFT_sftpd.o |
39 |
$(CC) -DvxWorks -DV5_vxWorks -c $(CFLAGS) -DPRIV_AUDIT -o $@ $(SRC)/FT_sftpd.c |
40 |
|
41 |
SecFT_shared.o: FT_shared.o |
42 |
@ $(RM) SecFT_shared.o |
43 |
$(CC) -DvxWorks -DV5_vxWorks -c $(CFLAGS) -DPRIV_AUDIT -o $@ $(SRC)/FT_shared.c |
44 |
|
45 |
# |
46 |
# END of Makefile.target |
47 |
# |
48 |
# Dependency list for .o files - automatically generated!! |
49 |
# reference ./Makefile & ../Makefile.defaults |
50 |
# |
51 |
|