78 lines
2.2 KiB
Makefile
78 lines
2.2 KiB
Makefile
# /*
|
|
# * Copyright 2006 Wind River Systems, Inc.
|
|
# *
|
|
# * The right to copy, distribute, modify or otherwise make use
|
|
# * of this software may be licensed only pursuant to the terms
|
|
# * of an applicable Wind River license agreement.
|
|
# */
|
|
|
|
# /*
|
|
# modification history
|
|
# --------------------
|
|
# 01c,07sep06,tlu undo the last change
|
|
# 01b,06sep06,kch Fixed build issue.
|
|
# 01a,12jun06,tlu Initial creation
|
|
# */
|
|
|
|
|
|
#############################################################################
|
|
# PRODUCT
|
|
###########################################################################
|
|
|
|
IPPROD ?= ipripng
|
|
|
|
|
|
#############################################################################
|
|
# DEFINE
|
|
###########################################################################
|
|
|
|
IPDEFINE += -DIPRIPNG
|
|
|
|
|
|
#############################################################################
|
|
# INCLUDE
|
|
###########################################################################
|
|
|
|
IPINCLUDE += -I$(IPRIPNG_ROOT)/config
|
|
IPINCLUDE += -I$(IPRIPNG_ROOT)/include
|
|
IPINCLUDE += -I$(IPRIPNG_ROOT)/src
|
|
|
|
|
|
#############################################################################
|
|
# OBJECTS
|
|
###########################################################################
|
|
|
|
# Configuration
|
|
IPLIBOBJECTS_C += ipripng_config.o
|
|
|
|
# Main
|
|
IPLIBOBJECTS += ipripng.o
|
|
IPLIBOBJECTS += ipripng_daemon.o
|
|
IPLIBOBJECTS += ipripng_util.o
|
|
IPLIBOBJECTS += ipripng_cmd_show.o
|
|
|
|
# Compiles the xxx_config.o if the $SKIP_CONFIG macro is either not defined
|
|
# or set to anything other than true.
|
|
ifneq ($(SKIP_CONFIG),true)
|
|
IPLIBOBJECTS += $(IPLIBOBJECTS_C)
|
|
endif
|
|
|
|
|
|
#############################################################################
|
|
# VPATH
|
|
###########################################################################
|
|
|
|
IPSRCDIRS += $(IPRIPNG_ROOT)/src $(IPRIPNG_ROOT)/config
|
|
|
|
|
|
#############################################################################
|
|
# LIB
|
|
###########################################################################
|
|
|
|
IPLIBS += $(IPLIBROOT)/libipripng.a
|
|
|
|
|
|
###########################################################################
|
|
# END OF IPRIPNG.MK
|
|
###########################################################################
|