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





                              
                       
 

                    
                                                                         










                                                       


                                                        



                                              


                                                         
## 
## $Id$
## 

AUTOMAKE_OPTIONS = foreign 1.4

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/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