mirror of
https://github.com/g4klx/ircDDBGateway.git
synced 2025-12-06 05:32:02 +01:00
Add package installation.
This commit is contained in:
parent
bb602947f4
commit
2af8d017fd
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -7,4 +7,5 @@ Release
|
||||||
*~
|
*~
|
||||||
*.bak
|
*.bak
|
||||||
.vs
|
.vs
|
||||||
|
*.a
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,9 @@ aprstransmit: $(OBJECTS)
|
||||||
%.o: %.cpp
|
%.o: %.cpp
|
||||||
$(CXX) $(CFLAGS) -I../Common -c -o $@ $<
|
$(CXX) $(CFLAGS) -I../Common -c -o $@ $<
|
||||||
|
|
||||||
|
install:
|
||||||
|
install -g bin -o root -m 0775 aprstransmit $(BINDIR)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(RM) aprstransmit *.o *.d *.bak *~
|
$(RM) aprstransmit *.o *.d *.bak *~
|
||||||
|
|
||||||
|
|
|
||||||
36
Data/Makefile
Normal file
36
Data/Makefile
Normal file
|
|
@ -0,0 +1,36 @@
|
||||||
|
install:
|
||||||
|
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 DCS_Hosts.txt $(DATADIR)
|
||||||
|
install -g bin -o root -m 0664 DExtra_Hosts.txt $(DATADIR)
|
||||||
|
install -g bin -o root -m 0664 DPlus_Hosts.txt $(DATADIR)
|
||||||
|
install -g bin -o root -m 0664 TIME_de_DE.ambe $(DATADIR)
|
||||||
|
install -g bin -o root -m 0664 TIME_de_DE.indx $(DATADIR)
|
||||||
|
install -g bin -o root -m 0664 TIME_en_GB.ambe $(DATADIR)
|
||||||
|
install -g bin -o root -m 0664 TIME_en_GB.indx $(DATADIR)
|
||||||
|
install -g bin -o root -m 0664 TIME_en_US.ambe $(DATADIR)
|
||||||
|
install -g bin -o root -m 0664 TIME_en_US.indx $(DATADIR)
|
||||||
|
install -g bin -o root -m 0664 TIME_fr_FR.ambe $(DATADIR)
|
||||||
|
install -g bin -o root -m 0664 TIME_fr_FR.indx $(DATADIR)
|
||||||
|
install -g bin -o root -m 0664 TIME_se_SE.ambe $(DATADIR)
|
||||||
|
install -g bin -o root -m 0664 TIME_se_SE.indx $(DATADIR)
|
||||||
|
install -g bin -o root -m 0664 de_DE.ambe $(DATADIR)
|
||||||
|
install -g bin -o root -m 0664 de_DE.indx $(DATADIR)
|
||||||
|
install -g bin -o root -m 0664 dk_DK.ambe $(DATADIR)
|
||||||
|
install -g bin -o root -m 0664 dk_DK.indx $(DATADIR)
|
||||||
|
install -g bin -o root -m 0664 en_GB.ambe $(DATADIR)
|
||||||
|
install -g bin -o root -m 0664 en_GB.indx $(DATADIR)
|
||||||
|
install -g bin -o root -m 0664 en_US.ambe $(DATADIR)
|
||||||
|
install -g bin -o root -m 0664 en_US.indx $(DATADIR)
|
||||||
|
install -g bin -o root -m 0664 es_ES.ambe $(DATADIR)
|
||||||
|
install -g bin -o root -m 0664 es_ES.indx $(DATADIR)
|
||||||
|
install -g bin -o root -m 0664 fr_FR.ambe $(DATADIR)
|
||||||
|
install -g bin -o root -m 0664 fr_FR.indx $(DATADIR)
|
||||||
|
install -g bin -o root -m 0664 it_IT.ambe $(DATADIR)
|
||||||
|
install -g bin -o root -m 0664 it_IT.indx $(DATADIR)
|
||||||
|
install -g bin -o root -m 0664 no_NO.ambe $(DATADIR)
|
||||||
|
install -g bin -o root -m 0664 no_NO.indx $(DATADIR)
|
||||||
|
install -g bin -o root -m 0664 pl_PL.ambe $(DATADIR)
|
||||||
|
install -g bin -o root -m 0664 pl_PL.indx $(DATADIR)
|
||||||
|
install -g bin -o root -m 0664 se_SE.ambe $(DATADIR)
|
||||||
|
install -g bin -o root -m 0664 se_SE.indx $(DATADIR)
|
||||||
19
Makefile
19
Makefile
|
|
@ -1,11 +1,12 @@
|
||||||
export DATADIR := "/usr/local/etc"
|
export DATADIR := "/usr/share/ircddbgateway"
|
||||||
export LOGDIR := "/var/log"
|
export LOGDIR := "/var/log"
|
||||||
export CONFDIR := "/etc"
|
export CONFDIR := "/etc"
|
||||||
|
export BINDIR := "/usr/bin"
|
||||||
|
|
||||||
export CXX := $(shell wx-config --cxx)
|
export CXX := $(shell wx-config --cxx)
|
||||||
export CFLAGS := -g -O2 -Wall $(shell wx-config --cxxflags) -DLOG_DIR='$(LOGDIR)' -DCONF_DIR='$(CONFDIR)' -DDATA_DIR='$(DATADIR)'
|
export CFLAGS := -O2 -Wall $(shell wx-config --cxxflags) -DLOG_DIR='$(LOGDIR)' -DCONF_DIR='$(CONFDIR)' -DDATA_DIR='$(DATADIR)'
|
||||||
export LIBS := $(shell wx-config --libs adv,core)
|
export LIBS := $(shell wx-config --libs adv,core)
|
||||||
export LDFLAGS := -g
|
export LDFLAGS :=
|
||||||
|
|
||||||
all: ircDDBGateway/ircddbgateway ircDDBGatewayConfig/ircddbgatewayconfig APRSTransmit/aprstransmit RemoteControl/remotecontrol \
|
all: ircDDBGateway/ircddbgateway ircDDBGatewayConfig/ircddbgatewayconfig APRSTransmit/aprstransmit RemoteControl/remotecontrol \
|
||||||
StarNetServer/starnetserver TextTransmit/texttransmit TimerControl/timercontrol TimeServer/timeserver VoiceTransmit/voicetransmit
|
StarNetServer/starnetserver TextTransmit/texttransmit TimerControl/timercontrol TimeServer/timeserver VoiceTransmit/voicetransmit
|
||||||
|
|
@ -46,6 +47,18 @@ Common/Common.a:
|
||||||
ircDDB/IRCDDB.a:
|
ircDDB/IRCDDB.a:
|
||||||
make -C ircDDB
|
make -C ircDDB
|
||||||
|
|
||||||
|
install: all
|
||||||
|
make -C Data install
|
||||||
|
make -C APRSTransmit install
|
||||||
|
make -C ircDDBGateway install
|
||||||
|
make -C RemoteControl install
|
||||||
|
make -C StarNetServer install
|
||||||
|
make -C TextTransmit install
|
||||||
|
make -C TimerControl install
|
||||||
|
make -C TimeServer install
|
||||||
|
make -C VoiceTransmit install
|
||||||
|
make -C ircDDBGatewayConfig install
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
make -C Common clean
|
make -C Common clean
|
||||||
make -C ircDDB clean
|
make -C ircDDB clean
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,9 @@ remotecontrol: $(OBJECTS)
|
||||||
%.o: %.cpp
|
%.o: %.cpp
|
||||||
$(CXX) $(CFLAGS) -I../Common -I../GUICommon -c -o $@ $<
|
$(CXX) $(CFLAGS) -I../Common -I../GUICommon -c -o $@ $<
|
||||||
|
|
||||||
|
install:
|
||||||
|
install -g bin -o root -m 0775 remotecontrol $(BINDIR)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(RM) remotecontrol *.o *.d *.bak *~
|
$(RM) remotecontrol *.o *.d *.bak *~
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,9 @@ starnetserver: $(OBJECTS)
|
||||||
%.o: %.cpp
|
%.o: %.cpp
|
||||||
$(CXX) $(CFLAGS) -I../Common -I../GUICommon -I../ircDDB -c -o $@ $<
|
$(CXX) $(CFLAGS) -I../Common -I../GUICommon -I../ircDDB -c -o $@ $<
|
||||||
|
|
||||||
|
install:
|
||||||
|
install -g bin -o root -m 0775 starnetserver $(BINDIR)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(RM) starnetserver *.o *.d *.bak *~
|
$(RM) starnetserver *.o *.d *.bak *~
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,9 @@ texttransmit: $(OBJECTS)
|
||||||
%.o: %.cpp
|
%.o: %.cpp
|
||||||
$(CXX) $(CFLAGS) -I../Common -c -o $@ $<
|
$(CXX) $(CFLAGS) -I../Common -c -o $@ $<
|
||||||
|
|
||||||
|
install:
|
||||||
|
install -g bin -o root -m 0775 texttransmit $(BINDIR)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(RM) texttransmit *.o *.d *.bak *~
|
$(RM) texttransmit *.o *.d *.bak *~
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,9 @@ timeserver: $(OBJECTS)
|
||||||
%.o: %.cpp
|
%.o: %.cpp
|
||||||
$(CXX) $(CFLAGS) -I../Common -I../GUICommon -c -o $@ $<
|
$(CXX) $(CFLAGS) -I../Common -I../GUICommon -c -o $@ $<
|
||||||
|
|
||||||
|
install:
|
||||||
|
install -g bin -o root -m 0775 timeserver $(BINDIR)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(RM) timeserver *.o *.d *.bak *~
|
$(RM) timeserver *.o *.d *.bak *~
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,9 @@ timercontrol: $(OBJECTS)
|
||||||
%.o: %.cpp
|
%.o: %.cpp
|
||||||
$(CXX) $(CFLAGS) -I../Common -I../GUICommon -c -o $@ $<
|
$(CXX) $(CFLAGS) -I../Common -I../GUICommon -c -o $@ $<
|
||||||
|
|
||||||
|
install:
|
||||||
|
install -g bin -o root -m 0775 timercontrol $(BINDIR)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(RM) timercontrol *.o *.d *.bak *~
|
$(RM) timercontrol *.o *.d *.bak *~
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,9 @@ voicetransmit: $(OBJECTS)
|
||||||
%.o: %.cpp
|
%.o: %.cpp
|
||||||
$(CXX) $(CFLAGS) -I../Common -c -o $@ $<
|
$(CXX) $(CFLAGS) -I../Common -c -o $@ $<
|
||||||
|
|
||||||
|
install:
|
||||||
|
install -g bin -o root -m 0775 voicetransmit $(BINDIR)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(RM) voicetransmit *.o *.d *.bak *~
|
$(RM) voicetransmit *.o *.d *.bak *~
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,9 @@ ircddbgateway: $(OBJECTS)
|
||||||
%.o: %.cpp
|
%.o: %.cpp
|
||||||
$(CXX) $(CFLAGS) -I../Common -I../ircDDB -c -o $@ $<
|
$(CXX) $(CFLAGS) -I../Common -I../ircDDB -c -o $@ $<
|
||||||
|
|
||||||
|
install:
|
||||||
|
install -g bin -o root -m 0775 ircddbgateway $(BINDIR)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(RM) ircddbgateway *.o *.d *.bak *~
|
$(RM) ircddbgateway *.o *.d *.bak *~
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,9 @@ ircddbgatewayconfig: $(OBJECTS)
|
||||||
%.o: %.cpp
|
%.o: %.cpp
|
||||||
$(CXX) $(CFLAGS) -I../Common -I../GUICommon -c -o $@ $<
|
$(CXX) $(CFLAGS) -I../Common -I../GUICommon -c -o $@ $<
|
||||||
|
|
||||||
|
install:
|
||||||
|
install -g bin -o root -m 0775 ircddbgatewayconfig $(BINDIR)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(RM) ircddbgatewayconfig *.o *.d *.bak *~
|
$(RM) ircddbgatewayconfig *.o *.d *.bak *~
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue