ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/IMAPHandler/GNUmakefile
Revision: 368
Committed: 2008-08-23T02:44:00-07:00 (14 years, 3 months ago) by douglas
File size: 1282 byte(s)
Log Message:
Rearranged everything else.

File Contents

# User Rev Content
1 douglas 108 # Douglas Thrift's Search Engine
2     #
3     # Douglas Thrift
4     #
5     # GNUmakefile
6    
7     CSRC = IMAPHandler.cpp Tester.cpp
8     HDRS = IMAPHandler.h
9     OBJS = ${patsubst %.cpp, %.o, ${CSRC}}
10     EXEC = IMAPHandler
11    
12     ifndef (CPPC)
13     CPPC = g++
14     endif
15     ifndef (CPPCOPT)
16     CPPCOPT =
17     endif
18     ifndef (CPPCDEP)
19     CPPCDEP = -MM
20     endif
21    
22     #ifndef (INSTDIR)
23     # INSTDIR = /usr/local/dtsearch
24     #endif
25    
26     all: ${EXEC}
27    
28     ${EXEC}: ${OBJS}
29     ${CPPC} ${OBJS} -o ${EXEC} -lssl -lcrypto
30    
31     %.o:%.cpp
32     ${CPPC} ${CPPCOPT} $< -c
33    
34     #install: all
35     # -mkdir "${INSTDIR}"
36     # cp LICENSE "${INSTDIR}"
37     # cp LICENSE.html "${INSTDIR}"
38     # cp README "${INSTDIR}"
39     # cp README.html "${INSTDIR}"
40     # cp osi-certified-90x75.png "${INSTDIR}"
41     # -mkdir "${INSTDIR}/bin"
42     # cp Search "${INSTDIR}/bin"
43     # -mkdir "${INSTDIR}/http"
44     # cp search.cgi.unix "${INSTDIR}/http/search.cgi"
45     # cp dtsearch_pb.png "${INSTDIR}/http"
46     # -mkdir "${INSTDIR}/data"
47     # cp index.dtd "${INSTDIR}/data"
48     # cp header.html "${INSTDIR}/data"
49     # cp body.html "${INSTDIR}/data"
50     # cp footer.html "${INSTDIR}/data"
51     # cp notfound.html "${INSTDIR}/data"
52     # cp pages.html "${INSTDIR}/data"
53    
54     depend: ${CSRC} ${HDRS}
55     ${CPPC} ${CPPCDEP} ${CSRC} > depend
56    
57     include depend
58    
59     clean:
60     - rm ${OBJS} ${EXEC} ${patsubst %, %.exe, ${EXEC}} core \
61     ${patsubst %, %.core, ${EXEC}} \
62     ${patsubst %, %.exe.stackdump, ${EXEC}} depend