Mercurial > nand-ecoscentric
annotate packages/hal/sparclite/arch/current/src/PKGconf.mak @ 4:1d7f19c9e4d1 ecos-sw-1999-05-11
Merge from eCos master repository on 1999-05-11-21:11:10-BST
| author | jlarmour |
|---|---|
| date | Tue, 11 May 1999 14:07:25 +0000 |
| parents | 443894e2e912 |
| children | c38311975d4f |
| rev | line source |
|---|---|
| 2 | 1 #============================================================================== |
| 2 # | |
| 3 # makefile === PKGconf.mak | |
| 4 # | |
| 5 # hal/sparclite/arch/src | |
| 6 # | |
| 7 #============================================================================== | |
| 8 #####COPYRIGHTBEGIN#### | |
| 9 # | |
| 10 # ------------------------------------------- | |
| 11 # The contents of this file are subject to the Cygnus eCos Public License | |
| 12 # Version 1.0 (the "License"); you may not use this file except in | |
| 13 # compliance with the License. You may obtain a copy of the License at | |
| 14 # http://sourceware.cygnus.com/ecos | |
| 15 # | |
| 16 # Software distributed under the License is distributed on an "AS IS" | |
| 17 # basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the | |
| 18 # License for the specific language governing rights and limitations under | |
| 19 # the License. | |
| 20 # | |
| 21 # The Original Code is eCos - Embedded Cygnus Operating System, released | |
| 22 # September 30, 1998. | |
| 23 # | |
| 24 # The Initial Developer of the Original Code is Cygnus. Portions created | |
| 25 # by Cygnus are Copyright (C) 1998,1999 Cygnus Solutions. All Rights Reserved. | |
| 26 # ------------------------------------------- | |
| 27 # | |
| 28 #####COPYRIGHTEND#### | |
| 29 #============================================================================== | |
| 30 | |
| 31 PACKAGE := hal_sparclite | |
| 32 include ../../../../../pkgconf/pkgconf.mak | |
| 33 | |
| 34 LIBRARY := libtarget.a | |
| 35 COMPILE := vectors.S vec_ivsr.S vec_xvsr.S \ | |
| 36 context.S icontext.c \ | |
| 37 hal_intr.c hal_boot.c | |
| 38 OTHER_OBJS := | |
| 39 OTHER_TARGETS := vectors.stamp ldscript.stamp | |
| 40 OTHER_DEPS := $(PACKAGE)_vectors.d ldscript.d | |
| 41 OTHER_CLEAN := vectors.clean ldscript.clean | |
| 42 | |
| 43 include $(COMPONENT_REPOSITORY)/pkgconf/makrules.src | |
| 44 | |
| 45 .PHONY: ldscript.clean | |
| 46 | |
| 47 vectors.stamp: $(PACKAGE)_vectors.o | |
| 48 $(CP) $< $(PREFIX)/lib/vectors.o | |
| 49 @$(TOUCH) $@ | |
| 50 | |
| 51 vectors.clean: | |
| 52 $(RM) $(PREFIX)/lib/vectors.o $(PACKAGE)_vectors.o | |
| 53 $(RM) vectors.stamp | |
| 54 | |
| 55 $(PACKAGE)_vectors.o: $(BUILD_TREE)/pkgconf/pkgconf.mak \ | |
| 56 $(BUILD_TREE)/pkgconf/makevars $(PACKAGE_RULES_FILE) | |
| 57 | |
| 58 ldscript.stamp: sparclite.ld | |
| 59 $(CC) -E -P -Wp,-MD,ldscript.tmp -DEXTRAS=1 -xc $(INCLUDE_PATH) $(CFLAGS) -o $(PREFIX)/lib/target.ld $< | |
| 60 @echo > ldscript.d | |
| 61 @echo $@ ':' $< '\' >> ldscript.d | |
|
4
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
62 @tail +2 ldscript.tmp >> ldscript.d |
| 2 | 63 @rm ldscript.tmp |
| 64 $(TOUCH) $@ | |
| 65 | |
| 66 ldscript.clean: | |
| 67 $(RM) -f $(PREFIX)/lib/target.ld | |
| 68 $(RM) -f ldscript.stamp |
