Print this page
3731 Update nawk to version 20121220
*** 27,49 ****
# NOTE: awk is oawk.
PROG= nawk
! OBJ1= b.o lib.o main.o parse.o proctab.o run.o tran.o
! OBJ2= awk.g.o awk.lx.o
OBJS= $(OBJ2) $(OBJ1)
SRCS= $(OBJ1:%.o=%.c)
include ../Makefile.cmd
- CERRWARN += -_gcc=-Wno-implicit-function-declaration
- CERRWARN += -_gcc=-Wno-unused-label
- CERRWARN += -_gcc=-Wno-parentheses
- CERRWARN += -_gcc=-Wno-unused-variable
- CERRWARN += -_gcc=-Wno-uninitialized
-
#
# Message catalog
#
POFILES= $(OBJS:%.o=%.po)
POFILE= awk.po
--- 27,43 ----
# NOTE: awk is oawk.
PROG= nawk
! OBJ1= b.o lex.o lib.o main.o parse.o proctab.o run.o tran.o
! OBJ2= awk.g.o
OBJS= $(OBJ2) $(OBJ1)
SRCS= $(OBJ1:%.o=%.c)
include ../Makefile.cmd
#
# Message catalog
#
POFILES= $(OBJS:%.o=%.po)
POFILE= awk.po
*** 83,99 ****
clean:
$(RM) $(OBJS) $(CLEANFILES)
lint: awk.g.c lint_SRCS
awk.g.c + y.tab.h: awk.g.y
awk.g.o: awk.g.c
- awk.lx.c: awk.lx.l
-
proctab.o: proctab.c
$(COMPILE.c) proctab.c
$(POST_PROCESS_O)
include ../Makefile.targ
--- 77,93 ----
clean:
$(RM) $(OBJS) $(CLEANFILES)
lint: awk.g.c lint_SRCS
+ $(LINT.c) awk.g.c $(LDLIBS)
+ $(LINT.c) maketab.c $(LDLIBS)
awk.g.c + y.tab.h: awk.g.y
awk.g.o: awk.g.c
proctab.o: proctab.c
$(COMPILE.c) proctab.c
$(POST_PROCESS_O)
include ../Makefile.targ