Diffstat (limited to 'noncore/tools/calculator/Makefile.in') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/tools/calculator/Makefile.in | 139 |
1 files changed, 139 insertions, 0 deletions
diff --git a/noncore/tools/calculator/Makefile.in b/noncore/tools/calculator/Makefile.in new file mode 100644 index 0000000..d62b046 --- a/dev/null +++ b/noncore/tools/calculator/Makefile.in | |||
@@ -0,0 +1,139 @@ | |||
1 | ############################################################################# | ||
2 | |||
3 | ####### Compiler, tools and options | ||
4 | |||
5 | CXX =$(SYSCONF_CXX) $(QT_CXX_MT) | ||
6 | CXXFLAGS=$(SYSCONF_CXXFLAGS_QT) $(SYSCONF_CXXFLAGS) | ||
7 | CC =$(SYSCONF_CC) $(QT_C_MT) | ||
8 | CFLAGS =$(SYSCONF_CFLAGS) | ||
9 | INCPATH =-I$(QPEDIR)/include | ||
10 | LFLAGS =$(SYSCONF_LFLAGS_QT) $(SYSCONF_RPATH_QT) $(SYSCONF_LFLAGS) $(QT_LFLAGS_MT) | ||
11 | LIBS =$(SUBLIBS) -lqpe $(SYSCONF_LIBS_QT) $(SYSCONF_LIBS) $(SYSCONF_LIBS_QTAPP) | ||
12 | MOC =$(SYSCONF_MOC) | ||
13 | UIC =$(SYSCONF_UIC) | ||
14 | |||
15 | ####### Target | ||
16 | |||
17 | DESTDIR = $(QPEDIR)/bin/ | ||
18 | VER_MAJ = 1 | ||
19 | VER_MIN = 0 | ||
20 | VER_PATCH = 0 | ||
21 | TARGET= calculator | ||
22 | TARGET1 = lib$(TARGET).so.$(VER_MAJ) | ||
23 | |||
24 | ####### Files | ||
25 | |||
26 | HEADERS =calculatorimpl.h | ||
27 | SOURCES =calculatorimpl.cpp \ | ||
28 | main.cpp | ||
29 | OBJECTS =calculatorimpl.o \ | ||
30 | main.o \ | ||
31 | calculator.o | ||
32 | INTERFACES = calculator.ui | ||
33 | UICDECLS = calculator.h | ||
34 | UICIMPLS = calculator.cpp | ||
35 | SRCMOC =moc_calculatorimpl.cpp \ | ||
36 | moc_calculator.cpp | ||
37 | OBJMOC =moc_calculatorimpl.o \ | ||
38 | moc_calculator.o | ||
39 | |||
40 | |||
41 | ####### Implicit rules | ||
42 | |||
43 | .SUFFIXES: .cpp .cxx .cc .C .c | ||
44 | |||
45 | .cpp.o: | ||
46 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< | ||
47 | |||
48 | .cxx.o: | ||
49 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< | ||
50 | |||
51 | .cc.o: | ||
52 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< | ||
53 | |||
54 | .C.o: | ||
55 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< | ||
56 | |||
57 | .c.o: | ||
58 | $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $< | ||
59 | |||
60 | ####### Build rules | ||
61 | |||
62 | |||
63 | all: $(DESTDIR)$(TARGET) | ||
64 | |||
65 | $(DESTDIR)$(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC) $(SUBLIBS) | ||
66 | $(SYSCONF_LINK) $(LFLAGS) -o $(DESTDIR)$(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS) | ||
67 | |||
68 | moc: $(SRCMOC) | ||
69 | |||
70 | tmake: | ||
71 | tmake calculator.pro | ||
72 | |||
73 | clean: | ||
74 | -rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC) $(UICIMPLS) $(UICDECLS) | ||
75 | -rm -f *~ core | ||
76 | -rm -f allmoc.cpp | ||
77 | |||
78 | ####### Extension Modules | ||
79 | |||
80 | listpromodules: | ||
81 | @echo | ||
82 | |||
83 | listallmodules: | ||
84 | @echo | ||
85 | |||
86 | listaddonpromodules: | ||
87 | @echo | ||
88 | |||
89 | listaddonentmodules: | ||
90 | @echo | ||
91 | |||
92 | |||
93 | REQUIRES= | ||
94 | |||
95 | ####### Sub-libraries | ||
96 | |||
97 | |||
98 | ###### Combined headers | ||
99 | |||
100 | |||
101 | |||
102 | ####### Compile | ||
103 | |||
104 | calculatorimpl.o: calculatorimpl.cpp \ | ||
105 | calculatorimpl.h \ | ||
106 | calculator.h \ | ||
107 | $(QPEDIR)/include/qpe/resource.h \ | ||
108 | $(QPEDIR)/include/qpe/qmath.h \ | ||
109 | $(QPEDIR)/include/qpe/qpeapplication.h | ||
110 | |||
111 | main.o: main.cpp \ | ||
112 | calculatorimpl.h \ | ||
113 | calculator.h \ | ||
114 | $(QPEDIR)/include/qpe/qpeapplication.h | ||
115 | |||
116 | calculator.h: calculator.ui | ||
117 | $(UIC) calculator.ui -o calculator.h | ||
118 | |||
119 | calculator.cpp: calculator.ui | ||
120 | $(UIC) calculator.ui -i calculator.h -o calculator.cpp | ||
121 | |||
122 | calculator.o: calculator.cpp \ | ||
123 | calculator.h \ | ||
124 | calculator.ui | ||
125 | |||
126 | moc_calculatorimpl.o: moc_calculatorimpl.cpp \ | ||
127 | calculatorimpl.h \ | ||
128 | calculator.h | ||
129 | |||
130 | moc_calculator.o: moc_calculator.cpp \ | ||
131 | calculator.h | ||
132 | |||
133 | moc_calculatorimpl.cpp: calculatorimpl.h | ||
134 | $(MOC) calculatorimpl.h -o moc_calculatorimpl.cpp | ||
135 | |||
136 | moc_calculator.cpp: calculator.h | ||
137 | $(MOC) calculator.h -o moc_calculator.cpp | ||
138 | |||
139 | |||