author | kergoth <kergoth> | 2002-01-25 22:14:26 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2002-01-25 22:14:26 (UTC) |
commit | 15318cad33835e4e2dc620d033e43cd930676cdd (patch) (unidiff) | |
tree | c2fa0399a2c47fda8e2cd0092c73a809d17f68eb /noncore/games/chess/Makefile.in | |
download | opie-15318cad33835e4e2dc620d033e43cd930676cdd.zip opie-15318cad33835e4e2dc620d033e43cd930676cdd.tar.gz opie-15318cad33835e4e2dc620d033e43cd930676cdd.tar.bz2 |
Initial revision
Diffstat (limited to 'noncore/games/chess/Makefile.in') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/chess/Makefile.in | 134 |
1 files changed, 134 insertions, 0 deletions
diff --git a/noncore/games/chess/Makefile.in b/noncore/games/chess/Makefile.in new file mode 100644 index 0000000..7354d76 --- a/dev/null +++ b/noncore/games/chess/Makefile.in | |||
@@ -0,0 +1,134 @@ | |||
1 | ############################################################################# | ||
2 | |||
3 | ####### Compiler, tools and options | ||
4 | |||
5 | CXX =$(SYSCONF_CXX) $(QT_CXX_MT) | ||
6 | CXXFLAGS=$(SYSCONF_CXXFLAGS_QT) $(SYSCONF_CXXFLAGS) -DQCONFIG=\"qpe\" | ||
7 | CC =$(SYSCONF_CC) $(QT_C_MT) | ||
8 | CFLAGS =$(SYSCONF_CFLAGS) -DQCONFIG=\"qpe\" | ||
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 = ../bin/ | ||
18 | VER_MAJ = 1 | ||
19 | VER_MIN = 0 | ||
20 | VER_PATCH = 0 | ||
21 | TARGET= chess | ||
22 | TARGET1 = lib$(TARGET).so.$(VER_MAJ) | ||
23 | |||
24 | ####### Files | ||
25 | |||
26 | HEADERS =chess.h | ||
27 | SOURCES =chess.cpp \ | ||
28 | main.cpp | ||
29 | OBJECTS =chess.o \ | ||
30 | main.o \ | ||
31 | mainwindow.o | ||
32 | INTERFACES = mainwindow.ui | ||
33 | UICDECLS = mainwindow.h | ||
34 | UICIMPLS = mainwindow.cpp | ||
35 | SRCMOC =moc_chess.cpp \ | ||
36 | moc_mainwindow.cpp | ||
37 | OBJMOC =moc_chess.o \ | ||
38 | moc_mainwindow.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 chess.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 | chess.o: chess.cpp \ | ||
105 | $(QPEDIR)/include/qpe/config.h \ | ||
106 | $(QPEDIR)/include/qpe/resource.h \ | ||
107 | chess.h | ||
108 | |||
109 | main.o: main.cpp \ | ||
110 | mainwindow.h | ||
111 | |||
112 | mainwindow.h: mainwindow.ui | ||
113 | $(UIC) mainwindow.ui -o $(INTERFACE_DECL_PATH)/mainwindow.h | ||
114 | |||
115 | mainwindow.cpp: mainwindow.ui | ||
116 | $(UIC) mainwindow.ui -i mainwindow.h -o mainwindow.cpp | ||
117 | |||
118 | mainwindow.o: mainwindow.cpp \ | ||
119 | mainwindow.h \ | ||
120 | mainwindow.ui | ||
121 | |||
122 | moc_chess.o: moc_chess.cpp \ | ||
123 | chess.h | ||
124 | |||
125 | moc_mainwindow.o: moc_mainwindow.cpp \ | ||
126 | mainwindow.h | ||
127 | |||
128 | moc_chess.cpp: chess.h | ||
129 | $(MOC) chess.h -o moc_chess.cpp | ||
130 | |||
131 | moc_mainwindow.cpp: mainwindow.h | ||
132 | $(MOC) mainwindow.h -o moc_mainwindow.cpp | ||
133 | |||
134 | |||