summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/screenshotapplet/Makefile.in118
-rw-r--r--core/applets/screenshotapplet/screenshotapplet.pro4
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
17DESTDIR = ../../plugins/applets/
18VER_MAJ = 1
19VER_MIN = 0
20VER_PATCH = 0
21 TARGET= screenshotapplet
22TARGET1 = 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
32INTERFACES =
33UICDECLS =
34UICIMPLS =
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
61all: $(DESTDIR)$(SYSCONF_LINK_TARGET)
62
63$(DESTDIR)$(SYSCONF_LINK_TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC) $(SUBLIBS)
64 $(SYSCONF_LINK_LIB)
65
66moc: $(SRCMOC)
67
68tmake:
69 tmake screenshotapplet.pro
70
71clean:
72 -rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC) $(UICIMPLS) $(UICDECLS)
73 -rm -f *~ core
74 -rm -f allmoc.cpp
75
76####### Extension Modules
77
78listpromodules:
79 @echo
80
81listallmodules:
82 @echo
83
84listaddonpromodules:
85 @echo
86
87listaddonentmodules:
88 @echo
89
90
91REQUIRES=
92
93####### Sub-libraries
94
95
96###### Combined headers
97
98
99
100####### Compile
101
102opieobj/screenshot.o: screenshot.cpp \
103 screenshot.h
104 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o opieobj/screenshot.o screenshot.cpp
105
106opieobj/screenshotappletimpl.o: screenshotappletimpl.cpp \
107 screenshot.h \
108 screenshotappletimpl.h
109 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o opieobj/screenshotappletimpl.o screenshotappletimpl.cpp
110
111opieobj/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
115opieobj/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
@@ -4,8 +4,8 @@ HEADERS = screenshot.h screenshotappletimpl.h
4SOURCES = screenshot.cpp screenshotappletimpl.cpp 4SOURCES = screenshot.cpp screenshotappletimpl.cpp
5TARGET = screenshotapplet 5TARGET = screenshotapplet
6DESTDIR = ../../plugins/applets 6DESTDIR = ../../plugins/applets
7INCLUDEPATH += $(QPEDIR)/include 7INCLUDEPATH += $(OPIEDIR)/include
8DEPENDPATH += ../$(QPEDIR)/include 8DEPENDPATH += ../$(OPIEDIR)/include
9LIBS += -lqpe 9LIBS += -lqpe
10VERSION = 1.0.0 10VERSION = 1.0.0
11MOC_DIR=opieobj 11MOC_DIR=opieobj