Blame


1 3096da4e 2021-10-07 op # tests to run as a port of the regression suite. Leave empty to run
2 3096da4e 2021-10-07 op # all.
3 3096da4e 2021-10-07 op TESTS=
4 3096da4e 2021-10-07 op
5 ec5c5ced 2021-01-02 op .PHONY: all static clean cleanall regress install
6 3e4749f7 2020-10-02 op
7 8dfacf02 2022-01-03 op all: Makefile.local gmid gg
8 3e4749f7 2020-10-02 op
9 12042ad7 2021-01-21 op Makefile.local: configure
10 12042ad7 2021-01-21 op ./configure
11 771d8f28 2021-01-17 op
12 12042ad7 2021-01-21 op include Makefile.local
13 771d8f28 2021-01-17 op
14 15902770 2021-01-15 op y.tab.c: parse.y
15 74f0778b 2021-06-16 op ${YACC} -b y parse.y
16 15902770 2021-01-15 op
17 7c956fef 2022-01-03 op gmid: ${GMID_OBJS}
18 7c956fef 2022-01-03 op ${CC} ${GMID_OBJS} -o $@ ${LDFLAGS}
19 0fbe79b3 2021-01-18 op
20 7c956fef 2022-01-03 op gg: ${GG_OBJS}
21 7c956fef 2022-01-03 op ${CC} ${GG_OBJS} -o $@ ${LDFLAGS}
22 15902770 2021-01-15 op
23 7ac42a17 2022-01-30 op static: ${GMID_OBJS}
24 7ac42a17 2022-01-30 op ${CC} ${GMID_OBJS} -o gmid ${LDFLAGS} ${STATIC}
25 771d8f28 2021-01-17 op
26 3e4749f7 2020-10-02 op clean:
27 613c8271 2022-01-03 op rm -f *.o compat/*.o y.tab.c y.tab.h y.output gmid gg
28 d5f4d615 2021-02-01 op rm -f compile_flags.txt
29 ec5c5ced 2021-01-02 op
30 ec5c5ced 2021-01-02 op cleanall: clean
31 8518014c 2021-07-11 op ${MAKE} -C regress clean
32 33d32d1f 2020-12-25 op
33 f48e3b85 2021-05-24 op regress: gmid
34 8e7e7cac 2021-01-02 op ${MAKE} 'TESTS=${TESTS}' -C regress all
35 5c2e310e 2021-01-22 op
36 771d8f28 2021-01-17 op install: gmid
37 ac69e83a 2021-01-21 op mkdir -p ${DESTDIR}${BINDIR}
38 ac69e83a 2021-01-21 op mkdir -p ${DESTDIR}${MANDIR}/man1
39 ac69e83a 2021-01-21 op ${INSTALL_PROGRAM} gmid ${DESTDIR}${BINDIR}
40 135307cf 2022-01-30 op ${INSTALL_PROGRAM} gg ${DESTDIR}${BINDIR}
41 91d7870b 2021-01-30 op ${INSTALL_MAN} gmid.1 ${DESTDIR}${MANDIR}/man1
42 135307cf 2022-01-30 op ${INSTALL_MAN} gg.1 ${DESTDIR}${MANDIR}/man1
43 d5f4d615 2021-02-01 op
44 d5f4d615 2021-02-01 op compile_flags.txt:
45 d5f4d615 2021-02-01 op printf "%s\n" ${CFLAGS} > compile_flags.txt
46 a3c5f745 2021-02-23 op
47 a3c5f745 2021-02-23 op # make sure we pass -o to ${CC}. OpenBSD default suffix rule doesn't
48 a3c5f745 2021-02-23 op .SUFFIXES: .c .o
49 a3c5f745 2021-02-23 op .c.o:
50 a3c5f745 2021-02-23 op ${CC} ${CFLAGS} -c $< -o $@