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