diff --git a/APRSTransmit/Makefile b/APRSTransmit/Makefile new file mode 100644 index 0000000..ddb4fca --- /dev/null +++ b/APRSTransmit/Makefile @@ -0,0 +1,13 @@ +OBJECTS = APRSParser.o APRSTransmitApp.o APRSTransmit.o + +all: aprstransmit + +aprstransmit: $(OBJECTS) + $(CXX) $(OBJECTS) ../Common/Common.a $(LDFLAGS) $(LIBS) -o aprstransmit + +%.o: %.cpp + $(CXX) $(CFLAGS) -I../Common -c -o $@ $< + +clean: + $(RM) aprstransmit *.o *.d *.bak *~ + diff --git a/Common/Makefile b/Common/Makefile new file mode 100644 index 0000000..8fdd02c --- /dev/null +++ b/Common/Makefile @@ -0,0 +1,22 @@ +OBJECTS = AMBEData.o AnnouncementUnit.o APRSCollector.o APRSWriter.o APRSWriterThread.o AudioUnit.o CacheManager.o CallsignList.o \ + CallsignServer.o CCITTChecksum.o CCSData.o CCSHandler.o CCSProtocolHandler.o ConnectData.o DCSHandler.o DCSProtocolHandler.o \ + DCSProtocolHandlerPool.o DDData.o DDHandler.o DExtraHandler.o DExtraProtocolHandler.o DExtraProtocolHandlerPool.o \ + DPlusAuthenticator.o DPlusHandler.o DPlusProtocolHandler.o DPlusProtocolHandlerPool.o DRATSServer.o DTMF.o \ + DummyRepeaterProtocolHandler.o DVTOOLFileReader.o EchoUnit.o G2Handler.o G2ProtocolHandler.o GatewayCache.o \ + HBRepeaterProtocolHandler.o HeaderData.o HeaderLogger.o HeardData.o HostFile.o IcomRepeaterProtocolHandler.o IRCDDBGatewayConfig.o \ + LogEvent.o Logger.o PollData.o RemoteHandler.o RemoteLinkData.o RemoteProtocolHandler.o RemoteRepeaterData.o RemoteStarNetGroup.o \ + RemoteStarNetUser.o RepeaterCache.o RepeaterHandler.o SHA256.o SlowDataEncoder.o StarNetHandler.o StatusData.o \ + TCPReaderWriterClient.o TCPReaderWriterServer.o TextCollector.o TextData.o Timer.o UDPReaderWriter.o UserCache.o Utils.o \ + VersionUnit.o XLXHostsFileDownloader.o + +all: Common.a + +Common.a: $(OBJECTS) + $(AR) rcs Common.a $(OBJECTS) + +%.o: %.cpp + $(CXX) $(CFLAGS) -I../ircDDB -c -o $@ $< + +clean: + $(RM) Common.a *.o *.d *.bak *~ + diff --git a/GUICommon/Makefile b/GUICommon/Makefile new file mode 100644 index 0000000..4a837a3 --- /dev/null +++ b/GUICommon/Makefile @@ -0,0 +1,14 @@ +OBJECTS = AddressTextCtrl.o CallsignTextCtrl.o DCSSet.o DescriptionTextCtrl.o DExtraSet.o DPlusSet.o DPRSSet.o PortTextCtrl.o RemoteSet.o \ + RepeaterDataSet.o RepeaterInfoSet.o RestrictedTextCtrl.o StarNetSet.o XLXSet.o + +all: GUICommon.a + +GUICommon.a: $(OBJECTS) + $(AR) rcs GUICommon.a $(OBJECTS) + +%.o: %.cpp + $(CXX) $(CFLAGS) -I../Common -c -o $@ $< + +clean: + $(RM) GUICommon.a *.o *.d *.bak *~ + diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..1605144 --- /dev/null +++ b/Makefile @@ -0,0 +1,62 @@ +export DATADIR := "/usr/local/etc" +export LOGDIR := "/var/log" +export CONFDIR := "/etc" + +export CXX := $(shell wx-config --cxx) +export CFLAGS := -g -O2 -Wall $(shell wx-config --cxxflags) -DLOG_DIR='$(LOGDIR)' -DCONF_DIR='$(CONFDIR)' -DDATA_DIR='$(DATADIR)' +export LIBS := $(shell wx-config --libs adv,core) +export LDFLAGS := -g + +all: ircDDBGateway/ircddbgateway ircDDBGatewayConfig/ircddbgatewayconfig APRSTransmit/aprstransmit RemoteControl/remotecontrol \ + StarNetServer/starnetserver TextTransmit/texttransmit TimerControl/timercontrol TimeServer/timeserver VoiceTransmit/voicetransmit + +ircDDBGateway/ircddbgateway: Common/Common.a ircDDB/IRCDDB.a + make -C ircDDBGateway + +ircDDBGatewayConfig/ircddbgatewayconfig: GUICommon/GUICommon.a Common/Common.a + make -C ircDDBGatewayConfig + +APRSTransmit/aprstransmit: Common/Common.a + make -C APRSTransmit + +RemoteControl/remotecontrol: Common/Common.a GUICommon/GUICommon.a + make -C RemoteControl + +StarNetServer/starnetserver: Common/Common.a ircDDB/IRCDDB.a + make -C StarNetServer + +TextTransmit/texttransmit: Common/Common.a + make -C TextTransmit + +TimerControl/timercontrol: Common/Common.a GUICommon/GUICommon.a + make -C TimerControl + +TimeServer/timeserver: Common/Common.a GUICommon/GUICommon.a + make -C TimeServer + +VoiceTransmit/voicetransmit: Common/Common.a + make -C VoiceTransmit + +GUICommon/GUICommon.a: + make -C GUICommon + +Common/Common.a: + make -C Common + +ircDDB/IRCDDB.a: + make -C ircDDB + +clean: + make -C Common clean + make -C ircDDB clean + make -C GUICommon clean + make -C APRSTransmit clean + make -C ircDDBGateway clean + make -C RemoteControl clean + make -C StarNetServer clean + make -C TextTransmit clean + make -C TimerControl clean + make -C TimeServer clean + make -C VoiceTransmit clean + make -C ircDDBGatewayConfig clean + diff --git a/RemoteControl/Makefile b/RemoteControl/Makefile new file mode 100644 index 0000000..16e20bf --- /dev/null +++ b/RemoteControl/Makefile @@ -0,0 +1,15 @@ +OBJECTS = RemoteControlApp.o RemoteControlCallsignData.o RemoteControlConfig.o RemoteControlFrame.o RemoteControlLinkData.o \ + RemoteControlPreferences.o RemoteControlRemoteControlHandler.o RemoteControlRemoteSet.o RemoteControlRepeaterData.o \ + RemoteControlRepeaterPanel.o RemoteControlStarNetGroup.o RemoteControlStarNetPanel.o RemoteControlStarNetUser.o + +all: remotecontrol + +remotecontrol: $(OBJECTS) + $(CXX) $(OBJECTS) ../GUICommon/GUICommon.a ../Common/Common.a $(LDFLAGS) $(LIBS) -o remotecontrol + +%.o: %.cpp + $(CXX) $(CFLAGS) -I../Common -I../GUICommon -c -o $@ $< + +clean: + $(RM) remotecontrol *.o *.d *.bak *~ + diff --git a/RemoteControl/RemoteControlApp.cpp b/RemoteControl/RemoteControlApp.cpp index ec215a3..d444bcb 100644 --- a/RemoteControl/RemoteControlApp.cpp +++ b/RemoteControl/RemoteControlApp.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2011,2012,2013 by Jonathan Naylor G4KLX + * Copyright (C) 2011,2012,2013,2018 by Jonathan Naylor G4KLX * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -23,7 +23,7 @@ #include #include -IMPLEMENT_APP(CRemoteControlApp) +wxIMPLEMENT_APP(CRemoteControlApp); const wxChar* NAME_PARAM = wxT("Name"); diff --git a/RemoteControl/RemoteControlApp.h b/RemoteControl/RemoteControlApp.h index 6fde68e..1e33f79 100644 --- a/RemoteControl/RemoteControlApp.h +++ b/RemoteControl/RemoteControlApp.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2011,2012,2013 by Jonathan Naylor G4KLX + * Copyright (C) 2011,2012,2013 b,2018y Jonathan Naylor G4KLX * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -54,6 +54,6 @@ private: CRemoteControlConfig* m_config; }; -DECLARE_APP(CRemoteControlApp) +wxDECLARE_APP(CRemoteControlApp); #endif diff --git a/RemoteControl/RemoteControlFrame.cpp b/RemoteControl/RemoteControlFrame.cpp index 8403851..e262c8c 100644 --- a/RemoteControl/RemoteControlFrame.cpp +++ b/RemoteControl/RemoteControlFrame.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2011-2015 by Jonathan Naylor G4KLX + * Copyright (C) 2011-2015,2018 by Jonathan Naylor G4KLX * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -179,7 +179,7 @@ void CRemoteControlFrame::onAbout(wxCommandEvent&) { wxAboutDialogInfo info; info.AddDeveloper(wxT("Jonathan Naylor, G4KLX")); - info.SetCopyright(wxT("(C) 2011-2015 using GPL v2 or later")); + info.SetCopyright(wxT("(C) 2011-2018 using GPL v2 or later")); info.SetName(APPLICATION_NAME); info.SetVersion(VERSION); info.SetDescription(_("This program allows for the controlling of\nircDDB Gateway and STARnet Digital Server.")); diff --git a/StarNetServer/Makefile b/StarNetServer/Makefile new file mode 100644 index 0000000..566b79a --- /dev/null +++ b/StarNetServer/Makefile @@ -0,0 +1,15 @@ +OBJECTS = StarNetServerApp.o StarNetServerCallsignSet.o StarNetServerConfig.o StarNetServerFrame.o StarNetServerIrcDDBSet.o \ + StarNetServerLogRedirect.o StarNetServerMiscellaneousSet.o StarNetServerPreferences.o StarNetServerThread.o \ + StarNetServerThreadHelper.o + +all: starnetserver + +starnetserver: $(OBJECTS) + $(CXX) $(OBJECTS) ../GUICommon/GUICommon.a ../Common/Common.a ../ircDDB/IRCDDB.a $(LDFLAGS) $(LIBS) -o starnetserver + +%.o: %.cpp + $(CXX) $(CFLAGS) -I../Common -I../GUICommon -I../ircDDB -c -o $@ $< + +clean: + $(RM) starnetserver *.o *.d *.bak *~ + diff --git a/StarNetServer/StarNetServerApp.cpp b/StarNetServer/StarNetServerApp.cpp index 84f48bf..d95e1b3 100644 --- a/StarNetServer/StarNetServerApp.cpp +++ b/StarNetServer/StarNetServerApp.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010,2011,2012,2015 by Jonathan Naylor G4KLX + * Copyright (C) 2010,2011,2012,2015,2018 by Jonathan Naylor G4KLX * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -28,7 +28,7 @@ #include #include -IMPLEMENT_APP(CStarNetServerApp) +wxIMPLEMENT_APP(CStarNetServerApp); const wxChar* NOLOGGING_SWITCH = wxT("nolog"); const wxChar* GUI_SWITCH = wxT("gui"); diff --git a/StarNetServer/StarNetServerApp.h b/StarNetServer/StarNetServerApp.h index c97689e..de7adfc 100644 --- a/StarNetServer/StarNetServerApp.h +++ b/StarNetServer/StarNetServerApp.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010,2011,2012 by Jonathan Naylor G4KLX + * Copyright (C) 2010,2011,2012,2018 by Jonathan Naylor G4KLX * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -167,6 +167,6 @@ private: void createThread(); }; -DECLARE_APP(CStarNetServerApp) +wxDECLARE_APP(CStarNetServerApp); #endif diff --git a/StarNetServer/StarNetServerFrame.cpp b/StarNetServer/StarNetServerFrame.cpp index c931797..d0cdd82 100644 --- a/StarNetServer/StarNetServerFrame.cpp +++ b/StarNetServer/StarNetServerFrame.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010-2015 by Jonathan Naylor G4KLX + * Copyright (C) 2010-2015,2018 by Jonathan Naylor G4KLX * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -633,7 +633,7 @@ void CStarNetServerFrame::onAbout(wxCommandEvent&) wxAboutDialogInfo info; info.AddDeveloper(wxT("Jonathan Naylor, G4KLX")); info.AddDeveloper(wxT("Michael Dirska, DL1BFF")); - info.SetCopyright(wxT("(C) 2011-2015 using GPL v2 or later")); + info.SetCopyright(wxT("(C) 2011-2018 using GPL v2 or later")); info.SetName(APPLICATION_NAME); info.SetVersion(VERSION); info.SetDescription(_("This program allows an Internet connected computer \nto become a StarNet Digital Server.")); diff --git a/TextTransmit/Makefile b/TextTransmit/Makefile new file mode 100644 index 0000000..e087564 --- /dev/null +++ b/TextTransmit/Makefile @@ -0,0 +1,13 @@ +OBJECTS = TextTransmit.o + +all: texttransmit + +texttransmit: $(OBJECTS) + $(CXX) $(OBJECTS) ../Common/Common.a $(LDFLAGS) $(LIBS) -o texttransmit + +%.o: %.cpp + $(CXX) $(CFLAGS) -I../Common -c -o $@ $< + +clean: + $(RM) texttransmit *.o *.d *.bak *~ + diff --git a/TimeServer/Makefile b/TimeServer/Makefile new file mode 100644 index 0000000..37ffd2b --- /dev/null +++ b/TimeServer/Makefile @@ -0,0 +1,14 @@ +OBJECTS = TimeServerAnnouncementsSet.o TimeServerApp.o TimeServerConfig.o TimeServerFrame.o TimeServerGatewaySet.o TimeServerLogRedirect.o \ + TimeServerPreferences.o TimeServerThread.o TimeServerThreadHelper.o + +all: timeserver + +timeserver: $(OBJECTS) + $(CXX) $(OBJECTS) ../GUICommon/GUICommon.a ../Common/Common.a $(LDFLAGS) $(LIBS) -o timeserver + +%.o: %.cpp + $(CXX) $(CFLAGS) -I../Common -I../GUICommon -c -o $@ $< + +clean: + $(RM) timeserver *.o *.d *.bak *~ + diff --git a/TimeServer/TimeServerApp.cpp b/TimeServer/TimeServerApp.cpp index f1ec9f6..2b6ba6e 100644 --- a/TimeServer/TimeServerApp.cpp +++ b/TimeServer/TimeServerApp.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2012,2014,2015 by Jonathan Naylor G4KLX + * Copyright (C) 2012,2014,2015,2018 by Jonathan Naylor G4KLX * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,7 +26,7 @@ #include #include -IMPLEMENT_APP(CTimeServerApp) +wxIMPLEMENT_APP(CTimeServerApp); const wxChar* NAME_PARAM = wxT("Name"); const wxChar* NOLOGGING_SWITCH = wxT("nolog"); diff --git a/TimeServer/TimeServerApp.h b/TimeServer/TimeServerApp.h index d232786..0010eb7 100644 --- a/TimeServer/TimeServerApp.h +++ b/TimeServer/TimeServerApp.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2012 by Jonathan Naylor G4KLX + * Copyright (C) 2012,2018 by Jonathan Naylor G4KLX * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -70,6 +70,6 @@ private: void createThread(); }; -DECLARE_APP(CTimeServerApp) +wxDECLARE_APP(CTimeServerApp); #endif diff --git a/TimeServer/TimeServerFrame.cpp b/TimeServer/TimeServerFrame.cpp index d01b52d..c79517a 100644 --- a/TimeServer/TimeServerFrame.cpp +++ b/TimeServer/TimeServerFrame.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2012-2015 by Jonathan Naylor G4KLX + * Copyright (C) 2012-2015,2018 by Jonathan Naylor G4KLX * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -176,7 +176,7 @@ void CTimeServerFrame::onAbout(wxCommandEvent&) { wxAboutDialogInfo info; info.AddDeveloper(wxT("Jonathan Naylor, G4KLX")); - info.SetCopyright(wxT("(C) 2012-2015 using GPL v2 or later")); + info.SetCopyright(wxT("(C) 2012-2018 using GPL v2 or later")); info.SetName(APPLICATION_NAME); info.SetVersion(VERSION); info.SetDescription(_("This program allows a computer running a gateway\nto have the time announced.")); diff --git a/TimerControl/Makefile b/TimerControl/Makefile new file mode 100644 index 0000000..98a2032 --- /dev/null +++ b/TimerControl/Makefile @@ -0,0 +1,14 @@ +OBJECTS = TimerControlApp.o TimerControlConfig.o TimerControlFrame.o TimerControlItemFile.o TimerControlPreferences.o \ + TimerControlRemoteControlHandler.o TimerControlRemoteSet.o TimerControlRepeaterPanel.o TimerControlThread.o TimerControlThreadHelper.o + +all: timercontrol + +timercontrol: $(OBJECTS) + $(CXX) $(OBJECTS) ../GUICommon/GUICommon.a ../Common/Common.a $(LDFLAGS) $(LIBS) -o timercontrol + +%.o: %.cpp + $(CXX) $(CFLAGS) -I../Common -I../GUICommon -c -o $@ $< + +clean: + $(RM) timercontrol *.o *.d *.bak *~ + diff --git a/TimerControl/TimerControlApp.cpp b/TimerControl/TimerControlApp.cpp index 5ac83c6..47b0407 100644 --- a/TimerControl/TimerControlApp.cpp +++ b/TimerControl/TimerControlApp.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2011-2015 by Jonathan Naylor G4KLX + * Copyright (C) 2011-2015,2018 by Jonathan Naylor G4KLX * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,7 +26,7 @@ #include #include -IMPLEMENT_APP(CTimerControlApp) +wxIMPLEMENT_APP(CTimerControlApp); const wxChar* NAME_PARAM = wxT("Name"); const wxChar* NOLOGGING_SWITCH = wxT("nolog"); diff --git a/TimerControl/TimerControlApp.h b/TimerControl/TimerControlApp.h index 5cc0800..cc06251 100644 --- a/TimerControl/TimerControlApp.h +++ b/TimerControl/TimerControlApp.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2011,2012,2013 by Jonathan Naylor G4KLX + * Copyright (C) 2011,2012,2013,2018 by Jonathan Naylor G4KLX * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -69,6 +69,6 @@ private: void createThread(); }; -DECLARE_APP(CTimerControlApp) +wxDECLARE_APP(CTimerControlApp); #endif diff --git a/TimerControl/TimerControlFrame.cpp b/TimerControl/TimerControlFrame.cpp index 65fdd3a..4ad94a4 100644 --- a/TimerControl/TimerControlFrame.cpp +++ b/TimerControl/TimerControlFrame.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2011-2015 by Jonathan Naylor G4KLX + * Copyright (C) 2011-2015,2018 by Jonathan Naylor G4KLX * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -168,7 +168,7 @@ void CTimerControlFrame::onAbout(wxCommandEvent&) { wxAboutDialogInfo info; info.AddDeveloper(wxT("Jonathan Naylor, G4KLX")); - info.SetCopyright(wxT("(C) 2011-2015 using GPL v2 or later")); + info.SetCopyright(wxT("(C) 2011-2018 using GPL v2 or later")); info.SetName(APPLICATION_NAME); info.SetVersion(VERSION); info.SetDescription(_("This program allows for the controlling of\nthe ircDDB Gateway.")); diff --git a/VoiceTransmit/Makefile b/VoiceTransmit/Makefile new file mode 100644 index 0000000..eba8e30 --- /dev/null +++ b/VoiceTransmit/Makefile @@ -0,0 +1,13 @@ +OBJECTS = VoiceStore.o VoiceTransmit.o + +all: voicetransmit + +voicetransmit: $(OBJECTS) + $(CXX) $(OBJECTS) ../Common/Common.a $(LDFLAGS) $(LIBS) -o voicetransmit + +%.o: %.cpp + $(CXX) $(CFLAGS) -I../Common -c -o $@ $< + +clean: + $(RM) voicetransmit *.o *.d *.bak *~ + diff --git a/ircDDB/Makefile b/ircDDB/Makefile new file mode 100644 index 0000000..1af4614 --- /dev/null +++ b/ircDDB/Makefile @@ -0,0 +1,14 @@ +OBJECTS = IRCClient.o IRCDDBApp.o IRCDDBClient.o IRCDDB.o IRCDDBMultiClient.o IRCMessage.o IRCMessageQueue.o IRCProtocol.o IRCReceiver.o \ + IRCutils.o + +all: IRCDDB.a + +IRCDDB.a: $(OBJECTS) + $(AR) rcs IRCDDB.a $(OBJECTS) + +%.o: %.cpp + $(CXX) $(CFLAGS) -c -o $@ $< + +clean: + $(RM) IRCDDB.a *.o *.d *.bak *~ + diff --git a/ircDDBGateway/IRCDDBGatewayApp.cpp b/ircDDBGateway/IRCDDBGatewayApp.cpp index e6107aa..9efde78 100644 --- a/ircDDBGateway/IRCDDBGatewayApp.cpp +++ b/ircDDBGateway/IRCDDBGatewayApp.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010-2015 by Jonathan Naylor G4KLX + * Copyright (C) 2010-2015,2018 by Jonathan Naylor G4KLX * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -36,7 +36,7 @@ #include #include -IMPLEMENT_APP(CIRCDDBGatewayApp) +wxIMPLEMENT_APP(CIRCDDBGatewayApp); const wxChar* NAME_PARAM = wxT("Gateway Name"); const wxChar* NOLOGGING_SWITCH = wxT("nolog"); diff --git a/ircDDBGateway/IRCDDBGatewayApp.h b/ircDDBGateway/IRCDDBGatewayApp.h index 6486931..3d11ba6 100644 --- a/ircDDBGateway/IRCDDBGatewayApp.h +++ b/ircDDBGateway/IRCDDBGatewayApp.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010-2013 by Jonathan Naylor G4KLX + * Copyright (C) 2010-2013,2018 by Jonathan Naylor G4KLX * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -66,6 +66,6 @@ private: void createThread(); }; -DECLARE_APP(CIRCDDBGatewayApp) +wxDECLARE_APP(CIRCDDBGatewayApp); #endif diff --git a/ircDDBGateway/IRCDDBGatewayFrame.cpp b/ircDDBGateway/IRCDDBGatewayFrame.cpp index 6fe3c7d..6569d8c 100644 --- a/ircDDBGateway/IRCDDBGatewayFrame.cpp +++ b/ircDDBGateway/IRCDDBGatewayFrame.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010-2015 by Jonathan Naylor G4KLX + * Copyright (C) 2010-2015,2018 by Jonathan Naylor G4KLX * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -199,7 +199,7 @@ void CIRCDDBGatewayFrame::onAbout(wxCommandEvent&) wxAboutDialogInfo info; info.AddDeveloper(wxT("Jonathan Naylor, G4KLX")); info.AddDeveloper(wxT("Michael Dirska, DL1BFF")); - info.SetCopyright(wxT("(C) 2010-2015 using GPL v2 or later")); + info.SetCopyright(wxT("(C) 2010-2018 using GPL v2 or later")); info.SetName(APPLICATION_NAME); info.SetVersion(VERSION); info.SetDescription(_("This program allows a computer running homebrew repeaters\nto access the ircDDB network for G2 callsign and repeater routing,\nas well as D-Plus and DExtra reflectors. It includes a StarNet\nDigital server.")); diff --git a/ircDDBGateway/Makefile b/ircDDBGateway/Makefile new file mode 100644 index 0000000..f50a4af --- /dev/null +++ b/ircDDBGateway/Makefile @@ -0,0 +1,14 @@ +OBJECTS = IRCDDBGatewayApp.o IRCDDBGatewayFrame.o IRCDDBGatewayLogRedirect.o IRCDDBGatewayStatusData.o IRCDDBGatewayThread.o \ + IRCDDBGatewayThreadHelper.o + +all: ircddbgateway + +ircddbgateway: $(OBJECTS) + $(CXX) $(OBJECTS) ../Common/Common.a ../ircDDB/IRCDDB.a $(LDFLAGS) $(LIBS) -o ircddbgateway + +%.o: %.cpp + $(CXX) $(CFLAGS) -I../Common -I../ircDDB -c -o $@ $< + +clean: + $(RM) ircddbgateway *.o *.d *.bak *~ + diff --git a/ircDDBGatewayConfig/IRCDDBGatewayConfigApp.cpp b/ircDDBGatewayConfig/IRCDDBGatewayConfigApp.cpp index 6ab9c8f..613e1e0 100644 --- a/ircDDBGatewayConfig/IRCDDBGatewayConfigApp.cpp +++ b/ircDDBGatewayConfig/IRCDDBGatewayConfigApp.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010-2014 by Jonathan Naylor G4KLX + * Copyright (C) 2010-2014,2018 by Jonathan Naylor G4KLX * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -25,7 +25,7 @@ #include #include -IMPLEMENT_APP(CIRCDDBGatewayConfigApp) +wxIMPLEMENT_APP(CIRCDDBGatewayConfigApp); const wxChar* NAME_PARAM = wxT("Gateway Name"); const wxChar* CONFDIR_OPTION = wxT("confdir"); diff --git a/ircDDBGatewayConfig/IRCDDBGatewayConfigApp.h b/ircDDBGatewayConfig/IRCDDBGatewayConfigApp.h index 20ee352..e6ea20a 100644 --- a/ircDDBGatewayConfig/IRCDDBGatewayConfigApp.h +++ b/ircDDBGatewayConfig/IRCDDBGatewayConfigApp.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010-2013 by Jonathan Naylor G4KLX + * Copyright (C) 2010-2013,2018 by Jonathan Naylor G4KLX * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -42,6 +42,6 @@ private: CIRCDDBGatewayConfigFrame* m_frame; }; -DECLARE_APP(CIRCDDBGatewayConfigApp) +wxDECLARE_APP(CIRCDDBGatewayConfigApp); #endif diff --git a/ircDDBGatewayConfig/IRCDDBGatewayConfigFrame.cpp b/ircDDBGatewayConfig/IRCDDBGatewayConfigFrame.cpp index 40ffb31..1710617 100644 --- a/ircDDBGatewayConfig/IRCDDBGatewayConfigFrame.cpp +++ b/ircDDBGatewayConfig/IRCDDBGatewayConfigFrame.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010-2015 by Jonathan Naylor G4KLX + * Copyright (C) 2010-2015,2018 by Jonathan Naylor G4KLX * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -627,7 +627,7 @@ void CIRCDDBGatewayConfigFrame::onAbout(wxCommandEvent&) { wxAboutDialogInfo info; info.AddDeveloper(wxT("Jonathan Naylor, G4KLX")); - info.SetCopyright(wxT("(C) 2010-2015 using GPL v2 or later")); + info.SetCopyright(wxT("(C) 2010-2018 using GPL v2 or later")); info.SetName(APPLICATION_NAME); info.SetVersion(VERSION); info.SetDescription(_("This program configures the ircDDB Gateway.")); diff --git a/ircDDBGatewayConfig/Makefile b/ircDDBGatewayConfig/Makefile new file mode 100644 index 0000000..83d1632 --- /dev/null +++ b/ircDDBGatewayConfig/Makefile @@ -0,0 +1,14 @@ +OBJECTS = IRCDDBGatewayConfigApp.o IRCDDBGatewayConfigFrame.o IRCDDBGatewayConfigGatewaySet.o IRCDDBGatewayConfigIrcDDBSet.o \ + IRCDDBGatewayConfigMiscellaneousSet.o + +all: ircddbgatewayconfig + +ircddbgatewayconfig: $(OBJECTS) + $(CXX) $(OBJECTS) ../GUICommon/GUICommon.a ../Common/Common.a $(LDFLAGS) $(LIBS) -o ircddbgatewayconfig + +%.o: %.cpp + $(CXX) $(CFLAGS) -I../Common -I../GUICommon -c -o $@ $< + +clean: + $(RM) ircddbgatewayconfig *.o *.d *.bak *~ +