|
|
1.1 root 1: #
2: # nono
1.1.1.3 root 3: # Copyright (C) 2020 nono project
4: # Licensed under nono-license.txt
5: #
6:
1.1 root 7: #
8: # wxWidgets executable
9: #
10:
1.1.1.3 root 11: .include "../Makefile.inc"
12:
1.1 root 13: TARGETS= nono
14:
15: CPPFLAGS+= @WXWIDGETS_CPPFLAGS@
1.1.1.12 root 16: # wxWidgets-3.0 用のハック。
17: # (wxWidgets-3.2 以降では wxWidgets 側がやってるので不要になる)
18: WX_MAJORMINOR= @WX_MAJORMINOR@
19: .if "${WX_MAJORMINOR}" == "30"
1.1.1.11 root 20: .if ${WARNFLAGS_CXX:M-Winconsistent-missing-override}
21: CXXFLAGS+= -Wno-inconsistent-missing-override
22: .endif
23: .if ${WARNFLAGS_CXX:M-Wsuggest-override}
24: CXXFLAGS+= -Wno-suggest-override
25: .endif
1.1.1.12 root 26: .endif
1.1 root 27:
28: LDFLAGS+= -pthread
29: LIBS+= @WXWIDGETS_LIBS@
30:
31: CXXSRCS= \
1.1.1.9 root 32: fontmanager.cpp \
1.1 root 33: kaname12.cpp \
1.1.1.7 root 34: privatechar.cpp \
1.1.1.13! root 35: wxaccstatmonitor.cpp \
1.1 root 36: wxapp.cpp \
1.1.1.9 root 37: wxbitmappanel.cpp \
1.1.1.11 root 38: wxbutton.cpp \
39: wxdipswwindow.cpp \
1.1 root 40: wxdumpmonitor.cpp \
1.1.1.4 root 41: wxlcdwindow.cpp \
1.1 root 42: wxlogmonitor.cpp \
1.1.1.9 root 43: wxlogsetting.cpp \
1.1 root 44: wxmainframe.cpp \
45: wxmainview.cpp \
46: wxmonitor.cpp \
1.1.1.3 root 47: wxmpumonitor.cpp \
1.1.1.11 root 48: wxpalettemonitor.cpp \
1.1.1.10 root 49: wxplanemonitor.cpp \
50: wxromwindow.cpp \
1.1.1.9 root 51: wxscrollbar.cpp \
1.1 root 52: wxsoftkey.cpp \
1.1.1.6 root 53: wxstatuspanel.cpp \
1.1 root 54: wxsubwindow.cpp \
55: wxtextpanel.cpp \
56: wxtextscreen.cpp \
1.1.1.8 root 57: wxuimessage.cpp \
1.1.1.3 root 58: wxversion.cpp \
1.1 root 59:
60: OBJS= ${CXXSRCS:.cpp=.o}
61:
62: CLEANDIRFILES= Makefile
63:
64: nono: ${MYLIBS} ${OBJS}
1.1.1.2 root 65: ${CXX} ${LDFLAGS} -o $@ ${OBJS} ${MYLIBS_GROUP} ${LIBS}
1.1.1.3 root 66:
1.1.1.5 root 67: install: nono
68: ${INSTALL} -d ${DESTDIR}${BINDIR}
69: ${INSTALL} -m 755 -o 0 -g 0 nono ${DESTDIR}${BINDIR}
1.1.1.3 root 70:
71: # make pot はトップディレクトリで行う必要がある (実行した位置からの相対パスが
72: # ファイルにコメントで残されるため、毎回違うと diff が出てしまう)。
73: # しかし今の所 wx/ にしかカタログ対象がないのでここにもショートカットを用意
74: # しておく。他ディレクトリにも対象が増えたら考え直すこと。
75: pot:
76: (cd ..; ${MAKE} pot)
77:
78: .include "../Makefile.rule"
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.