Develop and Download Open Source Software

Browse CVS Repository

Contents of /malonnote/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2.2.1 - (show annotations) (download)
Fri Jul 29 10:59:24 2005 UTC (18 years, 7 months ago) by maloninc
Branch: dev-0_9_1-0001
CVS Tags: rel-0_9_1, dev-0_9_1-0003, dev-0_9_1-merged-02
Changes since 1.2: +6 -1 lines
add README.txt

1 if IS_DARWIN
2 noinst_PROGRAMS = mnote
3 else
4 bin_PROGRAMS = mnote
5 endif
6
7 EXTRA_DIST = mnView.wxg TODO Info.plist mnote.ico mnote.icns malon-small-logo.ico README.euc README.txt
8
9 if IS_MINGW
10 RESOBJ = resource.o
11 RESSRC = mn.rc
12 else
13 RESOBJ =
14 RESSRC =
15 endif
16
17 LIBS = `wx-config --libs` -L/usr/local/lib -liconv ${RESOBJ}
18 mnote_DEPENDENCIES = ${RESOBJ}
19
20 mnote_CXXFLAGS = -g `wx-config --cxxflags` -I/usr/local/include
21
22 mnote_SOURCES = \
23 main.cpp \
24 mnFrame.cpp \
25 mnFrame.h \
26 mnModel.cpp \
27 mnModel.h \
28 mnController.cpp \
29 mnController.h \
30 mnID.h \
31 mnDef.h \
32 ${RESSRC}
33
34 readme:README.txt README.euc
35
36 README.euc:README
37 iconv -f sjis -t eucJP README > README.euc
38
39 README.txt:README
40 cp -p README README.txt
41
42 MY_DIST_DIR=MalonNote-${PACKAGE_VERSION}
43
44 if IS_DARWIN
45 APP=mnote.app
46 app:
47 rm -fr ./${APP}
48 mkdir -p ./${APP}/Contents/MacOS/
49 mkdir -p ./${APP}/Contents/Resources/
50 cp -p mnote ./${APP}/Contents/MacOS/
51 cp -p Info.plist ./${APP}/Contents/
52 cp -p mnote.icns ./${APP}/Contents/Resources/
53 echo -n "APPL????" > ./${APP}/Contents/PkgInfo
54
55 distosx:
56 mkdir ${MY_DIST_DIR}
57 cp -r ${APP} ${MY_DIST_DIR}
58 cp README* ${MY_DIST_DIR}
59 cp COPYING ${MY_DIST_DIR}/LICENSE
60 tar zcvf ${MY_DIST_DIR}-osx.tar.gz ${MY_DIST_DIR}
61 rm -fr ${MY_DIST_DIR}
62 endif
63
64 distgtk:
65 mkdir ${MY_DIST_DIR}
66 cp mnote ${MY_DIST_DIR}
67 cp README* ${MY_DIST_DIR}
68 cp COPYING ${MY_DIST_DIR}/LICENSE
69 tar zcvf ${MY_DIST_DIR}-gtk.tar.gz ${MY_DIST_DIR}
70 rm -fr ${MY_DIST_DIR}
71
72 distwin:
73 mkdir ${MY_DIST_DIR}
74 cp mnote.exe ${MY_DIST_DIR}
75 cp README* ${MY_DIST_DIR}
76 cp COPYING ${MY_DIST_DIR}/LICENSE
77 zip -r ${MY_DIST_DIR}-win.zip ${MY_DIST_DIR}
78 rm -fr ${MY_DIST_DIR}
79
80 if IS_MINGW
81 ${RESOBJ}: mn.rc mnote.ico malon-small-logo.ico
82 windres `wx-config --cflags` mn.rc -o $@
83 endif
84
85
86

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26