35 # install this library in the root filesystem
36 include ../../Makefile.rootfs
37
38 SRCDIR= ../common
39
40 LIBS= $(DYNLIB) $(LINTLIB)
41
42 CSTD= $(CSTD_GNU89)
43
44 CPPFLAGS += -I.
45 LDLIBS += -lc
46
47 CFLAGS += -D_LARGEFILE64_SOURCE
48 CFLAGS += -D_FILE_OFFSET_BITS=64
49 CFLAGS64 += -D_LARGEFILE64_SOURCE
50 CFLAGS64 += -D_FILE_OFFSET_BITS=64
51
52 LINTFLAGS += -erroff=E_BAD_PTR_CAST_ALIGN
53 LINTFLAGS64 += -erroff=E_BAD_PTR_CAST_ALIGN
54
55 CERRWARN += -_gcc=-Wno-uninitialized
56
57 # not linted
58 SMATCH=off
59
60 .KEEP_STATE:
61
62 all: $(LIBS)
63
64 lint: lintcheck
65
66 pics/%.o: ../common/%.c
67 $(COMPILE.c) -o $@ $<
68 $(POST_PROCESS_O)
69
70 # include library targets
71 include ../../Makefile.targ
|
35 # install this library in the root filesystem
36 include ../../Makefile.rootfs
37
38 SRCDIR= ../common
39
40 LIBS= $(DYNLIB) $(LINTLIB)
41
42 CSTD= $(CSTD_GNU89)
43
44 CPPFLAGS += -I.
45 LDLIBS += -lc
46
47 CFLAGS += -D_LARGEFILE64_SOURCE
48 CFLAGS += -D_FILE_OFFSET_BITS=64
49 CFLAGS64 += -D_LARGEFILE64_SOURCE
50 CFLAGS64 += -D_FILE_OFFSET_BITS=64
51
52 LINTFLAGS += -erroff=E_BAD_PTR_CAST_ALIGN
53 LINTFLAGS64 += -erroff=E_BAD_PTR_CAST_ALIGN
54
55 CERRWARN += $(CNOWARN_UNINIT)
56
57 # not linted
58 SMATCH=off
59
60 .KEEP_STATE:
61
62 all: $(LIBS)
63
64 lint: lintcheck
65
66 pics/%.o: ../common/%.c
67 $(COMPILE.c) -o $@ $<
68 $(POST_PROCESS_O)
69
70 # include library targets
71 include ../../Makefile.targ
|