27 #
28
29 PROG= lex
30
31 MACHOBJS= main.o sub1.o sub2.o sub3.o header.o parser.o
32 POBJECTS= $(MACHOBJS)
33 POBJS= $(POBJECTS:%=objs/%)
34
35 LIBRARY= libl.a
36 VERS= .1
37
38 LIBOBJS= allprint.o libmain.o reject.o yyless.o yywrap.o
39 LIBOBJS_W= allprint_w.o reject_w.o yyless_w.o
40 LIBOBJS_E= reject_e.o yyless_e.o
41 OBJECTS= $(LIBOBJS) $(LIBOBJS_W) $(LIBOBJS_E)
42
43 FORMS= nceucform ncform nrform
44
45 include ../../../../lib/Makefile.lib
46
47 SRCDIR = ../common
48
49 CSTD= $(CSTD_GNU99)
50
51 CERRWARN += -_gcc=-Wno-unused-label
52 CERRWARN += -_gcc=-Wno-uninitialized
53 CERRWARN += -_gcc=-Wno-parentheses
54
55 # Override default source file derivation rule (in Makefile.lib)
56 # from objects
57 #
58 MACHSRCS= $(MACHOBJS:%.o=../common/%.c)
59 LIBSRCS = $(LIBOBJS:%.o=../common/%.c)
60 SRCS= $(MACHSRCS) $(LIBSRCS)
61
62 LIBS = $(DYNLIB)
63
64 INCLIST= $(INCLIST_$(MACH)) -I../../include -I../../include/$(MACH)
65 DEFLIST= -DELF
66
|
27 #
28
29 PROG= lex
30
31 MACHOBJS= main.o sub1.o sub2.o sub3.o header.o parser.o
32 POBJECTS= $(MACHOBJS)
33 POBJS= $(POBJECTS:%=objs/%)
34
35 LIBRARY= libl.a
36 VERS= .1
37
38 LIBOBJS= allprint.o libmain.o reject.o yyless.o yywrap.o
39 LIBOBJS_W= allprint_w.o reject_w.o yyless_w.o
40 LIBOBJS_E= reject_e.o yyless_e.o
41 OBJECTS= $(LIBOBJS) $(LIBOBJS_W) $(LIBOBJS_E)
42
43 FORMS= nceucform ncform nrform
44
45 include ../../../../lib/Makefile.lib
46
47 COMPATLINKS= /usr/ccs/lib/libl.so \
48 /usr/ccs/lib/$(MACH64)/libl.so
49
50 $(ROOT)/usr/ccs/lib/libl.so := COMPATLINKTARGET=../../lib/libl.so.1
51 $(ROOT)/usr/ccs/lib/$(MACH64)/libl.so:= \
52 COMPATLINKTARGET=../../../lib/$(MACH64)/libl.so.1
53
54 SRCDIR = ../common
55
56 CSTD= $(CSTD_GNU99)
57
58 CERRWARN += -_gcc=-Wno-unused-label
59 CERRWARN += -_gcc=-Wno-uninitialized
60 CERRWARN += -_gcc=-Wno-parentheses
61
62 # Override default source file derivation rule (in Makefile.lib)
63 # from objects
64 #
65 MACHSRCS= $(MACHOBJS:%.o=../common/%.c)
66 LIBSRCS = $(LIBOBJS:%.o=../common/%.c)
67 SRCS= $(MACHSRCS) $(LIBSRCS)
68
69 LIBS = $(DYNLIB)
70
71 INCLIST= $(INCLIST_$(MACH)) -I../../include -I../../include/$(MACH)
72 DEFLIST= -DELF
73
|