diff --git a/MakefileGUI b/MakefileGUI index a47a5be..6cd4315 100644 --- a/MakefileGUI +++ b/MakefileGUI @@ -12,10 +12,10 @@ export GUILIBS := $(shell wx-config --libs adv,core,base) export LIBS := $(shell wx-config --libs base) export LDFLAGS := -all: ircDDBGateway/ircddbgatewayd ircDDBGatewayConfig/ircddbgatewayconfig APRSTransmit/aprstransmitd RemoteControl/remotecontrold \ - StarNetServer/starnetserverd TextTransmit/texttransmitd TimerControl/timercontrold TimeServer/timeserverd VoiceTransmit/voicetransmitd +all: ircDDBGateway/ircddbgateway ircDDBGatewayConfig/ircddbgatewayconfig APRSTransmit/aprstransmitd RemoteControl/remotecontrol \ + 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 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 make -C APRSTransmit -RemoteControl/remotecontrold: Common/Common.a - make -C RemoteControl +RemoteControl/remotecontrol: Common/Common.a + make -C RemoteControl -f MakefileGUI -StarNetServer/starnetserverd: Common/Common.a ircDDB/IRCDDB.a - make -C StarNetServer +StarNetServer/starnetserver: Common/Common.a ircDDB/IRCDDB.a + make -C StarNetServer -f MakefileGUI TextTransmit/texttransmitd: Common/Common.a make -C TextTransmit -TimerControl/timercontrold: Common/Common.a GUICommon/GUICommon.a - make -C TimerControl +TimerControl/timercontrol: Common/Common.a GUICommon/GUICommon.a + make -C TimerControl -f MakefileGUI -TimeServer/timeserverd: Common/Common.a GUICommon/GUICommon.a - make -C TimeServer +TimeServer/timeserver: Common/Common.a GUICommon/GUICommon.a + make -C TimeServer -f MakefileGUI VoiceTransmit/voicetransmitd: Common/Common.a make -C VoiceTransmit @@ -55,11 +55,11 @@ install: all make -C Data install make -C APRSTransmit install make -C ircDDBGateway -f MakefileGUI install - make -C RemoteControl install - make -C StarNetServer install + make -C RemoteControl -f MakefileGUI install + make -C StarNetServer -f MakefileGUI install make -C TextTransmit install - make -C TimerControl install - make -C TimeServer install + make -C TimerControl -f MakefileGUI install + make -C TimeServer -f MakefileGUI install make -C VoiceTransmit install make -C ircDDBGatewayConfig install @@ -68,12 +68,11 @@ 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 ircDDBGateway -f MakefileGUI clean + make -C RemoteControl -f MakefileGUI clean + make -C StarNetServer -f MakefileGUI clean make -C TextTransmit clean - make -C TimerControl clean - make -C TimeServer clean + make -C TimerControl -f MakefileGUI clean + make -C TimeServer -f MakefileGUI clean make -C VoiceTransmit clean make -C ircDDBGatewayConfig clean - diff --git a/RemoteControl/MakefileGUI b/RemoteControl/MakefileGUI new file mode 100644 index 0000000..316607f --- /dev/null +++ b/RemoteControl/MakefileGUI @@ -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 *~ + diff --git a/StarNetServer/MakefileGUI b/StarNetServer/MakefileGUI new file mode 100644 index 0000000..9073dab --- /dev/null +++ b/StarNetServer/MakefileGUI @@ -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 *~ + diff --git a/TimeServer/MakefileGUI b/TimeServer/MakefileGUI new file mode 100644 index 0000000..9ac2e11 --- /dev/null +++ b/TimeServer/MakefileGUI @@ -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 *~ + diff --git a/TimerControl/MakefileGUI b/TimerControl/MakefileGUI new file mode 100644 index 0000000..0012a10 --- /dev/null +++ b/TimerControl/MakefileGUI @@ -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 *~ +