1 #############################################################
5 #############################################################
7 TTCP_SOURCE_URL
=http
://ftp.sunet.se
/ftp
/pub
/network
/monitoring
/ttcp
9 TTCP_BUILD_DIR
=$(BUILD_DIR
)/ttcp
11 $(DL_DIR
)/$(TTCP_SOURCE
):
12 $(WGET
) -P
$(DL_DIR
) $(TTCP_SOURCE_URL
)/$(TTCP_SOURCE
)
14 $(TTCP_BUILD_DIR
)/.unpacked
: $(DL_DIR
)/$(TTCP_SOURCE
)
15 -mkdir
$(TTCP_BUILD_DIR
)
16 cp
-af
$(DL_DIR
)/$(TTCP_SOURCE
) $(TTCP_BUILD_DIR
)
17 touch
$(TTCP_BUILD_DIR
)/.unpacked
19 $(TTCP_BUILD_DIR
)/.configured
: $(TTCP_BUILD_DIR
)/.unpacked
20 touch
$(TTCP_BUILD_DIR
)/.configured
22 $(TTCP_BUILD_DIR
)/ttcp
: $(TTCP_BUILD_DIR
)/.configured
23 $(TARGET_CC
) -O2
-o
$(TTCP_BUILD_DIR
)/ttcp
$(TTCP_BUILD_DIR
)/$(TTCP_SOURCE
)
25 $(TARGET_DIR
)/usr
/bin
/ttcp
: $(TTCP_BUILD_DIR
)/ttcp
26 cp
-af
$(TTCP_BUILD_DIR
)/ttcp
$(TARGET_DIR
)/usr
/bin
/
28 ttcp
: $(TARGET_DIR
)/usr
/bin
/ttcp
30 ttcp-source
: $(DL_DIR
)/$(TTCP_SOURCE
)
33 rm -f
$(TTCP_BUILD_DIR
)/*.o
$(TTCP_BUILD_DIR
)/ttcp
36 rm -rf
$(TTCP_BUILD_DIR
)
This page took 0.04168 seconds and 5 git commands to generate.