Add GUI makefiles for the other GUI capable programs.

This commit is contained in:
Jonathan Naylor 2018-09-19 21:05:28 +01:00
parent 5a5bfc9e89
commit dd2760b434
5 changed files with 91 additions and 21 deletions

View file

@ -12,10 +12,10 @@ export GUILIBS := $(shell wx-config --libs adv,core,base)
export LIBS := $(shell wx-config --libs base) export LIBS := $(shell wx-config --libs base)
export LDFLAGS := export LDFLAGS :=
all: ircDDBGateway/ircddbgatewayd ircDDBGatewayConfig/ircddbgatewayconfig APRSTransmit/aprstransmitd RemoteControl/remotecontrold \ all: ircDDBGateway/ircddbgateway ircDDBGatewayConfig/ircddbgatewayconfig APRSTransmit/aprstransmitd RemoteControl/remotecontrol \
StarNetServer/starnetserverd TextTransmit/texttransmitd TimerControl/timercontrold TimeServer/timeserverd VoiceTransmit/voicetransmitd StarNetServer/starnetserver TextTransmit/texttransmitd TimerControl/timercontrol TimeServer/timeserver VoiceTransmit/voicetransmitd
ircDDBGateway/ircddbgatewayd: GUICommon/GUICommon.a Common/Common.a ircDDB/IRCDDB.a ircDDBGateway/ircddbgateway: GUICommon/GUICommon.a Common/Common.a ircDDB/IRCDDB.a
make -C ircDDBGateway -f MakefileGUI make -C ircDDBGateway -f MakefileGUI
ircDDBGatewayConfig/ircddbgatewayconfig: GUICommon/GUICommon.a Common/Common.a ircDDBGatewayConfig/ircddbgatewayconfig: GUICommon/GUICommon.a Common/Common.a
@ -24,20 +24,20 @@ ircDDBGatewayConfig/ircddbgatewayconfig: GUICommon/GUICommon.a Common/Common.a
APRSTransmit/aprstransmitd: Common/Common.a APRSTransmit/aprstransmitd: Common/Common.a
make -C APRSTransmit make -C APRSTransmit
RemoteControl/remotecontrold: Common/Common.a RemoteControl/remotecontrol: Common/Common.a
make -C RemoteControl make -C RemoteControl -f MakefileGUI
StarNetServer/starnetserverd: Common/Common.a ircDDB/IRCDDB.a StarNetServer/starnetserver: Common/Common.a ircDDB/IRCDDB.a
make -C StarNetServer make -C StarNetServer -f MakefileGUI
TextTransmit/texttransmitd: Common/Common.a TextTransmit/texttransmitd: Common/Common.a
make -C TextTransmit make -C TextTransmit
TimerControl/timercontrold: Common/Common.a GUICommon/GUICommon.a TimerControl/timercontrol: Common/Common.a GUICommon/GUICommon.a
make -C TimerControl make -C TimerControl -f MakefileGUI
TimeServer/timeserverd: Common/Common.a GUICommon/GUICommon.a TimeServer/timeserver: Common/Common.a GUICommon/GUICommon.a
make -C TimeServer make -C TimeServer -f MakefileGUI
VoiceTransmit/voicetransmitd: Common/Common.a VoiceTransmit/voicetransmitd: Common/Common.a
make -C VoiceTransmit make -C VoiceTransmit
@ -55,11 +55,11 @@ install: all
make -C Data install make -C Data install
make -C APRSTransmit install make -C APRSTransmit install
make -C ircDDBGateway -f MakefileGUI install make -C ircDDBGateway -f MakefileGUI install
make -C RemoteControl install make -C RemoteControl -f MakefileGUI install
make -C StarNetServer install make -C StarNetServer -f MakefileGUI install
make -C TextTransmit install make -C TextTransmit install
make -C TimerControl install make -C TimerControl -f MakefileGUI install
make -C TimeServer install make -C TimeServer -f MakefileGUI install
make -C VoiceTransmit install make -C VoiceTransmit install
make -C ircDDBGatewayConfig install make -C ircDDBGatewayConfig install
@ -68,12 +68,11 @@ clean:
make -C ircDDB clean make -C ircDDB clean
make -C GUICommon clean make -C GUICommon clean
make -C APRSTransmit clean make -C APRSTransmit clean
make -C ircDDBGateway clean make -C ircDDBGateway -f MakefileGUI clean
make -C RemoteControl clean make -C RemoteControl -f MakefileGUI clean
make -C StarNetServer clean make -C StarNetServer -f MakefileGUI clean
make -C TextTransmit clean make -C TextTransmit clean
make -C TimerControl clean make -C TimerControl -f MakefileGUI clean
make -C TimeServer clean make -C TimeServer -f MakefileGUI clean
make -C VoiceTransmit clean make -C VoiceTransmit clean
make -C ircDDBGatewayConfig clean make -C ircDDBGatewayConfig clean

18
RemoteControl/MakefileGUI Normal file
View file

@ -0,0 +1,18 @@
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) $(GUILIBS) -o remotecontrol
%.o: %.cpp
$(CXX) $(CFLAGS) -I../Common -I../GUICommon -c -o $@ $<
install:
install -g bin -o root -m 0775 remotecontrol $(BINDIR)
clean:
$(RM) remotecontrol *.o *.d *.bak *~

18
StarNetServer/MakefileGUI Normal file
View file

@ -0,0 +1,18 @@
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) $(GUILIBS) -o starnetserver
%.o: %.cpp
$(CXX) $(CFLAGS) -I../Common -I../GUICommon -I../ircDDB -c -o $@ $<
install:
install -g bin -o root -m 0775 starnetserver $(BINDIR)
clean:
$(RM) starnetserver *.o *.d *.bak *~

17
TimeServer/MakefileGUI Normal file
View file

@ -0,0 +1,17 @@
OBJECTS = TimeServerApp.o TimeServerAnnouncementsSet.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) $(GUILIBS) -o timeserver
%.o: %.cpp
$(CXX) $(CFLAGS) -I../Common -I../GUICommon -c -o $@ $<
install:
install -g bin -o root -m 0775 timeserver $(BINDIR)
clean:
$(RM) timeserver *.o *.d *.bak *~

18
TimerControl/MakefileGUI Normal file
View file

@ -0,0 +1,18 @@
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) $(GUILIBS) -o timercontrol
%.o: %.cpp
$(CXX) $(CFLAGS) -I../Common -I../GUICommon -c -o $@ $<
install:
install -g bin -o root -m 0775 timercontrol $(BINDIR)
clean:
$(RM) timercontrol *.o *.d *.bak *~