almost ready to merge into master
[avrdudequi:avrdudequi.git] / avrdudequi.pro
1 #-------------------------------------------------
2 #
3 # Project created by QtCreator 2011-05-19T22:01:40
4 #
5 #-------------------------------------------------
6
7 isEqual(QT_MAJOR_VERSION, 5) {
8     QT          += xml uitools
9 } else {
10     QT          += core gui xml
11     CONFIG      += uitools
12 }
13
14
15 TARGET      = avrdudequi
16 TEMPLATE    = app
17
18 unix: LIBS += -ludev
19
20 SOURCES +=  main.cpp\
21             avrdudequi.cpp \
22             programmer.cpp \
23             global.cpp \
24             mcu.cpp \
25             mtfusearray.cpp \
26             programmersettings.cpp \
27             runprocessdialog.cpp \
28             udevqtclient.cpp \
29             udevqtdevice.cpp \
30             sysdevices.cpp \
31     programmerdataview.cpp \
32     fusebyte.cpp \
33     fusewidget.cpp \
34     lockbit.cpp
35
36
37 HEADERS  += avrdudequi.h \
38             programmer.h \
39             global.h \
40             mcu.h \
41             mtfusearray.h \
42             programmersettings.h \
43             runprocessdialog.h \
44             udevqt.h \
45             udevqt_p.h \
46             sysdevices.h \
47     programmerdataview.h \
48     fusebyte.h \
49     fusewidget.h \
50     lockbit.h
51
52 FORMS    += avrdudequi.ui \
53     editdialog.ui
54
55
56
57 OTHER_FILES += \
58             INSTALL.txt \
59             Hardware/Programmer/usbtiny.xml \
60             Hardware/Programmer/programmer.xml.template \
61             Hardware/Programmer/avrisp.xml \
62             Hardware/Programmer/arduino.xml \
63             Hardware/Mcu/ATmega644.ui \
64             Hardware/Mcu/ATtiny85.ui \
65             Hardware/Mcu/ATtiny9.ui \
66             Hardware/Mcu/ATmega328p.ui \
67             Hardware/Mcu/ATmega8.ui \
68             Hardware/Mcu/mcuempty.ui \
69             Hardware/Mcu/mcuempty.txt
70
71
72 RESOURCES += \
73     resources/icons.qrc \
74     resources/iconfuse.qrc
75
76
77
78     isEmpty(INSTALL_PATH) {
79     INSTALL_PATH = /usr/local
80 }
81
82 target.path = $$INSTALL_PATH/bin
83 datas.path = $$INSTALL_PATH/share/avrdudequi