cadence-session-start: Remove all qt stuff appart QSettings
[cadence-nykeej.git] / Makefile
blob98e81a2649dfa021c33482696fe0933191395ac5
1 #!/usr/bin/make -f
2 # Makefile for Cadence #
3 # ---------------------- #
4 # Created by falkTX
7 DESTDIR =
8 PYUIC = pyuic4
9 PYRCC = pyrcc4
12 all: build
14 build: UI RC
16 UI: cadence catarina catia claudia tools
18 cadence: src/ui_cadence.py
20 catarina: src/ui_catarina.py \
21 src/ui_catarina_addgroup.py src/ui_catarina_removegroup.py src/ui_catarina_renamegroup.py \
22 src/ui_catarina_addport.py src/ui_catarina_removeport.py src/ui_catarina_renameport.py \
23 src/ui_catarina_connectports.py src/ui_catarina_disconnectports.py
25 catia: src/ui_catia.py
27 claudia: src/ui_claudia.py \
28 src/ui_claudia_createroom.py src/ui_claudia_addnew.py src/ui_claudia_addnew_kxstudio.py \
29 src/ui_claudia_runcustom.py src/ui_claudia_saveproject.py src/ui_claudia_projectproperties.py \
30 src/ui_claudia_studiolist.py src/ui_claudia_studioname.py
32 tools: \
33 src/ui_logs.py src/ui_render.py src/ui_xycontroller.py \
34 src/ui_settings_app.py src/ui_settings_jack.py
36 src/ui_cadence.py: src/ui/cadence.ui
37 $(PYUIC) -o ./src/ui_cadence.py $<
39 src/ui_catarina.py: src/ui/catarina.ui
40 $(PYUIC) -o ./src/ui_catarina.py $<
42 src/ui_catarina_addgroup.py: src/ui/catarina_addgroup.ui
43 $(PYUIC) -o ./src/ui_catarina_addgroup.py $<
45 src/ui_catarina_removegroup.py: src/ui/catarina_removegroup.ui
46 $(PYUIC) -o ./src/ui_catarina_removegroup.py $<
48 src/ui_catarina_renamegroup.py: src/ui/catarina_renamegroup.ui
49 $(PYUIC) -o ./src/ui_catarina_renamegroup.py $<
51 src/ui_catarina_addport.py: src/ui/catarina_addport.ui
52 $(PYUIC) -o ./src/ui_catarina_addport.py $<
54 src/ui_catarina_removeport.py: src/ui/catarina_removeport.ui
55 $(PYUIC) -o ./src/ui_catarina_removeport.py $<
57 src/ui_catarina_renameport.py: src/ui/catarina_renameport.ui
58 $(PYUIC) -o ./src/ui_catarina_renameport.py $<
60 src/ui_catarina_connectports.py: src/ui/catarina_connectports.ui
61 $(PYUIC) -o ./src/ui_catarina_connectports.py $<
63 src/ui_catarina_disconnectports.py: src/ui/catarina_disconnectports.ui
64 $(PYUIC) -o ./src/ui_catarina_disconnectports.py $<
66 src/ui_catia.py: src/ui/catia.ui
67 $(PYUIC) -o ./src/ui_catia.py $<
69 src/ui_claudia.py: src/ui/claudia.ui
70 $(PYUIC) -o ./src/ui_claudia.py $<
72 src/ui_claudia_createroom.py: src/ui/claudia_createroom.ui
73 $(PYUIC) -o ./src/ui_claudia_createroom.py $<
75 src/ui_claudia_addnew.py: src/ui/claudia_addnew.ui
76 $(PYUIC) -o ./src/ui_claudia_addnew.py $<
78 src/ui_claudia_addnew_kxstudio.py: src/ui/claudia_addnew_kxstudio.ui
79 $(PYUIC) -o ./src/ui_claudia_addnew_kxstudio.py $<
81 src/ui_claudia_runcustom.py: src/ui/claudia_runcustom.ui
82 $(PYUIC) -o ./src/ui_claudia_runcustom.py $<
84 src/ui_claudia_saveproject.py: src/ui/claudia_saveproject.ui
85 $(PYUIC) -o ./src/ui_claudia_saveproject.py $<
87 src/ui_claudia_projectproperties.py: src/ui/claudia_projectproperties.ui
88 $(PYUIC) -o ./src/ui_claudia_projectproperties.py $<
90 src/ui_claudia_studiolist.py: src/ui/claudia_studiolist.ui
91 $(PYUIC) -o ./src/ui_claudia_studiolist.py $<
93 src/ui_claudia_studioname.py: src/ui/claudia_studioname.ui
94 $(PYUIC) -o ./src/ui_claudia_studioname.py $<
96 src/ui_logs.py: src/ui/logs.ui
97 $(PYUIC) -o ./src/ui_logs.py $<
99 src/ui_render.py: src/ui/render.ui
100 $(PYUIC) -o ./src/ui_render.py $<
102 src/ui_xycontroller.py: src/ui/xycontroller.ui
103 $(PYUIC) -o ./src/ui_xycontroller.py $<
105 src/ui_settings_app.py: src/ui/settings_app.ui
106 $(PYUIC) -o ./src/ui_settings_app.py $<
108 src/ui_settings_jack.py: src/ui/settings_jack.ui
109 $(PYUIC) -o ./src/ui_settings_jack.py $<
111 RC: src/icons_rc.py
113 src/icons_rc.py: src/icons/icons.qrc
114 $(PYRCC) -o ./src/icons_rc.py $<
116 # LANG:
117 # pylupdate4 -verbose src/lang/lang.pro
118 # lrelease src/lang/lang.pro
121 clean:
122 rm -f src/icons_rc.py src/ui_*.py src/*.pyc src/*~ *~
124 distclean: clean
127 install:
128 install -d $(DESTDIR)/usr/bin/
129 install -d $(DESTDIR)/usr/share/applications/
130 install -d $(DESTDIR)/usr/share/pixmaps/
131 install -d $(DESTDIR)/usr/share/cadence/
132 install -d $(DESTDIR)/usr/share/cadence/src/
133 install -d $(DESTDIR)/usr/share/cadence/icons/
134 install -d $(DESTDIR)/usr/share/cadence/pulse2jack/
135 install -d $(DESTDIR)/usr/share/cadence/templates/
136 install -m 755 data/cadence data/cadence-session-start data/catarina data/catia data/claudia pulse2jack/pulse2jack $(DESTDIR)/usr/bin/
137 # install -m 644 data/*.desktop $(DESTDIR)/usr/share/applications/
138 install -m 644 pulse2jack/profiles/* $(DESTDIR)/usr/share/cadence/pulse2jack/
139 install -m 644 src/icons/svg/j2sc.svg $(DESTDIR)/usr/share/pixmaps/
140 install -m 755 src/*.py $(DESTDIR)/usr/share/cadence/src/
141 cp -r data/icons/* $(DESTDIR)/usr/share/cadence/icons/
142 cp -r templates/* $(DESTDIR)/usr/share/cadence/templates/
144 uninstall:
145 rm -f $(DESTDIR)/usr/bin/cadence
146 rm -f $(DESTDIR)/usr/bin/cadence-session-start
147 rm -f $(DESTDIR)/usr/bin/catarina
148 rm -f $(DESTDIR)/usr/bin/catia
149 rm -f $(DESTDIR)/usr/bin/claudia
150 rm -f $(DESTDIR)/usr/bin/pulse2jack
151 rm -rf $(DESTDIR)/usr/share/cadence/