[ Previous | Next | Contents | Home | Search ]
AIX Version 4.3 Understanding the Diagnostic Subsystem for AIX

Example Interrupt Handler Makefiles

#
#   COMPONENT_NAME: tu_device
#
#   FUNCTIONS: none
#
#
#-----------------------------------------------------------------------#
#                                                                       #
#       Make file for the ...................                           #
#                                                                       #
#-----------------------------------------------------------------------#
 
  
VPATH       = ${MAKETOP}/bos/diag/tu/....
  
PROGRAMS   = device_intr
 
OFILES     = device_intr.o
 
LIBFLAGS   =
INCFLAGS   = -I${MAKETOP}/bos/diag/tu/testtu
LIBS       = -lcsys
 
CC_OPT_LEVEL =
 
OPT_LEVEL  =
 
CFLAGS     = -DKERNEL -O -D_KERNEL -g -D_AIX
 
device_intr_ENTRYPOINT = device_interrupt
device_intr_IMPORTS    = -bI:${MAKETOP}/bos/kernext/exp/pdiagex.exp \
                         -bI:${MAKETOP}/bos/kernel/exp/kernex.exp
device_intr_EXPORTS    = -bE:device_intr.exp
 
ILIST      = ${PROGRAMS}
IDIR       = /usr/lpp/diagnostics/slih/
 
.include <${RULES_MK}>
   
#
#Using command line make:
#
device_intr: device_intr.o
        cc -c -I. device_intr.c

[ Previous | Next | Contents | Home | Search ]