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

View file

@ -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 <wx/cmdline.h>
#include <wx/filename.h>
IMPLEMENT_APP(CIRCDDBGatewayConfigApp)
wxIMPLEMENT_APP(CIRCDDBGatewayConfigApp);
const wxChar* NAME_PARAM = wxT("Gateway Name");
const wxChar* CONFDIR_OPTION = wxT("confdir");

View file

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

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

View file

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