27 VERS = .1
28
29 OBJECTS = mtmalloc.o
30
31 # include library definitions
32 include ../../Makefile.lib
33
34 SRCDIR = ../common
35 SRCS = ../common/mtmalloc.c
36 LINTSRC = $(LINTLIB:%.ln=%)
37
38 LIBS = $(DYNLIB) $(LINTLIB)
39 LDLIBS += -lc
40 CFLAGS += $(CCVERBOSE) $(C_PICFLAGS)
41 CPPFLAGS += -I../common -I../../common/inc -D_REENTRANT
42 DYNFLAGS += $(ZINTERPOSE)
43
44 $(LINTLIB) lint := LINTFLAGS += -erroff=E_BAD_PTR_CAST_ALIGN
45 $(LINTLIB) lint := LINTFLAGS64 += -erroff=E_BAD_PTR_CAST_ALIGN
46
47 CERRWARN += -_gcc=-Wno-uninitialized
48
49 .KEEP_STATE:
50
51 all: $(LIBS)
52
53 lint: lintcheck
54
55 # include library targets
56 include ../../Makefile.targ
57
58 pics/%.o: ../common/%.c
59 $(COMPILE.c) -o $@ $<
60 $(POST_PROCESS_O)
|
27 VERS = .1
28
29 OBJECTS = mtmalloc.o
30
31 # include library definitions
32 include ../../Makefile.lib
33
34 SRCDIR = ../common
35 SRCS = ../common/mtmalloc.c
36 LINTSRC = $(LINTLIB:%.ln=%)
37
38 LIBS = $(DYNLIB) $(LINTLIB)
39 LDLIBS += -lc
40 CFLAGS += $(CCVERBOSE) $(C_PICFLAGS)
41 CPPFLAGS += -I../common -I../../common/inc -D_REENTRANT
42 DYNFLAGS += $(ZINTERPOSE)
43
44 $(LINTLIB) lint := LINTFLAGS += -erroff=E_BAD_PTR_CAST_ALIGN
45 $(LINTLIB) lint := LINTFLAGS64 += -erroff=E_BAD_PTR_CAST_ALIGN
46
47 CERRWARN += $(CNOWARN_UNINIT)
48
49 .KEEP_STATE:
50
51 all: $(LIBS)
52
53 lint: lintcheck
54
55 # include library targets
56 include ../../Makefile.targ
57
58 pics/%.o: ../common/%.c
59 $(COMPILE.c) -o $@ $<
60 $(POST_PROCESS_O)
|