author | kergoth <kergoth> | 2002-03-01 17:36:00 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2002-03-01 17:36:00 (UTC) |
commit | e992a79494ea03005223aef1200338760553aa7d (patch) (unidiff) | |
tree | b5ab325e27b2e733ddcc320e9e6524751b458114 | |
parent | 2dfc5c76379baf8ae8ad6aed5f6c44d59d79087b (diff) | |
download | opie-e992a79494ea03005223aef1200338760553aa7d.zip opie-e992a79494ea03005223aef1200338760553aa7d.tar.gz opie-e992a79494ea03005223aef1200338760553aa7d.tar.bz2 |
QPEDIR->OPIEDIR.
-rw-r--r-- | core/applets/screenshotapplet/Makefile.in | 118 | ||||
-rw-r--r-- | core/applets/screenshotapplet/screenshotapplet.pro | 4 |
2 files changed, 120 insertions, 2 deletions
diff --git a/core/applets/screenshotapplet/Makefile.in b/core/applets/screenshotapplet/Makefile.in new file mode 100644 index 0000000..57331a8 --- a/dev/null +++ b/core/applets/screenshotapplet/Makefile.in | |||
@@ -0,0 +1,118 @@ | |||
1 | ############################################################################# | ||
2 | |||
3 | ####### Compiler, tools and options | ||
4 | |||
5 | CXX =$(SYSCONF_CXX) $(QT_CXX_MT) | ||
6 | CXXFLAGS=$(SYSCONF_CXXFLAGS_QT) $(SYSCONF_CXXFLAGS) $(SYSCONF_CXXFLAGS_LIB) | ||
7 | CC =$(SYSCONF_CC) $(QT_C_MT) | ||
8 | CFLAGS =$(SYSCONF_CFLAGS) $(SYSCONF_CFLAGS_LIB) | ||
9 | INCPATH =-I$(OPIEDIR)/include | ||
10 | LFLAGS =$(SYSCONF_LFLAGS_QT) $(SYSCONF_RPATH_QT) $(SYSCONF_LFLAGS) $(QT_LFLAGS_MT) | ||
11 | LIBS =$(SUBLIBS) -lqpe $(SYSCONF_LIBS_QT) $(SYSCONF_LIBS_QTAPP) | ||
12 | MOC =$(SYSCONF_MOC) | ||
13 | UIC =$(SYSCONF_UIC) | ||
14 | |||
15 | ####### Target | ||
16 | |||
17 | DESTDIR = ../../plugins/applets/ | ||
18 | VER_MAJ = 1 | ||
19 | VER_MIN = 0 | ||
20 | VER_PATCH = 0 | ||
21 | TARGET= screenshotapplet | ||
22 | TARGET1 = lib$(TARGET).so.$(VER_MAJ) | ||
23 | |||
24 | ####### Files | ||
25 | |||
26 | HEADERS =screenshot.h \ | ||
27 | screenshotappletimpl.h | ||
28 | SOURCES =screenshot.cpp \ | ||
29 | screenshotappletimpl.cpp | ||
30 | OBJECTS =opieobj/screenshot.o \ | ||
31 | opieobj/screenshotappletimpl.o | ||
32 | INTERFACES = | ||
33 | UICDECLS = | ||
34 | UICIMPLS = | ||
35 | SRCMOC =opieobj/moc_screenshot.cpp | ||
36 | OBJMOC =opieobj/moc_screenshot.o | ||
37 | |||
38 | |||
39 | ####### Implicit rules | ||
40 | |||
41 | .SUFFIXES: .cpp .cxx .cc .C .c | ||
42 | |||
43 | .cpp.o: | ||
44 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< | ||
45 | |||
46 | .cxx.o: | ||
47 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< | ||
48 | |||
49 | .cc.o: | ||
50 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< | ||
51 | |||
52 | .C.o: | ||
53 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< | ||
54 | |||
55 | .c.o: | ||
56 | $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $< | ||
57 | |||
58 | ####### Build rules | ||
59 | |||
60 | |||
61 | all: $(DESTDIR)$(SYSCONF_LINK_TARGET) | ||
62 | |||
63 | $(DESTDIR)$(SYSCONF_LINK_TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC) $(SUBLIBS) | ||
64 | $(SYSCONF_LINK_LIB) | ||
65 | |||
66 | moc: $(SRCMOC) | ||
67 | |||
68 | tmake: | ||
69 | tmake screenshotapplet.pro | ||
70 | |||
71 | clean: | ||
72 | -rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC) $(UICIMPLS) $(UICDECLS) | ||
73 | -rm -f *~ core | ||
74 | -rm -f allmoc.cpp | ||
75 | |||
76 | ####### Extension Modules | ||
77 | |||
78 | listpromodules: | ||
79 | @echo | ||
80 | |||
81 | listallmodules: | ||
82 | @echo | ||
83 | |||
84 | listaddonpromodules: | ||
85 | @echo | ||
86 | |||
87 | listaddonentmodules: | ||
88 | @echo | ||
89 | |||
90 | |||
91 | REQUIRES= | ||
92 | |||
93 | ####### Sub-libraries | ||
94 | |||
95 | |||
96 | ###### Combined headers | ||
97 | |||
98 | |||
99 | |||
100 | ####### Compile | ||
101 | |||
102 | opieobj/screenshot.o: screenshot.cpp \ | ||
103 | screenshot.h | ||
104 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o opieobj/screenshot.o screenshot.cpp | ||
105 | |||
106 | opieobj/screenshotappletimpl.o: screenshotappletimpl.cpp \ | ||
107 | screenshot.h \ | ||
108 | screenshotappletimpl.h | ||
109 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o opieobj/screenshotappletimpl.o screenshotappletimpl.cpp | ||
110 | |||
111 | opieobj/moc_screenshot.o: opieobj/moc_screenshot.cpp \ | ||
112 | screenshot.h | ||
113 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o opieobj/moc_screenshot.o opieobj/moc_screenshot.cpp | ||
114 | |||
115 | opieobj/moc_screenshot.cpp: screenshot.h | ||
116 | $(MOC) screenshot.h -o opieobj/moc_screenshot.cpp | ||
117 | |||
118 | |||
diff --git a/core/applets/screenshotapplet/screenshotapplet.pro b/core/applets/screenshotapplet/screenshotapplet.pro index bec49b7..095cce2 100644 --- a/core/applets/screenshotapplet/screenshotapplet.pro +++ b/core/applets/screenshotapplet/screenshotapplet.pro | |||
@@ -5,6 +5,6 @@ SOURCES = screenshot.cpp screenshotappletimpl.cpp | |||
5 | TARGET = screenshotapplet | 5 | TARGET = screenshotapplet |
6 | DESTDIR = ../../plugins/applets | 6 | DESTDIR = ../../plugins/applets |
7 | INCLUDEPATH += $(QPEDIR)/include | 7 | INCLUDEPATH += $(OPIEDIR)/include |
8 | DEPENDPATH += ../$(QPEDIR)/include | 8 | DEPENDPATH += ../$(OPIEDIR)/include |
9 | LIBS += -lqpe | 9 | LIBS += -lqpe |
10 | VERSION = 1.0.0 | 10 | VERSION = 1.0.0 |