The beginning of Linux build support.

This commit is contained in:
Jonathan Naylor 2018-05-15 19:32:38 +01:00
parent 12d55cef37
commit bb602947f4
31 changed files with 273 additions and 36 deletions

15
StarNetServer/Makefile Normal file
View file

@ -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 *~

View file

@ -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 <wx/cmdline.h>
#include <wx/filename.h>
IMPLEMENT_APP(CStarNetServerApp)
wxIMPLEMENT_APP(CStarNetServerApp);
const wxChar* NOLOGGING_SWITCH = wxT("nolog");
const wxChar* GUI_SWITCH = wxT("gui");

View file

@ -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

View file

@ -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."));