summaryrefslogtreecommitdiff
path: root/core/pim/today/Makefile
blob: a20925530cd62b508879531319a7b42f3e21eca6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
#############################################################################
# Makefile for building today
# Generated by tmake at 02:49, 2002/02/15
#     Project: today
#    Template: app
#############################################################################

####### Compiler, tools and options

CC	=	arm-linux-gcc
CXX	=	arm-linux-g++
CFLAGS	=	-pipe -Wall -W -O2 -DNO_DEBUG
CXXFLAGS=	-pipe -DQT_QWS_EBX -DQT_QWS_CUSTOM -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -DNO_DEBUG
INCPATH	=	-I$(QPEDIR)/include -I$(QTDIR)/include
LINK	=	arm-linux-gcc
LFLAGS	=	
LIBS	=	$(SUBLIBS) -L$(QTDIR)/lib -lqpe -lqte
MOC	=	$(QTDIR)/bin/moc
UIC	=	$(QTDIR)/bin/uic

TAR	=	tar -cf
GZIP	=	gzip -9f

####### Files

HEADERS =	today.h \
		TodoItem.h \
		minidom.h \
		todaybase.h \
		todayconfig.h
SOURCES =	main.cpp \
		today.cpp \
		todaybase.cpp \
		todayconfig.cpp \
		minidom.c \
		TodoItem.cpp
OBJECTS =	main.o \
		today.o \
		todaybase.o \
		todayconfig.o \
		minidom.o \
		TodoItem.o
INTERFACES =	
UICDECLS =	
UICIMPLS =	
SRCMOC	=	moc_today.cpp \
		moc_todaybase.cpp \
		moc_todayconfig.cpp
OBJMOC	=	moc_today.o \
		moc_todaybase.o \
		moc_todayconfig.o
DIST	=	
TARGET	=	today
INTERFACE_DECL_PATH = .

####### Implicit rules

.SUFFIXES: .cpp .cxx .cc .C .c

.cpp.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

.cxx.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

.cc.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

.C.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

.c.o:
	$(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<

####### Build rules


all: $(TARGET)

$(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC) 
	$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS)

moc: $(SRCMOC)

tmake: Makefile

Makefile: today.pro
	tmake today.pro -o Makefile

dist:
	$(TAR) today.tar today.pro $(SOURCES) $(HEADERS) $(INTERFACES) $(DIST)
	$(GZIP) today.tar

clean:
	-rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC) $(UICIMPLS) $(UICDECLS) $(TARGET)
	-rm -f *~ core

####### Sub-libraries


###### Combined headers


####### Compile

main.o: main.cpp \
		today.h \
		todaybase.h \
		/home/max/qtopia/opie/include/qpe/datebookdb.h \
		/home/max/qtopia/opie/include/qpe/event.h \
		/home/max/qtopia/opie/include/qpe/palmtoprecord.h \
		/home/max/qtopia/opie/include/qpe/timeconversion.h \
		/home/max/qtopia/opie/include/qpe/qpcglobal.h \
		TodoItem.h \
		todayconfig.h \
		/home/max/qtopia/opie/include/qpe/qpeapplication.h

today.o: today.cpp \
		today.h \
		todaybase.h \
		/home/max/qtopia/opie/include/qpe/datebookdb.h \
		/home/max/qtopia/opie/include/qpe/event.h \
		/home/max/qtopia/opie/include/qpe/palmtoprecord.h \
		/home/max/qtopia/opie/include/qpe/timeconversion.h \
		/home/max/qtopia/opie/include/qpe/qpcglobal.h \
		TodoItem.h \
		todayconfig.h \
		minidom.h \
		/home/max/qtopia/opie/include/qpe/timestring.h \
		/home/max/qtopia/opie/include/qpe/config.h \
		/home/max/qtopia/opie/include/qpe/qprocess.h

todaybase.o: todaybase.cpp \
		todaybase.h \
		/home/max/qtopia/opie/include/qpe/resource.h

todayconfig.o: todayconfig.cpp \
		todayconfig.h

minidom.o: minidom.c \
		minidom.h

TodoItem.o: TodoItem.cpp \
		TodoItem.h

moc_today.o: moc_today.cpp \
		today.h \
		todaybase.h \
		/home/max/qtopia/opie/include/qpe/datebookdb.h \
		/home/max/qtopia/opie/include/qpe/event.h \
		/home/max/qtopia/opie/include/qpe/palmtoprecord.h \
		/home/max/qtopia/opie/include/qpe/timeconversion.h \
		/home/max/qtopia/opie/include/qpe/qpcglobal.h \
		TodoItem.h \
		todayconfig.h

moc_todaybase.o: moc_todaybase.cpp \
		todaybase.h

moc_todayconfig.o: moc_todayconfig.cpp \
		todayconfig.h

moc_today.cpp: today.h
	$(MOC) today.h -o moc_today.cpp

moc_todaybase.cpp: todaybase.h
	$(MOC) todaybase.h -o moc_todaybase.cpp

moc_todayconfig.cpp: todayconfig.h
	$(MOC) todayconfig.h -o moc_todayconfig.cpp