]> git.pld-linux.org Git - packages/althea.git/blame - althea-makefile.patch
- tabs in preamble
[packages/althea.git] / althea-makefile.patch
CommitLineData
ce136076 1--- althea-0.5.7/Makefile~ Tue Jan 22 18:30:15 2002
2+++ althea-0.5.7/Makefile Fri Feb 22 10:20:54 2002
3@@ -47,126 +47,129 @@
4
5 MAIL_POLL_INTERVAL = 60000
6
7-CFLAGS = `gtk-config --cflags` -DPACKAGE=${PACKAGE} -DLOCALEDIR=${LOCALEDIR}
8+CXXFLAGS = `gtk-config --cflags` -DPACKAGE=${PACKAGE} -DLOCALEDIR=${LOCALEDIR}
9 #DEBUGFLAGS = -Wall -ftemplate-depth-30 -g ${NOSSLFLAG}
10 DEBUGFLAGS = -Wall -g -ftemplate-depth-30 ${NOSSLFLAG}
11 LDADD = `gtk-config --libs` ${LDFLAGS} -lpthread
12
13-DESTDIR = /usr/local/bin
14+DESTDIR =
15+BINDIR = /usr/local/bin
16 PIXDIR = /usr/local/share/althea
17 DOCDIR = /usr/local/doc/althea
18
19 all : ${OBJS}
20- g++ ${DEBUGFLAGS} ${SSLFLAGS} -o althea main.cpp -DPIXDIR=\"${PIXDIR}\" ${OBJS} ${CFLAGS} ${LDADD}
21+ $(CXX) ${DEBUGFLAGS} ${SSLFLAGS} -o althea main.cpp -DPIXDIR=\"${PIXDIR}\" ${OBJS} ${CXXFLAGS} ${LDADD}
22
23
24 ABEntry.o : ABEntry.h ABEntry.cpp
25- g++ ${DEBUGFLAGS} -c ABEntry.cpp
26+ $(CXX) ${DEBUGFLAGS} -c ABEntry.cpp
27
28 Addressbook.o : ABEntry.h Addressbook.h Addressbook.cpp
29- g++ ${DEBUGFLAGS} -c Addressbook.cpp
30+ $(CXX) ${DEBUGFLAGS} -c Addressbook.cpp
31
32 Althea.o : Althea.h Althea.cpp
33- g++ ${DEBUGFLAGS} -c Althea.cpp ${CFLAGS}
34+ $(CXX) ${DEBUGFLAGS} -c Althea.cpp ${CXXFLAGS}
35
36 Configuration.o : Configuration.h Configuration.cpp
37- g++ ${DEBUGFLAGS} -c Configuration.cpp ${CFLAGS}
38+ $(CXX) ${DEBUGFLAGS} -c Configuration.cpp ${CXXFLAGS}
39
40 Folder.o : Server.h SelectFolder.h Folder.h Folder.cpp connection.h
41- g++ ${DEBUGFLAGS} -c Folder.cpp ${CFLAGS}
42+ $(CXX) ${DEBUGFLAGS} -c Folder.cpp ${CXXFLAGS}
43
44 Message.o : Server.h imap.h Message.h Message.cpp connection.h
45- g++ ${DEBUGFLAGS} -c Message.cpp ${CFLAGS}
46+ $(CXX) ${DEBUGFLAGS} -c Message.cpp ${CXXFLAGS}
47
48 SelectFolder.o : imap.h basicNetwork.h tcpUtilities.h SelectFolder.h SelectFolder.cpp connection.h progressbar.h progressbar.cpp tolower.h
49- g++ ${DEBUGFLAGS} -c SelectFolder.cpp ${CFLAGS}
50+ $(CXX) ${DEBUGFLAGS} -c SelectFolder.cpp ${CXXFLAGS}
51
52 SendMail.o : Message.h SendMail.h SendMail.cpp smtp.h support.h
53- g++ ${DEBUGFLAGS} -c SendMail.cpp ${CFLAGS}
54+ $(CXX) ${DEBUGFLAGS} -c SendMail.cpp ${CXXFLAGS}
55
56 Server.o : imap.h Server.h Server.cpp connection.h
57- g++ ${DEBUGFLAGS} -c Server.cpp ${CFLAGS}
58+ $(CXX) ${DEBUGFLAGS} -c Server.cpp ${CXXFLAGS}
59
60 about_window.o : callbacks.h support.h about_window.h about_window.cpp
61
62- g++ ${DEBUGFLAGS} -c about_window.cpp ${CFLAGS}
63+ $(CXX) ${DEBUGFLAGS} -c about_window.cpp ${CXXFLAGS}
64
65 configwindow.o : callbacks.h support.h configwindow.h configwindow.cpp
66- g++ ${DEBUGFLAGS} -c configwindow.cpp ${CFLAGS}
67+ $(CXX) ${DEBUGFLAGS} -c configwindow.cpp ${CXXFLAGS}
68
69 registerwindow.o : callbacks.h support.h registerwindow.h registerwindow.cpp
70- g++ ${DEBUGFLAGS} -c registerwindow.cpp ${CFLAGS}
71+ $(CXX) ${DEBUGFLAGS} -c registerwindow.cpp ${CXXFLAGS}
72
73 basicNetwork.o : tcpUtilities.h basicNetwork.h basicNetwork.cpp connection.h
74- g++ ${DEBUGFLAGS} -c basicNetwork.cpp ${CFLAGS}
75+ $(CXX) ${DEBUGFLAGS} -c basicNetwork.cpp ${CXXFLAGS}
76
77 tolower.o : tolower.h tolower.cpp
78- g++ ${DEBUGFLAGS} -c tolower.cpp
79+ $(CXX) ${DEBUGFLAGS} -c tolower.cpp
80
81 MIME.o : MIME.h MIME.cpp
82- g++ ${DEBUGFLAGS} -c MIME.cpp
83+ $(CXX) ${DEBUGFLAGS} -c MIME.cpp
84
85 callbacks.o : main_window.h new_message_window.h Althea.h callbacks.h callbacks.cpp promptwindow.h MIME.h tolower.h support.h
86- g++ ${DEBUGFLAGS} -DMAIL_POLL_INTERVAL=${MAIL_POLL_INTERVAL} -c callbacks.cpp ${CFLAGS}
87+ $(CXX) ${DEBUGFLAGS} -DMAIL_POLL_INTERVAL=${MAIL_POLL_INTERVAL} -c callbacks.cpp ${CXXFLAGS}
88
89 imap.o : basicNetwork.h imap.h imap.cpp imapLiterals.h errors.h connection.h
90- g++ ${DEBUGFLAGS} -c imap.cpp ${CFLAGS}
91+ $(CXX) ${DEBUGFLAGS} -c imap.cpp ${CXXFLAGS}
92
93 register.o : tcpUtilities.h register.h register.cpp connection.h
94- g++ ${DEBUGFLAGS} -c register.cpp ${CFLAGS}
95+ $(CXX) ${DEBUGFLAGS} -c register.cpp ${CXXFLAGS}
96
97 promptwindow.o : promptwindow.h promptwindow.cpp
98- g++ ${DEBUGFLAGS} -c promptwindow.cpp ${CFLAGS}
99+ $(CXX) ${DEBUGFLAGS} -c promptwindow.cpp ${CXXFLAGS}
100
101 progressbar.o : progressbar.h progressbar.cpp
102- g++ ${DEBUGFLAGS} -c progressbar.cpp ${CFLAGS}
103+ $(CXX) ${DEBUGFLAGS} -c progressbar.cpp ${CXXFLAGS}
104
105 load_config.o : Althea.h Server.h Configuration.h load_config.h load_config.cpp crypto.h promptwindow.h
106- g++ ${DEBUGFLAGS} -c load_config.cpp ${CFLAGS}
107+ $(CXX) ${DEBUGFLAGS} -c load_config.cpp ${CXXFLAGS}
108
109 save_config.o : Althea.h Server.h Configuration.h save_config.h save_config.cpp crypto.h
110- g++ ${DEBUGFLAGS} -c save_config.cpp ${CFLAGS}
111+ $(CXX) ${DEBUGFLAGS} -c save_config.cpp ${CXXFLAGS}
112
113 main_window.o : Althea.h main_window.h main_window.cpp
114- g++ ${DEBUGFLAGS} -c main_window.cpp ${CFLAGS}
115+ $(CXX) ${DEBUGFLAGS} -c main_window.cpp ${CXXFLAGS}
116
117 new_message_window.o : new_message_window.h new_message_window.cpp
118- g++ ${DEBUGFLAGS} -c new_message_window.cpp ${CFLAGS}
119+ $(CXX) ${DEBUGFLAGS} -c new_message_window.cpp ${CXXFLAGS}
120
121 support.o : callbacks.h support.h support.cpp
122- g++ ${DEBUGFLAGS} -c support.cpp ${CFLAGS}
123+ $(CXX) ${DEBUGFLAGS} -c support.cpp ${CXXFLAGS}
124
125 tcpUtilities.o : tcpUtilities.h tcpUtilities.cpp connection.h
126- g++ ${DEBUGFLAGS} ${NOSSLFLAG} -c tcpUtilities.cpp
127+ $(CXX) ${DEBUGFLAGS} ${NOSSLFLAG} -c tcpUtilities.cpp
128
129 crypto.o : crypto.h crypto.cpp
130- g++ ${DEBUGFLAGS} -c crypto.cpp
131+ $(CXX) ${DEBUGFLAGS} -c crypto.cpp
132
133 print_dialog.o : print_dialog.cpp print_dialog.h
134- g++ ${DEBUGFLAGS} -c print_dialog.cpp ${CFLAGS}
135+ $(CXX) ${DEBUGFLAGS} -c print_dialog.cpp ${CXXFLAGS}
136
137 smtp.o : smtp.cpp smtp.h errors.h connection.h
138- g++ ${DEBUGFLAGS} ${NOSSLFLAG} -c smtp.cpp ${CFLAGS}
139+ $(CXX) ${DEBUGFLAGS} ${NOSSLFLAG} -c smtp.cpp ${CXXFLAGS}
140
141 helpDialog.o : helpDialog.cpp helpDialog.h
142- g++ ${DEBUGFLAGS} -c helpDialog.cpp -DDOCDIR=\"${DOCDIR}\" ${CFLAGS}
143+ $(CXX) ${DEBUGFLAGS} -c helpDialog.cpp -DDOCDIR=\"${DOCDIR}\" ${CXXFLAGS}
144
145-${DESTDIR} :
146- mkdir -p ${DESTDIR}
147-
148-${DOCDIR} :
149+${DESTDIR}${DOCDIR} :
150- mkdir -p ${DOCDIR}
151+ mkdir -p ${DESTDIR}${DOCDIR}
152
153-${PIXDIR} :
154+${DESTDIR}${PIXDIR} :
155- mkdir -p ${PIXDIR}
156+ mkdir -p ${DESTDIR}${PIXDIR}
157
158-install : althea pixmaps Documentation ${DESTDIR} ${DOCDIR} ${PIXDIR}
159- cp ./althea ${DESTDIR}
160- cp -r Documentation/* ${DOCDIR}
161- cp -r pixmaps/* ${PIXDIR}
162+${DESTDIR}${BINDIR} :
163+ mkdir -p ${DESTDIR}${BINDIR}
164+
165+install : althea pixmaps Documentation ${DESTDIR}${BINDIR} ${DESTDIR}${PIXDIR}
166+ cp ./althea ${DESTDIR}${BINDIR}
167+ cp -r pixmaps/* ${DESTDIR}${PIXDIR}
168+
169+install-doc: ${DESTDIR}${DOCDIR}
170+ cp -r Documentation/* ${DESTDIR}${DOCDIR}
171
172 uninstall:
173- rm -f ${DESTDIR}/althea
174+ rm -f ${BINDIR}/althea
175 rm -rf ${DOCDIR}/*
176 rmdir ${DOCDIR}
177 rm -rf ${PIXDIR}/*
This page took 0.070064 seconds and 4 git commands to generate.