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


                              
                       



                    
                                                                         

                                                 
                                                           








                                                       
                                                       

                          



                                              


                                                         
##
## $Id$
##

AUTOMAKE_OPTIONS = foreign 1.4

PGM = $(ARCH)/timer.rel

## sources
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