30
31 # PLATFORM_OBJECTS is defined in platform Makefile
32 OBJECTS= $(PLATFORM_OBJECTS)
33
34 include $(SRC)/lib/Makefile.lib
35 include $(SRC)/Makefile.psm
36
37 SRCDIR = ../common
38
39 CPPFLAGS += $(PLATINCS) -DPCP_CKSUM_ENABLE
40
41 LINKED_DIRS = $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%)
42 LINKED_LIB_DIRS = $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib)
43 LINKED_LIBPCP_DIR = \
44 $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib/libpcp.so)
45 LINKED_LIBPCP1_DIR = \
46 $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib/libpcp.so.1)
47
48 LIBS = $(DYNLIB) $(LINTLIB)
49 CFLAGS += $(CCVERBOSE)
50 CERRWARN += -_gcc=-Wno-uninitialized
51 LDLIBS += -lc -lumem -ldevinfo
52 PLATLIBS = $(USR_PLAT_DIR)/$(PLATFORM)/lib
53 INS.slink6= $(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/lib/libpcp.so.1 $@
54 INS.slink7= $(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/lib/libpcp.so $@
55
56 .KEEP_STATE:
57
58 #
59 # build/lint rules
60 #
61 all: $(LIBS)
62
63 lint: lintcheck
64
65 include $(SRC)/lib/Makefile.targ
|
30
31 # PLATFORM_OBJECTS is defined in platform Makefile
32 OBJECTS= $(PLATFORM_OBJECTS)
33
34 include $(SRC)/lib/Makefile.lib
35 include $(SRC)/Makefile.psm
36
37 SRCDIR = ../common
38
39 CPPFLAGS += $(PLATINCS) -DPCP_CKSUM_ENABLE
40
41 LINKED_DIRS = $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%)
42 LINKED_LIB_DIRS = $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib)
43 LINKED_LIBPCP_DIR = \
44 $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib/libpcp.so)
45 LINKED_LIBPCP1_DIR = \
46 $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib/libpcp.so.1)
47
48 LIBS = $(DYNLIB) $(LINTLIB)
49 CFLAGS += $(CCVERBOSE)
50 CERRWARN += $(CNOWARN_UNINIT)
51 LDLIBS += -lc -lumem -ldevinfo
52 PLATLIBS = $(USR_PLAT_DIR)/$(PLATFORM)/lib
53 INS.slink6= $(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/lib/libpcp.so.1 $@
54 INS.slink7= $(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/lib/libpcp.so $@
55
56 .KEEP_STATE:
57
58 #
59 # build/lint rules
60 #
61 all: $(LIBS)
62
63 lint: lintcheck
64
65 include $(SRC)/lib/Makefile.targ
|