Harald Welte | 6807982 | 2017-12-12 16:30:53 +0100 | [diff] [blame] | 1 | |
| 2 | ECLIPSEGIT:=https://github.com/eclipse |
| 3 | ECLIPSEGIT2:=git://git.eclipse.org/gitroot/titan |
Harald Welte | 701b574 | 2018-01-22 11:29:13 +0100 | [diff] [blame] | 4 | OSMOGITHUB:=https://github.com/osmocom |
Harald Welte | 6807982 | 2017-12-12 16:30:53 +0100 | [diff] [blame] | 5 | |
| 6 | ECLIPSEGIT_REPOS= titan.Libraries.TCCUsefulFunctions \ |
| 7 | titan.ProtocolModules.ICMP \ |
| 8 | titan.ProtocolModules.ICMPv6 \ |
| 9 | titan.ProtocolModules.IP \ |
| 10 | titan.ProtocolModules.L2TP \ |
| 11 | titan.ProtocolModules.M3UA \ |
| 12 | titan.ProtocolModules.SMPP \ |
| 13 | titan.ProtocolModules.TCP \ |
| 14 | titan.ProtocolModules.UDP \ |
| 15 | titan.ProtocolModules.RTP \ |
| 16 | titan.TestPorts.Common_Components.Socket-API \ |
| 17 | titan.TestPorts.IPL4asp \ |
| 18 | titan.TestPorts.LANL2asp \ |
| 19 | titan.TestPorts.PCAPasp \ |
Harald Welte | 6807982 | 2017-12-12 16:30:53 +0100 | [diff] [blame] | 20 | titan.TestPorts.SIPmsg \ |
| 21 | titan.TestPorts.TCPasp \ |
| 22 | titan.TestPorts.TELNETasp \ |
Harald Welte | 53a06cd | 2018-01-27 13:34:25 +0100 | [diff] [blame] | 23 | titan.TestPorts.UDPasp \ |
| 24 | titan.TestPorts.UNIX_DOMAIN_SOCKETasp |
Harald Welte | 6807982 | 2017-12-12 16:30:53 +0100 | [diff] [blame] | 25 | |
| 26 | ECLIPSEGIT2_REPOS= titan.ProtocolModules.GRE \ |
| 27 | titan.ProtocolModules.M2PA \ |
| 28 | titan.ProtocolModules.SCTP \ |
| 29 | titan.ProtocolModules.SUA \ |
| 30 | titan.ProtocolModules.SDP \ |
| 31 | titan.TestPorts.GPIO \ |
| 32 | titan.ProtocolModules.BSSAPP_v7.3.0 \ |
| 33 | titan.ProtocolModules.BSSGP_v13.0.0 \ |
| 34 | titan.ProtocolModules.BSSMAP_v11.2.0 \ |
| 35 | titan.ProtocolModules.GTP_v13.5.0 \ |
| 36 | titan.ProtocolModules.GTPv2_v13.7.0 \ |
| 37 | titan.ProtocolModules.ISUP_Q.762 \ |
| 38 | titan.ProtocolModules.LLC_v7.1.0 \ |
| 39 | titan.ProtocolModules.MobileL3_v13.4.0 \ |
| 40 | titan.ProtocolModules.NS_v7.3.0 \ |
| 41 | titan.ProtocolModules.SNDCP_v7.0.0 |
| 42 | |
Harald Welte | c98b42c | 2018-01-27 14:11:56 +0100 | [diff] [blame^] | 43 | OSMOGITHUB_REPOS= titan.TestPorts.SCTPasp |
Harald Welte | 701b574 | 2018-01-22 11:29:13 +0100 | [diff] [blame] | 44 | |
| 45 | ALL_REPOS=$(ECLIPSEGIT_REPOS) $(ECLIPSEGIT2_REPOS) $(OSMOGITHUB_REPOS) |
Harald Welte | 6807982 | 2017-12-12 16:30:53 +0100 | [diff] [blame] | 46 | |
| 47 | all: $(ALL_REPOS) |
| 48 | |
| 49 | update: $(foreach dir,$(ALL_REPOS),$(dir)/update) |
| 50 | clean: $(foreach dir,$(ALL_REPOS),$(dir)/clean) |
| 51 | |
| 52 | define GIT_template |
| 53 | $(1): |
| 54 | git clone $(2)/$(1) |
| 55 | |
| 56 | .PHONY:$(1)/update |
| 57 | $(1)/update: $(1) |
| 58 | (cd $(1) && git fetch && git checkout -f -B master) |
| 59 | |
| 60 | .PHONY: $(1)/clean |
| 61 | $(1)/clean: |
| 62 | @rm -rf $(1) |
| 63 | endef |
| 64 | |
| 65 | $(foreach dir,$(ECLIPSEGIT_REPOS), \ |
| 66 | $(eval $(call GIT_template,$(dir),$(ECLIPSEGIT)))) |
| 67 | |
| 68 | $(foreach dir,$(ECLIPSEGIT2_REPOS), \ |
| 69 | $(eval $(call GIT_template,$(dir),$(ECLIPSEGIT2)))) |
Harald Welte | 701b574 | 2018-01-22 11:29:13 +0100 | [diff] [blame] | 70 | |
| 71 | $(foreach dir,$(OSMOGITHUB_REPOS), \ |
| 72 | $(eval $(call GIT_template,$(dir),$(OSMOGITHUB)))) |