summaryrefslogtreecommitdiff
path: root/core/applets/batteryapplet/Makefile.in
Unidiff
Diffstat (limited to 'core/applets/batteryapplet/Makefile.in') (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/batteryapplet/Makefile.in122
1 files changed, 122 insertions, 0 deletions
diff --git a/core/applets/batteryapplet/Makefile.in b/core/applets/batteryapplet/Makefile.in
new file mode 100644
index 0000000..0493fd6
--- a/dev/null
+++ b/core/applets/batteryapplet/Makefile.in
@@ -0,0 +1,122 @@
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$(QPEDIR)/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= batteryapplet
22TARGET1 = lib$(TARGET).so.$(VER_MAJ)
23
24####### Files
25
26 HEADERS =battery.h \
27 batterystatus.h \
28 batteryappletimpl.h
29 SOURCES =battery.cpp \
30 batterystatus.cpp \
31 batteryappletimpl.cpp
32 OBJECTS =battery.o \
33 batterystatus.o \
34 batteryappletimpl.o
35INTERFACES =
36UICDECLS =
37UICIMPLS =
38 SRCMOC =moc_battery.cpp
39 OBJMOC =moc_battery.o
40
41
42####### Implicit rules
43
44.SUFFIXES: .cpp .cxx .cc .C .c
45
46.cpp.o:
47 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
48
49.cxx.o:
50 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
51
52.cc.o:
53 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
54
55.C.o:
56 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
57
58.c.o:
59 $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
60
61####### Build rules
62
63
64all: $(DESTDIR)$(SYSCONF_LINK_TARGET)
65
66$(DESTDIR)$(SYSCONF_LINK_TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC) $(SUBLIBS)
67 $(SYSCONF_LINK_LIB)
68
69moc: $(SRCMOC)
70
71tmake:
72 tmake batteryapplet.pro
73
74clean:
75 -rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC) $(UICIMPLS) $(UICDECLS)
76 -rm -f *~ core
77 -rm -f allmoc.cpp
78
79####### Extension Modules
80
81listpromodules:
82 @echo
83
84listallmodules:
85 @echo
86
87listaddonpromodules:
88 @echo
89
90listaddonentmodules:
91 @echo
92
93
94REQUIRES=
95
96####### Sub-libraries
97
98
99###### Combined headers
100
101
102
103####### Compile
104
105battery.o: battery.cpp \
106 battery.h \
107 batterystatus.h
108
109batterystatus.o: batterystatus.cpp \
110 batterystatus.h
111
112batteryappletimpl.o: batteryappletimpl.cpp \
113 battery.h \
114 batteryappletimpl.h
115
116moc_battery.o: moc_battery.cpp \
117 battery.h
118
119moc_battery.cpp: battery.h
120 $(MOC) battery.h -o moc_battery.cpp
121
122