summaryrefslogblamecommitdiffstats
path: root/c/src/lib/libcpu/a29k/clock/Makefile.am
blob: a7a95bc081ddaed95c011e45789bf792f7b53433 (plain) (tree)
1
2
3
4
5
6
7
  
       
  


                              
                       











                                                 
                                                        





                                                    
               








                                                      
##
## $Id$
##

AUTOMAKE_OPTIONS = foreign 1.4

PGM = $(ARCH)/clock.rel

C_FILES = ckinit.c
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)

H_FILES = clock.h

S_FILES = clock.S
S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)

OBJS = $(C_O_FILES) $(S_O_FILES)

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): $(OBJS)
	$(make-rel)

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

.PRECIOUS: $(PGM)

EXTRA_DIST = Makefile ckinit.c clock.S clock.h

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