export DATADIR := "/usr/share/ircddbgateway" export LOGDIR := "/var/log" export CONFDIR := "/etc" export BINDIR := "/usr/bin" # 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 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 := all: ircDDBGateway/ircddbgateway ircDDBGatewayConfig/ircddbgatewayconfig APRSTransmit/aprstransmitd RemoteControl/remotecontrol \ StarNetServer/starnetserver TextTransmit/texttransmitd TimerControl/timercontrol TimeServer/timeserver VoiceTransmit/voicetransmitd ircDDBGateway/ircddbgateway: GUICommon/GUICommon.a Common/Common.a ircDDB/IRCDDB.a make -C ircDDBGateway -f MakefileGUI ircDDBGatewayConfig/ircddbgatewayconfig: GUICommon/GUICommon.a Common/Common.a make -C ircDDBGatewayConfig APRSTransmit/aprstransmitd: Common/Common.a make -C APRSTransmit RemoteControl/remotecontrol: Common/Common.a make -C RemoteControl -f MakefileGUI StarNetServer/starnetserver: Common/Common.a ircDDB/IRCDDB.a make -C StarNetServer -f MakefileGUI TextTransmit/texttransmitd: Common/Common.a make -C TextTransmit TimerControl/timercontrol: Common/Common.a GUICommon/GUICommon.a make -C TimerControl -f MakefileGUI TimeServer/timeserver: Common/Common.a GUICommon/GUICommon.a make -C TimeServer -f MakefileGUI VoiceTransmit/voicetransmitd: Common/Common.a make -C VoiceTransmit GUICommon/GUICommon.a: make -C GUICommon Common/Common.a: make -C Common ircDDB/IRCDDB.a: make -C ircDDB install: all 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 clean: 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