2018-07-12 21:23:05 +02:00
|
|
|
export DATADIR := "/usr/share/ircddbgateway"
|
|
|
|
|
export LOGDIR := "/var/log"
|
|
|
|
|
export CONFDIR := "/etc"
|
|
|
|
|
export BINDIR := "/usr/bin"
|
|
|
|
|
|
2018-07-19 20:07:03 +02:00
|
|
|
# Add -DDCS_LINK to the end of the CFLAGS line below to add DCS linking to StarNet
|
|
|
|
|
# Add -DDEXTRA_LINK to the end of the CFLAGS line below to add DExtra linking to StarNet
|
|
|
|
|
|
2018-07-12 21:23:05 +02:00
|
|
|
export CXX := $(shell wx-config --cxx)
|
|
|
|
|
export CFLAGS := -O2 -Wall $(shell wx-config --cxxflags) -DLOG_DIR='$(LOGDIR)' -DCONF_DIR='$(CONFDIR)' -DDATA_DIR='$(DATADIR)'
|
|
|
|
|
export GUILIBS := $(shell wx-config --libs adv,core,base)
|
|
|
|
|
export LIBS := $(shell wx-config --libs base)
|
|
|
|
|
export LDFLAGS :=
|
|
|
|
|
|
2018-11-11 17:12:05 +01:00
|
|
|
.PHONY: all
|
2018-09-19 22:05:28 +02:00
|
|
|
all: ircDDBGateway/ircddbgateway ircDDBGatewayConfig/ircddbgatewayconfig APRSTransmit/aprstransmitd RemoteControl/remotecontrol \
|
|
|
|
|
StarNetServer/starnetserver TextTransmit/texttransmitd TimerControl/timercontrol TimeServer/timeserver VoiceTransmit/voicetransmitd
|
2018-07-12 21:23:05 +02:00
|
|
|
|
2018-11-11 17:12:05 +01:00
|
|
|
ircDDBGateway/ircddbgateway: GUICommon/GUICommon.a Common/Common.a ircDDB/IRCDDB.a force
|
2018-11-06 19:52:17 +01:00
|
|
|
$(MAKE) -C ircDDBGateway -f MakefileGUI
|
2018-07-12 21:23:05 +02:00
|
|
|
|
2018-11-11 17:12:05 +01:00
|
|
|
ircDDBGatewayConfig/ircddbgatewayconfig: GUICommon/GUICommon.a Common/Common.a force
|
2018-11-06 19:52:17 +01:00
|
|
|
$(MAKE) -C ircDDBGatewayConfig
|
2018-07-12 21:23:05 +02:00
|
|
|
|
2018-11-11 17:12:05 +01:00
|
|
|
APRSTransmit/aprstransmitd: Common/Common.a force
|
2018-11-06 19:52:17 +01:00
|
|
|
$(MAKE) -C APRSTransmit
|
2018-07-12 21:23:05 +02:00
|
|
|
|
2018-11-11 17:12:05 +01:00
|
|
|
RemoteControl/remotecontrol: Common/Common.a force
|
2018-11-06 19:52:17 +01:00
|
|
|
$(MAKE) -C RemoteControl -f MakefileGUI
|
2018-07-12 21:23:05 +02:00
|
|
|
|
2018-11-11 17:12:05 +01:00
|
|
|
StarNetServer/starnetserver: Common/Common.a ircDDB/IRCDDB.a force
|
2018-11-06 19:52:17 +01:00
|
|
|
$(MAKE) -C StarNetServer -f MakefileGUI
|
2018-07-12 21:23:05 +02:00
|
|
|
|
2018-11-11 17:12:05 +01:00
|
|
|
TextTransmit/texttransmitd: Common/Common.a force
|
2018-11-06 19:52:17 +01:00
|
|
|
$(MAKE) -C TextTransmit
|
2018-07-12 21:23:05 +02:00
|
|
|
|
2018-11-11 17:12:05 +01:00
|
|
|
TimerControl/timercontrol: Common/Common.a GUICommon/GUICommon.a force
|
2018-11-06 19:52:17 +01:00
|
|
|
$(MAKE) -C TimerControl -f MakefileGUI
|
2018-07-12 21:23:05 +02:00
|
|
|
|
2018-11-11 17:12:05 +01:00
|
|
|
TimeServer/timeserver: Common/Common.a GUICommon/GUICommon.a force
|
2018-11-06 19:52:17 +01:00
|
|
|
$(MAKE) -C TimeServer -f MakefileGUI
|
2018-07-12 21:23:05 +02:00
|
|
|
|
2018-11-11 17:12:05 +01:00
|
|
|
VoiceTransmit/voicetransmitd: Common/Common.a force
|
2018-11-06 19:52:17 +01:00
|
|
|
$(MAKE) -C VoiceTransmit
|
2018-07-12 21:23:05 +02:00
|
|
|
|
2018-11-11 17:12:05 +01:00
|
|
|
GUICommon/GUICommon.a: force
|
2018-11-06 19:52:17 +01:00
|
|
|
$(MAKE) -C GUICommon
|
2018-07-12 21:23:05 +02:00
|
|
|
|
2018-11-11 17:12:05 +01:00
|
|
|
Common/Common.a: force
|
2018-11-06 19:52:17 +01:00
|
|
|
$(MAKE) -C Common
|
2018-07-12 21:23:05 +02:00
|
|
|
|
2018-11-11 17:12:05 +01:00
|
|
|
ircDDB/IRCDDB.a: force
|
2018-11-06 19:52:17 +01:00
|
|
|
$(MAKE) -C ircDDB
|
2018-07-12 21:23:05 +02:00
|
|
|
|
2018-11-11 17:12:05 +01:00
|
|
|
.PHONY: install
|
2018-07-12 21:23:05 +02:00
|
|
|
install: all
|
2018-11-06 19:52:17 +01:00
|
|
|
$(MAKE) -C Data install
|
|
|
|
|
$(MAKE) -C APRSTransmit install
|
|
|
|
|
$(MAKE) -C ircDDBGateway -f MakefileGUI install
|
|
|
|
|
$(MAKE) -C RemoteControl -f MakefileGUI install
|
|
|
|
|
$(MAKE) -C StarNetServer -f MakefileGUI install
|
|
|
|
|
$(MAKE) -C TextTransmit install
|
|
|
|
|
$(MAKE) -C TimerControl -f MakefileGUI install
|
|
|
|
|
$(MAKE) -C TimeServer -f MakefileGUI install
|
|
|
|
|
$(MAKE) -C VoiceTransmit install
|
|
|
|
|
$(MAKE) -C ircDDBGatewayConfig install
|
2018-07-12 21:23:05 +02:00
|
|
|
|
2018-11-11 17:12:05 +01:00
|
|
|
.PHONY: clean
|
2018-07-12 21:23:05 +02:00
|
|
|
clean:
|
2018-11-06 19:52:17 +01:00
|
|
|
$(MAKE) -C Common clean
|
|
|
|
|
$(MAKE) -C ircDDB clean
|
|
|
|
|
$(MAKE) -C GUICommon clean
|
|
|
|
|
$(MAKE) -C APRSTransmit clean
|
|
|
|
|
$(MAKE) -C ircDDBGateway -f MakefileGUI clean
|
|
|
|
|
$(MAKE) -C RemoteControl -f MakefileGUI clean
|
|
|
|
|
$(MAKE) -C StarNetServer -f MakefileGUI clean
|
|
|
|
|
$(MAKE) -C TextTransmit clean
|
|
|
|
|
$(MAKE) -C TimerControl -f MakefileGUI clean
|
|
|
|
|
$(MAKE) -C TimeServer -f MakefileGUI clean
|
|
|
|
|
$(MAKE) -C VoiceTransmit clean
|
|
|
|
|
$(MAKE) -C ircDDBGatewayConfig clean
|
2018-11-11 17:12:05 +01:00
|
|
|
|
|
|
|
|
.PHONY: force
|
|
|
|
|
force:
|
|
|
|
|
true;
|