mirror of
https://github.com/g4klx/ircDDBGateway.git
synced 2025-12-06 05:32:02 +01:00
Merge pull request #15 from F4FXL/MakefileTweaks
Makefile dependencies checks
This commit is contained in:
commit
2a3611e87c
|
|
@ -1,16 +1,24 @@
|
||||||
OBJECTS = APRSParser.o APRSTransmitAppD.o APRSTransmit.o
|
OBJECTS = APRSParser.o APRSTransmitAppD.o APRSTransmit.o
|
||||||
|
|
||||||
|
.PHONY: all
|
||||||
all: aprstransmitd
|
all: aprstransmitd
|
||||||
|
|
||||||
aprstransmitd: $(OBJECTS)
|
aprstransmitd: $(OBJECTS) ../Common/Common.a
|
||||||
$(CXX) $(OBJECTS) ../Common/Common.a $(LDFLAGS) $(LIBS) -o aprstransmitd
|
$(CXX) $(OBJECTS) ../Common/Common.a $(LDFLAGS) $(LIBS) -o aprstransmitd
|
||||||
|
|
||||||
|
-include $(OBJECTS:.o=.d)
|
||||||
|
|
||||||
%.o: %.cpp
|
%.o: %.cpp
|
||||||
$(CXX) -DwxUSE_GUI=0 $(CFLAGS) -I../Common -c -o $@ $<
|
$(CXX) -DwxUSE_GUI=0 $(CFLAGS) -I../Common -c -o $@ $<
|
||||||
|
$(CXX) -MM -DwxUSE_GUI=0 $(CFLAGS) -I../Common $< > $*.d
|
||||||
|
|
||||||
|
.PHONY: install
|
||||||
install:
|
install:
|
||||||
install -g bin -o root -m 0775 aprstransmitd $(BINDIR)
|
install -g bin -o root -m 0775 aprstransmitd $(BINDIR)
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
$(RM) aprstransmitd *.o *.d *.bak *~
|
$(RM) aprstransmitd *.o *.d *.bak *~
|
||||||
|
|
||||||
|
../Common/Common.a:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,14 +9,20 @@ OBJECTS = AMBEData.o AnnouncementUnit.o APRSCollector.o APRSWriter.o APRSWriterT
|
||||||
TCPReaderWriterClient.o TCPReaderWriterServer.o TextCollector.o TextData.o Timer.o UDPReaderWriter.o UserCache.o Utils.o \
|
TCPReaderWriterClient.o TCPReaderWriterServer.o TextCollector.o TextData.o Timer.o UDPReaderWriter.o UserCache.o Utils.o \
|
||||||
VersionUnit.o XLXHostsFileDownloader.o
|
VersionUnit.o XLXHostsFileDownloader.o
|
||||||
|
|
||||||
|
.PHONY: all
|
||||||
all: Common.a
|
all: Common.a
|
||||||
|
|
||||||
Common.a: $(OBJECTS)
|
Common.a: $(OBJECTS) ../ircDDB/IRCDDB.a
|
||||||
$(AR) rcs Common.a $(OBJECTS)
|
$(AR) rcs Common.a $(OBJECTS)
|
||||||
|
|
||||||
|
-include $(OBJECTS:.o=.d)
|
||||||
|
|
||||||
%.o: %.cpp
|
%.o: %.cpp
|
||||||
$(CXX) -DwxUSE_GUI=0 $(CFLAGS) -I../ircDDB -c -o $@ $<
|
$(CXX) -DwxUSE_GUI=0 $(CFLAGS) -I../ircDDB -c -o $@ $<
|
||||||
|
$(CXX) -MM -DwxUSE_GUI=0 $(CFLAGS) -I../ircDDB $< > $*.d
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
$(RM) Common.a *.o *.d *.bak *~
|
$(RM) Common.a *.o *.d *.bak *~
|
||||||
|
|
||||||
|
../ircDDB/IRCDDB.a:
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
.PHONY: install
|
||||||
install:
|
install:
|
||||||
install -d -g bin -o root -m 0775 $(DATADIR)
|
install -d -g bin -o root -m 0775 $(DATADIR)
|
||||||
install -g bin -o root -m 0664 CCS_Hosts.txt $(DATADIR)
|
install -g bin -o root -m 0664 CCS_Hosts.txt $(DATADIR)
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,20 @@
|
||||||
OBJECTS = AddressTextCtrl.o CallsignTextCtrl.o DCSSet.o DescriptionTextCtrl.o DExtraSet.o DPlusSet.o DPRSSet.o MobileGPSSet.o PortTextCtrl.o RemoteSet.o \
|
OBJECTS = AddressTextCtrl.o CallsignTextCtrl.o DCSSet.o DescriptionTextCtrl.o DExtraSet.o DPlusSet.o DPRSSet.o MobileGPSSet.o PortTextCtrl.o RemoteSet.o \
|
||||||
RepeaterDataSet.o RepeaterInfoSet.o RestrictedTextCtrl.o StarNetSet.o XLXSet.o
|
RepeaterDataSet.o RepeaterInfoSet.o RestrictedTextCtrl.o StarNetSet.o XLXSet.o
|
||||||
|
|
||||||
|
.PHONY: all
|
||||||
all: GUICommon.a
|
all: GUICommon.a
|
||||||
|
|
||||||
GUICommon.a: $(OBJECTS)
|
GUICommon.a: $(OBJECTS) ../Common/Common.a
|
||||||
$(AR) rcs GUICommon.a $(OBJECTS)
|
$(AR) rcs GUICommon.a $(OBJECTS)
|
||||||
|
|
||||||
|
-include $(OBJECTS:.o=.d)
|
||||||
|
|
||||||
%.o: %.cpp
|
%.o: %.cpp
|
||||||
$(CXX) $(CFLAGS) -I../Common -c -o $@ $<
|
$(CXX) $(CFLAGS) -I../Common -c -o $@ $<
|
||||||
|
$(CXX) -MM $(CFLAGS) -I../Common $< > $*.d
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
$(RM) GUICommon.a *.o *.d *.bak *~
|
$(RM) GUICommon.a *.o *.d *.bak *~
|
||||||
|
|
||||||
|
../Common/Common.a:
|
||||||
|
|
|
||||||
31
Makefile
31
Makefile
|
|
@ -12,45 +12,47 @@ 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 :=
|
||||||
|
|
||||||
|
.PHONY: all
|
||||||
all: ircDDBGateway/ircddbgatewayd ircDDBGatewayConfig/ircddbgatewayconfig APRSTransmit/aprstransmitd RemoteControl/remotecontrold \
|
all: ircDDBGateway/ircddbgatewayd ircDDBGatewayConfig/ircddbgatewayconfig APRSTransmit/aprstransmitd RemoteControl/remotecontrold \
|
||||||
StarNetServer/starnetserverd TextTransmit/texttransmitd TimerControl/timercontrold TimeServer/timeserverd VoiceTransmit/voicetransmitd
|
StarNetServer/starnetserverd TextTransmit/texttransmitd TimerControl/timercontrold TimeServer/timeserverd VoiceTransmit/voicetransmitd
|
||||||
|
|
||||||
ircDDBGateway/ircddbgatewayd: Common/Common.a ircDDB/IRCDDB.a
|
ircDDBGateway/ircddbgatewayd: Common/Common.a ircDDB/IRCDDB.a force
|
||||||
$(MAKE) -C ircDDBGateway
|
$(MAKE) -C ircDDBGateway
|
||||||
|
|
||||||
ircDDBGatewayConfig/ircddbgatewayconfig: GUICommon/GUICommon.a Common/Common.a
|
ircDDBGatewayConfig/ircddbgatewayconfig: GUICommon/GUICommon.a Common/Common.a force
|
||||||
$(MAKE) -C ircDDBGatewayConfig
|
$(MAKE) -C ircDDBGatewayConfig
|
||||||
|
|
||||||
APRSTransmit/aprstransmitd: Common/Common.a
|
APRSTransmit/aprstransmitd: Common/Common.a force
|
||||||
$(MAKE) -C APRSTransmit
|
$(MAKE) -C APRSTransmit
|
||||||
|
|
||||||
RemoteControl/remotecontrold: Common/Common.a
|
RemoteControl/remotecontrold: Common/Common.a force
|
||||||
$(MAKE) -C RemoteControl
|
$(MAKE) -C RemoteControl
|
||||||
|
|
||||||
StarNetServer/starnetserverd: Common/Common.a ircDDB/IRCDDB.a
|
StarNetServer/starnetserverd: Common/Common.a ircDDB/IRCDDB.a force
|
||||||
$(MAKE) -C StarNetServer
|
$(MAKE) -C StarNetServer
|
||||||
|
|
||||||
TextTransmit/texttransmitd: Common/Common.a
|
TextTransmit/texttransmitd: Common/Common.a force
|
||||||
$(MAKE) -C TextTransmit
|
$(MAKE) -C TextTransmit
|
||||||
|
|
||||||
TimerControl/timercontrold: Common/Common.a GUICommon/GUICommon.a
|
TimerControl/timercontrold: Common/Common.a GUICommon/GUICommon.a force
|
||||||
$(MAKE) -C TimerControl
|
$(MAKE) -C TimerControl
|
||||||
|
|
||||||
TimeServer/timeserverd: Common/Common.a GUICommon/GUICommon.a
|
TimeServer/timeserverd: Common/Common.a GUICommon/GUICommon.a force
|
||||||
$(MAKE) -C TimeServer
|
$(MAKE) -C TimeServer
|
||||||
|
|
||||||
VoiceTransmit/voicetransmitd: Common/Common.a
|
VoiceTransmit/voicetransmitd: Common/Common.a force
|
||||||
$(MAKE) -C VoiceTransmit
|
$(MAKE) -C VoiceTransmit
|
||||||
|
|
||||||
GUICommon/GUICommon.a:
|
GUICommon/GUICommon.a: force
|
||||||
$(MAKE) -C GUICommon
|
$(MAKE) -C GUICommon
|
||||||
|
|
||||||
Common/Common.a:
|
Common/Common.a: force
|
||||||
$(MAKE) -C Common
|
$(MAKE) -C Common
|
||||||
|
|
||||||
ircDDB/IRCDDB.a:
|
ircDDB/IRCDDB.a: force
|
||||||
$(MAKE) -C ircDDB
|
$(MAKE) -C ircDDB
|
||||||
|
|
||||||
|
.PHONY: install
|
||||||
install: all
|
install: all
|
||||||
$(MAKE) -C Data install
|
$(MAKE) -C Data install
|
||||||
$(MAKE) -C APRSTransmit install
|
$(MAKE) -C APRSTransmit install
|
||||||
|
|
@ -63,6 +65,7 @@ install: all
|
||||||
$(MAKE) -C VoiceTransmit install
|
$(MAKE) -C VoiceTransmit install
|
||||||
$(MAKE) -C ircDDBGatewayConfig install
|
$(MAKE) -C ircDDBGatewayConfig install
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
$(MAKE) -C Common clean
|
$(MAKE) -C Common clean
|
||||||
$(MAKE) -C ircDDB clean
|
$(MAKE) -C ircDDB clean
|
||||||
|
|
@ -77,3 +80,7 @@ clean:
|
||||||
$(MAKE) -C VoiceTransmit clean
|
$(MAKE) -C VoiceTransmit clean
|
||||||
$(MAKE) -C ircDDBGatewayConfig clean
|
$(MAKE) -C ircDDBGatewayConfig clean
|
||||||
|
|
||||||
|
.PHONY: force
|
||||||
|
force :
|
||||||
|
@true
|
||||||
|
|
||||||
|
|
|
||||||
31
MakefileGUI
31
MakefileGUI
|
|
@ -12,45 +12,47 @@ 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 :=
|
||||||
|
|
||||||
|
.PHONY: all
|
||||||
all: ircDDBGateway/ircddbgateway ircDDBGatewayConfig/ircddbgatewayconfig APRSTransmit/aprstransmitd RemoteControl/remotecontrol \
|
all: ircDDBGateway/ircddbgateway ircDDBGatewayConfig/ircddbgatewayconfig APRSTransmit/aprstransmitd RemoteControl/remotecontrol \
|
||||||
StarNetServer/starnetserver TextTransmit/texttransmitd TimerControl/timercontrol TimeServer/timeserver VoiceTransmit/voicetransmitd
|
StarNetServer/starnetserver TextTransmit/texttransmitd TimerControl/timercontrol TimeServer/timeserver VoiceTransmit/voicetransmitd
|
||||||
|
|
||||||
ircDDBGateway/ircddbgateway: GUICommon/GUICommon.a Common/Common.a ircDDB/IRCDDB.a
|
ircDDBGateway/ircddbgateway: GUICommon/GUICommon.a Common/Common.a ircDDB/IRCDDB.a force
|
||||||
$(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 force
|
||||||
$(MAKE) -C ircDDBGatewayConfig
|
$(MAKE) -C ircDDBGatewayConfig
|
||||||
|
|
||||||
APRSTransmit/aprstransmitd: Common/Common.a
|
APRSTransmit/aprstransmitd: Common/Common.a force
|
||||||
$(MAKE) -C APRSTransmit
|
$(MAKE) -C APRSTransmit
|
||||||
|
|
||||||
RemoteControl/remotecontrol: Common/Common.a
|
RemoteControl/remotecontrol: Common/Common.a force
|
||||||
$(MAKE) -C RemoteControl -f MakefileGUI
|
$(MAKE) -C RemoteControl -f MakefileGUI
|
||||||
|
|
||||||
StarNetServer/starnetserver: Common/Common.a ircDDB/IRCDDB.a
|
StarNetServer/starnetserver: Common/Common.a ircDDB/IRCDDB.a force
|
||||||
$(MAKE) -C StarNetServer -f MakefileGUI
|
$(MAKE) -C StarNetServer -f MakefileGUI
|
||||||
|
|
||||||
TextTransmit/texttransmitd: Common/Common.a
|
TextTransmit/texttransmitd: Common/Common.a force
|
||||||
$(MAKE) -C TextTransmit
|
$(MAKE) -C TextTransmit
|
||||||
|
|
||||||
TimerControl/timercontrol: Common/Common.a GUICommon/GUICommon.a
|
TimerControl/timercontrol: Common/Common.a GUICommon/GUICommon.a force
|
||||||
$(MAKE) -C TimerControl -f MakefileGUI
|
$(MAKE) -C TimerControl -f MakefileGUI
|
||||||
|
|
||||||
TimeServer/timeserver: Common/Common.a GUICommon/GUICommon.a
|
TimeServer/timeserver: Common/Common.a GUICommon/GUICommon.a force
|
||||||
$(MAKE) -C TimeServer -f MakefileGUI
|
$(MAKE) -C TimeServer -f MakefileGUI
|
||||||
|
|
||||||
VoiceTransmit/voicetransmitd: Common/Common.a
|
VoiceTransmit/voicetransmitd: Common/Common.a force
|
||||||
$(MAKE) -C VoiceTransmit
|
$(MAKE) -C VoiceTransmit
|
||||||
|
|
||||||
GUICommon/GUICommon.a:
|
GUICommon/GUICommon.a: force
|
||||||
$(MAKE) -C GUICommon
|
$(MAKE) -C GUICommon
|
||||||
|
|
||||||
Common/Common.a:
|
Common/Common.a: force
|
||||||
$(MAKE) -C Common
|
$(MAKE) -C Common
|
||||||
|
|
||||||
ircDDB/IRCDDB.a:
|
ircDDB/IRCDDB.a: force
|
||||||
$(MAKE) -C ircDDB
|
$(MAKE) -C ircDDB
|
||||||
|
|
||||||
|
.PHONY: install
|
||||||
install: all
|
install: all
|
||||||
$(MAKE) -C Data install
|
$(MAKE) -C Data install
|
||||||
$(MAKE) -C APRSTransmit install
|
$(MAKE) -C APRSTransmit install
|
||||||
|
|
@ -63,6 +65,7 @@ install: all
|
||||||
$(MAKE) -C VoiceTransmit install
|
$(MAKE) -C VoiceTransmit install
|
||||||
$(MAKE) -C ircDDBGatewayConfig install
|
$(MAKE) -C ircDDBGatewayConfig install
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
$(MAKE) -C Common clean
|
$(MAKE) -C Common clean
|
||||||
$(MAKE) -C ircDDB clean
|
$(MAKE) -C ircDDB clean
|
||||||
|
|
@ -76,3 +79,7 @@ clean:
|
||||||
$(MAKE) -C TimeServer -f MakefileGUI clean
|
$(MAKE) -C TimeServer -f MakefileGUI clean
|
||||||
$(MAKE) -C VoiceTransmit clean
|
$(MAKE) -C VoiceTransmit clean
|
||||||
$(MAKE) -C ircDDBGatewayConfig clean
|
$(MAKE) -C ircDDBGatewayConfig clean
|
||||||
|
|
||||||
|
.PHONY: force
|
||||||
|
force:
|
||||||
|
true;
|
||||||
|
|
|
||||||
|
|
@ -1,17 +1,24 @@
|
||||||
OBJECTS = RemoteControlAppD.o RemoteControlCallsignData.o RemoteControlConfig.o RemoteControlLinkData.o RemoteControlRemoteControlHandler.o \
|
OBJECTS = RemoteControlAppD.o RemoteControlCallsignData.o RemoteControlConfig.o RemoteControlLinkData.o RemoteControlRemoteControlHandler.o \
|
||||||
RemoteControlRepeaterData.o RemoteControlStarNetGroup.o RemoteControlStarNetUser.o
|
RemoteControlRepeaterData.o RemoteControlStarNetGroup.o RemoteControlStarNetUser.o
|
||||||
|
|
||||||
|
.PHONY: all
|
||||||
all: remotecontrold
|
all: remotecontrold
|
||||||
|
|
||||||
remotecontrold: $(OBJECTS)
|
remotecontrold: $(OBJECTS) ../Common/Common.a
|
||||||
$(CXX) $(OBJECTS) ../Common/Common.a $(LDFLAGS) $(LIBS) -o remotecontrold
|
$(CXX) $(OBJECTS) ../Common/Common.a $(LDFLAGS) $(LIBS) -o remotecontrold
|
||||||
|
|
||||||
|
-include $(OBJECTS:.o=.d)
|
||||||
|
|
||||||
%.o: %.cpp
|
%.o: %.cpp
|
||||||
$(CXX) -DwxUSE_GUI=0 $(CFLAGS) -I../Common -c -o $@ $<
|
$(CXX) -DwxUSE_GUI=0 $(CFLAGS) -I../Common -c -o $@ $<
|
||||||
|
$(CXX) -MM -DwxUSE_GUI=0 $(CFLAGS) -I../Common $< > $*.d
|
||||||
|
|
||||||
|
.PHONY: install
|
||||||
install:
|
install:
|
||||||
install -g bin -o root -m 0775 remotecontrold $(BINDIR)
|
install -g bin -o root -m 0775 remotecontrold $(BINDIR)
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
$(RM) remotecontrold *.o *.d *.bak *~
|
$(RM) remotecontrold *.o *.d *.bak *~
|
||||||
|
|
||||||
|
../Common/Common.a:
|
||||||
|
|
|
||||||
|
|
@ -2,17 +2,25 @@ OBJECTS = RemoteControlApp.o RemoteControlCallsignData.o RemoteControlConfig.o R
|
||||||
RemoteControlPreferences.o RemoteControlRemoteControlHandler.o RemoteControlRemoteSet.o RemoteControlRepeaterData.o \
|
RemoteControlPreferences.o RemoteControlRemoteControlHandler.o RemoteControlRemoteSet.o RemoteControlRepeaterData.o \
|
||||||
RemoteControlRepeaterPanel.o RemoteControlStarNetGroup.o RemoteControlStarNetPanel.o RemoteControlStarNetUser.o
|
RemoteControlRepeaterPanel.o RemoteControlStarNetGroup.o RemoteControlStarNetPanel.o RemoteControlStarNetUser.o
|
||||||
|
|
||||||
|
.PHONY: all
|
||||||
all: remotecontrol
|
all: remotecontrol
|
||||||
|
|
||||||
remotecontrol: $(OBJECTS)
|
remotecontrol: $(OBJECTS) ../GUICommon/GUICommon.a ../Common/Common.a
|
||||||
$(CXX) $(OBJECTS) ../GUICommon/GUICommon.a ../Common/Common.a $(LDFLAGS) $(GUILIBS) -o remotecontrol
|
$(CXX) $(OBJECTS) ../GUICommon/GUICommon.a ../Common/Common.a $(LDFLAGS) $(GUILIBS) -o remotecontrol
|
||||||
|
|
||||||
|
-include $(OBJECTS:.o=.d)
|
||||||
|
|
||||||
%.o: %.cpp
|
%.o: %.cpp
|
||||||
$(CXX) $(CFLAGS) -I../Common -I../GUICommon -c -o $@ $<
|
$(CXX) $(CFLAGS) -I../Common -I../GUICommon -c -o $@ $<
|
||||||
|
$(CXX) -MM $(CFLAGS) -I../Common -I../GUICommon $< > $*.d
|
||||||
|
|
||||||
|
.PHONY: install
|
||||||
install:
|
install:
|
||||||
install -g bin -o root -m 0775 remotecontrol $(BINDIR)
|
install -g bin -o root -m 0775 remotecontrol $(BINDIR)
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
$(RM) remotecontrol *.o *.d *.bak *~
|
$(RM) remotecontrol *.o *.d *.bak *~
|
||||||
|
|
||||||
|
../GUICommon/GUICommon.a:
|
||||||
|
../Common/Common.a:
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1,24 @@
|
||||||
OBJECTS = StarNetServerAppD.o StarNetServerConfig.o StarNetServerThread.o StarNetServerThreadHelper.o
|
OBJECTS = StarNetServerAppD.o StarNetServerConfig.o StarNetServerThread.o StarNetServerThreadHelper.o
|
||||||
|
|
||||||
|
.PHONY: all
|
||||||
all: starnetserverd
|
all: starnetserverd
|
||||||
|
|
||||||
starnetserverd: $(OBJECTS)
|
starnetserverd: $(OBJECTS) ../Common/Common.a ../ircDDB/IRCDDB.a
|
||||||
$(CXX) $(OBJECTS) ../Common/Common.a ../ircDDB/IRCDDB.a $(LDFLAGS) $(LIBS) -o starnetserverd
|
$(CXX) $(OBJECTS) ../Common/Common.a ../ircDDB/IRCDDB.a $(LDFLAGS) $(LIBS) -o starnetserverd
|
||||||
|
|
||||||
|
-include $(OBJECTS:.o=.d)
|
||||||
|
|
||||||
%.o: %.cpp
|
%.o: %.cpp
|
||||||
$(CXX) -DwxUSE_GUI=0 $(CFLAGS) -I../Common -I../ircDDB -c -o $@ $<
|
$(CXX) -DwxUSE_GUI=0 $(CFLAGS) -I../Common -I../ircDDB -c -o $@ $<
|
||||||
|
$(CXX) -MM -DwxUSE_GUI=0 $(CFLAGS) -I../Common -I../ircDDB $< > $*.d
|
||||||
|
|
||||||
|
.PHONY: install
|
||||||
install:
|
install:
|
||||||
install -g bin -o root -m 0775 starnetserverd $(BINDIR)
|
install -g bin -o root -m 0775 starnetserverd $(BINDIR)
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
$(RM) starnetserverd *.o *.d *.bak *~
|
$(RM) starnetserverd *.o *.d *.bak *~
|
||||||
|
|
||||||
|
../Common/Common.a:
|
||||||
|
../ircDDB/IRCDDB.a:
|
||||||
|
|
|
||||||
|
|
@ -2,17 +2,25 @@ OBJECTS = StarNetServerApp.o StarNetServerCallsignSet.o StarNetServerConfig.o St
|
||||||
StarNetServerLogRedirect.o StarNetServerMiscellaneousSet.o StarNetServerPreferences.o StarNetServerThread.o \
|
StarNetServerLogRedirect.o StarNetServerMiscellaneousSet.o StarNetServerPreferences.o StarNetServerThread.o \
|
||||||
StarNetServerThreadHelper.o
|
StarNetServerThreadHelper.o
|
||||||
|
|
||||||
|
.PHONY: all
|
||||||
all: starnetserver
|
all: starnetserver
|
||||||
|
|
||||||
starnetserver: $(OBJECTS)
|
starnetserver: $(OBJECTS) ../GUICommon/GUICommon.a ../Common/Common.a
|
||||||
$(CXX) $(OBJECTS) ../GUICommon/GUICommon.a ../Common/Common.a ../ircDDB/IRCDDB.a $(LDFLAGS) $(GUILIBS) -o starnetserver
|
$(CXX) $(OBJECTS) ../GUICommon/GUICommon.a ../Common/Common.a ../ircDDB/IRCDDB.a $(LDFLAGS) $(GUILIBS) -o starnetserver
|
||||||
|
|
||||||
|
-include $(OBJECTS:.o=.d)
|
||||||
|
|
||||||
%.o: %.cpp
|
%.o: %.cpp
|
||||||
$(CXX) $(CFLAGS) -I../Common -I../GUICommon -I../ircDDB -c -o $@ $<
|
$(CXX) $(CFLAGS) -I../Common -I../GUICommon -I../ircDDB -c -o $@ $<
|
||||||
|
$(CXX) -MM $(CFLAGS) -I../Common -I../GUICommon -I../ircDDB $< > $*.d
|
||||||
|
|
||||||
|
.PHONY: install
|
||||||
install:
|
install:
|
||||||
install -g bin -o root -m 0775 starnetserver $(BINDIR)
|
install -g bin -o root -m 0775 starnetserver $(BINDIR)
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
$(RM) starnetserver *.o *.d *.bak *~
|
$(RM) starnetserver *.o *.d *.bak *~
|
||||||
|
|
||||||
|
../GUICommon/GUICommon.a:
|
||||||
|
../Common/Common.a:
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1,23 @@
|
||||||
OBJECTS = TextTransmit.o
|
OBJECTS = TextTransmit.o
|
||||||
|
|
||||||
|
.PHONY: all
|
||||||
all: texttransmitd
|
all: texttransmitd
|
||||||
|
|
||||||
texttransmitd: $(OBJECTS)
|
texttransmitd: $(OBJECTS) ../Common/Common.a
|
||||||
$(CXX) $(OBJECTS) ../Common/Common.a $(LDFLAGS) $(LIBS) -o texttransmitd
|
$(CXX) $(OBJECTS) ../Common/Common.a $(LDFLAGS) $(LIBS) -o texttransmitd
|
||||||
|
|
||||||
|
-include $(OBJECTS:.o=.d)
|
||||||
|
|
||||||
%.o: %.cpp
|
%.o: %.cpp
|
||||||
$(CXX) -DwxUSE_GUI=0 $(CFLAGS) -I../Common -c -o $@ $<
|
$(CXX) -DwxUSE_GUI=0 $(CFLAGS) -I../Common -c -o $@ $<
|
||||||
|
$(CXX) -MM -DwxUSE_GUI=0 $(CFLAGS) -I../Common $< > $*.d
|
||||||
|
|
||||||
|
.PHONY: install
|
||||||
install:
|
install:
|
||||||
install -g bin -o root -m 0775 texttransmitd $(BINDIR)
|
install -g bin -o root -m 0775 texttransmitd $(BINDIR)
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
$(RM) texttransmitd *.o *.d *.bak *~
|
$(RM) texttransmitd *.o *.d *.bak *~
|
||||||
|
|
||||||
|
../Common/Common.a:
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1,23 @@
|
||||||
OBJECTS = TimeServerD.o TimeServerConfig.o TimeServerThread.o TimeServerThreadHelper.o
|
OBJECTS = TimeServerD.o TimeServerConfig.o TimeServerThread.o TimeServerThreadHelper.o
|
||||||
|
|
||||||
|
.PHONY: all
|
||||||
all: timeserverd
|
all: timeserverd
|
||||||
|
|
||||||
timeserverd: $(OBJECTS)
|
timeserverd: $(OBJECTS) ../Common/Common.a
|
||||||
$(CXX) $(OBJECTS) ../Common/Common.a $(LDFLAGS) $(LIBS) -o timeserverd
|
$(CXX) $(OBJECTS) ../Common/Common.a $(LDFLAGS) $(LIBS) -o timeserverd
|
||||||
|
|
||||||
|
-include $(OBJECTS:.o=.d)
|
||||||
|
|
||||||
%.o: %.cpp
|
%.o: %.cpp
|
||||||
$(CXX) -DwxUSE_GUI=0 $(CFLAGS) -I../Common -c -o $@ $<
|
$(CXX) -DwxUSE_GUI=0 $(CFLAGS) -I../Common -c -o $@ $<
|
||||||
|
$(CXX) -MM -DwxUSE_GUI=0 $(CFLAGS) -I../Common $< > $*.d
|
||||||
|
|
||||||
|
.PHONY: install
|
||||||
install:
|
install:
|
||||||
install -g bin -o root -m 0775 timeserverd $(BINDIR)
|
install -g bin -o root -m 0775 timeserverd $(BINDIR)
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
$(RM) timeserverd *.o *.d *.bak *~
|
$(RM) timeserverd *.o *.d *.bak *~
|
||||||
|
|
||||||
|
../Common/Common.a:
|
||||||
|
|
|
||||||
|
|
@ -1,17 +1,25 @@
|
||||||
OBJECTS = TimeServerApp.o TimeServerAnnouncementsSet.o TimeServerConfig.o TimeServerFrame.o TimeServerGatewaySet.o TimeServerLogRedirect.o \
|
OBJECTS = TimeServerApp.o TimeServerAnnouncementsSet.o TimeServerConfig.o TimeServerFrame.o TimeServerGatewaySet.o TimeServerLogRedirect.o \
|
||||||
TimeServerPreferences.o TimeServerThread.o TimeServerThreadHelper.o
|
TimeServerPreferences.o TimeServerThread.o TimeServerThreadHelper.o
|
||||||
|
|
||||||
|
.PHONY: all
|
||||||
all: timeserver
|
all: timeserver
|
||||||
|
|
||||||
timeserver: $(OBJECTS)
|
timeserver: $(OBJECTS) ../GUICommon/GUICommon.a ../Common/Common.a
|
||||||
$(CXX) $(OBJECTS) ../GUICommon/GUICommon.a ../Common/Common.a $(LDFLAGS) $(GUILIBS) -o timeserver
|
$(CXX) $(OBJECTS) ../GUICommon/GUICommon.a ../Common/Common.a $(LDFLAGS) $(GUILIBS) -o timeserver
|
||||||
|
|
||||||
|
-include $(OBJECTS:.o=.d)
|
||||||
|
|
||||||
%.o: %.cpp
|
%.o: %.cpp
|
||||||
$(CXX) $(CFLAGS) -I../Common -I../GUICommon -c -o $@ $<
|
$(CXX) $(CFLAGS) -I../Common -I../GUICommon -c -o $@ $<
|
||||||
|
$(CXX) -MM $(CFLAGS) -I../Common -I../GUICommon $< > $*.d
|
||||||
|
|
||||||
|
.PHONY: install
|
||||||
install:
|
install:
|
||||||
install -g bin -o root -m 0775 timeserver $(BINDIR)
|
install -g bin -o root -m 0775 timeserver $(BINDIR)
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
$(RM) timeserver *.o *.d *.bak *~
|
$(RM) timeserver *.o *.d *.bak *~
|
||||||
|
|
||||||
|
../GUICommon/GUICommon.a:
|
||||||
|
../Common/Common.a:
|
||||||
|
|
|
||||||
|
|
@ -1,17 +1,25 @@
|
||||||
OBJECTS = TimerControlAppD.o TimerControlConfig.o TimerControlItemFile.o TimerControlRemoteControlHandler.o TimerControlThread.o \
|
OBJECTS = TimerControlAppD.o TimerControlConfig.o TimerControlItemFile.o TimerControlRemoteControlHandler.o TimerControlThread.o \
|
||||||
TimerControlThreadHelper.o
|
TimerControlThreadHelper.o
|
||||||
|
|
||||||
|
.PHONY: all
|
||||||
all: timercontrold
|
all: timercontrold
|
||||||
|
|
||||||
timercontrold: $(OBJECTS)
|
timercontrold: $(OBJECTS) ../Common/Common.a
|
||||||
$(CXX) $(OBJECTS) ../Common/Common.a $(LDFLAGS) $(LIBS) -o timercontrold
|
$(CXX) $(OBJECTS) ../Common/Common.a $(LDFLAGS) $(LIBS) -o timercontrold
|
||||||
|
|
||||||
|
-include $(OBJECTS:.o=.d)
|
||||||
|
|
||||||
%.o: %.cpp
|
%.o: %.cpp
|
||||||
$(CXX) -DwxUSE_GUI=0 $(CFLAGS) -I../Common -c -o $@ $<
|
$(CXX) -DwxUSE_GUI=0 $(CFLAGS) -I../Common -c -o $@ $<
|
||||||
|
$(CXX) -MM -DwxUSE_GUI=0 $(CFLAGS) -I../Common $< > $*.d
|
||||||
|
|
||||||
|
.PHONY: install
|
||||||
install:
|
install:
|
||||||
install -g bin -o root -m 0775 timercontrold $(BINDIR)
|
install -g bin -o root -m 0775 timercontrold $(BINDIR)
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
$(RM) timercontrold *.o *.d *.bak *~
|
$(RM) timercontrold *.o *.d *.bak *~
|
||||||
|
|
||||||
|
../Common/Common.a:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,17 +2,25 @@ OBJECTS = TimerControlApp.o TimerControlConfig.o TimerControlFrame.o TimerContro
|
||||||
TimerControlRemoteControlHandler.o TimerControlRemoteSet.o TimerControlRepeaterPanel.o TimerControlThread.o \
|
TimerControlRemoteControlHandler.o TimerControlRemoteSet.o TimerControlRepeaterPanel.o TimerControlThread.o \
|
||||||
TimerControlThreadHelper.o
|
TimerControlThreadHelper.o
|
||||||
|
|
||||||
|
.PHONY: all
|
||||||
all: timercontrol
|
all: timercontrol
|
||||||
|
|
||||||
timercontrol: $(OBJECTS)
|
timercontrol: $(OBJECTS) ../GUICommon/GUICommon.a ../Common/Common.a
|
||||||
$(CXX) $(OBJECTS) ../GUICommon/GUICommon.a ../Common/Common.a $(LDFLAGS) $(GUILIBS) -o timercontrol
|
$(CXX) $(OBJECTS) ../GUICommon/GUICommon.a ../Common/Common.a $(LDFLAGS) $(GUILIBS) -o timercontrol
|
||||||
|
|
||||||
|
-include $(OBJECTS:.o=.d)
|
||||||
|
|
||||||
%.o: %.cpp
|
%.o: %.cpp
|
||||||
$(CXX) $(CFLAGS) -I../Common -I../GUICommon -c -o $@ $<
|
$(CXX) $(CFLAGS) -I../Common -I../GUICommon -c -o $@ $<
|
||||||
|
$(CXX) -MM $(CFLAGS) -I../Common -I../GUICommon $< > $*.d
|
||||||
|
|
||||||
|
.PHONY: install
|
||||||
install:
|
install:
|
||||||
install -g bin -o root -m 0775 timercontrol $(BINDIR)
|
install -g bin -o root -m 0775 timercontrol $(BINDIR)
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
$(RM) timercontrol *.o *.d *.bak *~
|
$(RM) timercontrol *.o *.d *.bak *~
|
||||||
|
|
||||||
|
../GUICommon/GUICommon.a:
|
||||||
|
../Common/Common.a:
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1,23 @@
|
||||||
OBJECTS = VoiceStore.o VoiceTransmit.o
|
OBJECTS = VoiceStore.o VoiceTransmit.o
|
||||||
|
|
||||||
|
.PHONY: all
|
||||||
all: voicetransmitd
|
all: voicetransmitd
|
||||||
|
|
||||||
voicetransmitd: $(OBJECTS)
|
voicetransmitd: $(OBJECTS) ../Common/Common.a
|
||||||
$(CXX) $(OBJECTS) ../Common/Common.a $(LDFLAGS) $(LIBS) -o voicetransmitd
|
$(CXX) $(OBJECTS) ../Common/Common.a $(LDFLAGS) $(LIBS) -o voicetransmitd
|
||||||
|
|
||||||
|
-include $(OBJECTS:.o=.d)
|
||||||
|
|
||||||
%.o: %.cpp
|
%.o: %.cpp
|
||||||
$(CXX) -DwxUSE_GUI=0 $(CFLAGS) -I../Common -c -o $@ $<
|
$(CXX) -DwxUSE_GUI=0 $(CFLAGS) -I../Common -c -o $@ $<
|
||||||
|
$(CXX) -MM -DwxUSE_GUI=0 $(CFLAGS) -I../Common $< > $*.d
|
||||||
|
|
||||||
|
.PHONY: install
|
||||||
install:
|
install:
|
||||||
install -g bin -o root -m 0775 voicetransmitd $(BINDIR)
|
install -g bin -o root -m 0775 voicetransmitd $(BINDIR)
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
$(RM) voicetransmitd *.o *.d *.bak *~
|
$(RM) voicetransmitd *.o *.d *.bak *~
|
||||||
|
|
||||||
|
../Common/Common.a:
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,19 @@
|
||||||
OBJECTS = IRCClient.o IRCDDBApp.o IRCDDBClient.o IRCDDB.o IRCDDBMultiClient.o IRCMessage.o IRCMessageQueue.o IRCProtocol.o IRCReceiver.o \
|
OBJECTS = IRCClient.o IRCDDBApp.o IRCDDBClient.o IRCDDB.o IRCDDBMultiClient.o IRCMessage.o IRCMessageQueue.o IRCProtocol.o IRCReceiver.o \
|
||||||
IRCutils.o
|
IRCutils.o
|
||||||
|
|
||||||
|
.PHONY: all
|
||||||
all: IRCDDB.a
|
all: IRCDDB.a
|
||||||
|
|
||||||
IRCDDB.a: $(OBJECTS)
|
IRCDDB.a: $(OBJECTS)
|
||||||
$(AR) rcs IRCDDB.a $(OBJECTS)
|
$(AR) rcs IRCDDB.a $(OBJECTS)
|
||||||
|
|
||||||
|
-include $(OBJECTS:.o=.d)
|
||||||
|
|
||||||
%.o: %.cpp
|
%.o: %.cpp
|
||||||
$(CXX) -DwxUSE_GUI=0 $(CFLAGS) -c -o $@ $<
|
$(CXX) -DwxUSE_GUI=0 $(CFLAGS) -c -o $@ $<
|
||||||
|
$(CXX) -MM -DwxUSE_GUI=0 $(CFLAGS) $< > $*.d
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
$(RM) IRCDDB.a *.o *.d *.bak *~
|
$(RM) IRCDDB.a *.o *.d *.bak *~
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1,25 @@
|
||||||
OBJECTS = IRCDDBGatewayAppD.o IRCDDBGatewayStatusData.o IRCDDBGatewayThread.o IRCDDBGatewayThreadHelper.o
|
OBJECTS = IRCDDBGatewayAppD.o IRCDDBGatewayStatusData.o IRCDDBGatewayThread.o IRCDDBGatewayThreadHelper.o
|
||||||
|
|
||||||
|
.PHONY: all
|
||||||
all: ircddbgatewayd
|
all: ircddbgatewayd
|
||||||
|
|
||||||
ircddbgatewayd: $(OBJECTS)
|
ircddbgatewayd: $(OBJECTS) ../ircDDB/IRCDDB.a ../Common/Common.a
|
||||||
$(CXX) $(OBJECTS) ../Common/Common.a ../ircDDB/IRCDDB.a $(LDFLAGS) $(LIBS) -o ircddbgatewayd
|
$(CXX) $(OBJECTS) ../Common/Common.a ../ircDDB/IRCDDB.a $(LDFLAGS) $(LIBS) -o ircddbgatewayd
|
||||||
|
|
||||||
|
-include $(OBJECTS:.o=.d)
|
||||||
|
|
||||||
%.o: %.cpp
|
%.o: %.cpp
|
||||||
$(CXX) -DwxUSE_GUI=0 $(CFLAGS) -I../Common -I../ircDDB -c -o $@ $<
|
$(CXX) -DwxUSE_GUI=0 $(CFLAGS) -I../Common -I../ircDDB -c -o $@ $<
|
||||||
|
$(CXX) -MM -DwxUSE_GUI=0 $(CFLAGS) -I../Common -I../ircDDB $< > $*.d
|
||||||
|
|
||||||
|
.PHONY: install
|
||||||
install:
|
install:
|
||||||
install -g bin -o root -m 0775 ircddbgatewayd $(BINDIR)
|
install -g bin -o root -m 0775 ircddbgatewayd $(BINDIR)
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
$(RM) ircddbgatewayd *.o *.d *.bak *~
|
$(RM) ircddbgatewayd *.o *.d *.bak *~
|
||||||
|
|
||||||
|
../Common/Common.a:
|
||||||
|
../ircDDB/IRCDDB.a:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,17 +1,26 @@
|
||||||
OBJECTS = IRCDDBGatewayApp.o IRCDDBGatewayFrame.o IRCDDBGatewayLogRedirect.o IRCDDBGatewayStatusData.o IRCDDBGatewayThread.o \
|
OBJECTS = IRCDDBGatewayApp.o IRCDDBGatewayFrame.o IRCDDBGatewayLogRedirect.o IRCDDBGatewayStatusData.o IRCDDBGatewayThread.o \
|
||||||
IRCDDBGatewayThreadHelper.o
|
IRCDDBGatewayThreadHelper.o
|
||||||
|
|
||||||
|
.PHONY: all
|
||||||
all: ircddbgateway
|
all: ircddbgateway
|
||||||
|
|
||||||
ircddbgateway: $(OBJECTS)
|
ircddbgateway: $(OBJECTS) ../GUICommon/GUICommon.a ../Common/Common.a
|
||||||
$(CXX) $(OBJECTS) ../GUICommon/GUICommon.a ../Common/Common.a ../ircDDB/IRCDDB.a $(LDFLAGS) $(GUILIBS) -o ircddbgateway
|
$(CXX) $(OBJECTS) ../GUICommon/GUICommon.a ../Common/Common.a ../ircDDB/IRCDDB.a $(LDFLAGS) $(GUILIBS) -o ircddbgateway
|
||||||
|
|
||||||
|
-include $(OBJECTS:.o=.d)
|
||||||
|
|
||||||
%.o: %.cpp
|
%.o: %.cpp
|
||||||
$(CXX) $(CFLAGS) -I../Common -I../GUICommon -I../ircDDB -c -o $@ $<
|
$(CXX) $(CFLAGS) -I../Common -I../GUICommon -I../ircDDB -c -o $@ $<
|
||||||
|
$(CXX) -MM $(CFLAGS) -I../Common -I../GUICommon -I../ircDDB $< > $*.d
|
||||||
|
|
||||||
|
.PHONY: install
|
||||||
install:
|
install:
|
||||||
install -g bin -o root -m 0775 ircddbgateway $(BINDIR)
|
install -g bin -o root -m 0775 ircddbgateway $(BINDIR)
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
$(RM) ircddbgateway *.o *.d *.bak *~
|
$(RM) ircddbgateway *.o *.d *.bak *~
|
||||||
|
|
||||||
|
../GUICommon/GUICommon.a:
|
||||||
|
../Common/Common.a:s
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,17 +1,25 @@
|
||||||
OBJECTS = IRCDDBGatewayConfigApp.o IRCDDBGatewayConfigFrame.o IRCDDBGatewayConfigGatewaySet.o IRCDDBGatewayConfigIrcDDBSet.o \
|
OBJECTS = IRCDDBGatewayConfigApp.o IRCDDBGatewayConfigFrame.o IRCDDBGatewayConfigGatewaySet.o IRCDDBGatewayConfigIrcDDBSet.o \
|
||||||
IRCDDBGatewayConfigMiscellaneousSet.o
|
IRCDDBGatewayConfigMiscellaneousSet.o
|
||||||
|
|
||||||
|
.PHONY: all
|
||||||
all: ircddbgatewayconfig
|
all: ircddbgatewayconfig
|
||||||
|
|
||||||
ircddbgatewayconfig: $(OBJECTS)
|
ircddbgatewayconfig: $(OBJECTS) ../GUICommon/GUICommon.a ../Common/Common.a
|
||||||
$(CXX) $(OBJECTS) ../GUICommon/GUICommon.a ../Common/Common.a $(LDFLAGS) $(GUILIBS) -o ircddbgatewayconfig
|
$(CXX) $(OBJECTS) ../GUICommon/GUICommon.a ../Common/Common.a $(LDFLAGS) $(GUILIBS) -o ircddbgatewayconfig
|
||||||
|
|
||||||
|
-include $(OBJECTS:.o=.d)
|
||||||
|
|
||||||
%.o: %.cpp
|
%.o: %.cpp
|
||||||
$(CXX) $(CFLAGS) -I../Common -I../GUICommon -c -o $@ $<
|
$(CXX) $(CFLAGS) -I../Common -I../GUICommon -c -o $@ $<
|
||||||
|
$(CXX) -MM -DwxUSE_GUI=0 $(CFLAGS) -I../Common -I../GUICommon $< > $*.d
|
||||||
|
|
||||||
|
.PHONY: install
|
||||||
install:
|
install:
|
||||||
install -g bin -o root -m 0775 ircddbgatewayconfig $(BINDIR)
|
install -g bin -o root -m 0775 ircddbgatewayconfig $(BINDIR)
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
$(RM) ircddbgatewayconfig *.o *.d *.bak *~
|
$(RM) ircddbgatewayconfig *.o *.d *.bak *~
|
||||||
|
|
||||||
|
../Common/Common.a:
|
||||||
|
../GUICommon/GUICommon.a:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue