summaryrefslogblamecommitdiffstats
path: root/c/src/lib/libbsp/i386/pc386/timer/Makefile.am
blob: 4fc3f444b15394d356edc476542add8edd6c31b3 (plain) (tree)
1
2
3
4
5
6
7
8
9
  
       
  
 
 
                       
 

                    
                                                                         

                                                 
                                                           








                                                       
                                                       

                          



                                              


                                                         
##
## $Id$
##


PGM = $(ARCH)/timer.rel

C_FILES = timer.c
S_FILES = timerisr.S
timer_rel_OBJECTS = $(C_FILES:%.c=$(ARCH)/%.o) $(S_FILES:%.S=$(ARCH)/%.o)

include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../../../../../../automake/compile.am
include $(top_srcdir)/../../../../../../automake/lib.am

#
# (OPTIONAL) Add local stuff here using +=
#

$(PGM): $(timer_rel_OBJECTS)
	$(make-rel)

# the .rel file built here will be put into libbsp.a by
# 	../wrapup/Makefile

all-local: $(ARCH) $(timer_rel_OBJECTS) $(PGM)

.PRECIOUS: $(PGM)

EXTRA_DIST = timer.c timerisr.S

include $(top_srcdir)/../../../../../../automake/local.am