Use our specs, not FreeBSD's.
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Sun, 20 Jun 2004 00:20:28 +0000 (00:20 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Sun, 20 Jun 2004 00:20:28 +0000 (00:20 +0000)
gnu/usr.bin/cc34/cc_tools/gengtype/Makefile

index 7e8079c..3e6ca48 100644 (file)
@@ -1,8 +1,10 @@
-# $DragonFly: src/gnu/usr.bin/cc34/cc_tools/gengtype/Makefile,v 1.1 2004/06/14 22:27:55 joerg Exp $
+# $DragonFly: src/gnu/usr.bin/cc34/cc_tools/gengtype/Makefile,v 1.2 2004/06/20 00:20:28 joerg Exp $
 
 .include "../Makefile.inc"
 .include "../../Makefile.langs"
 
+SPREPDIR=      ${.CURDIR}/../../cc_prep
+
 PROG=  gengtype
 SRCS=  gengtype.c gtyp-gen.h gengtype-lex.l gengtype-yacc.y insn-modes.h
 SRCS+= safe-ctype.c xexit.c xmalloc.c xmemdup.c xstrdup.c
@@ -13,7 +15,7 @@ CLEANFILES+=  gtyp-gen.h
 # from gcc/Makefile
 srcdir= ${GCCDIR}/gcc
 
-host_xm_file_list=     ${.CURDIR}/../../cc_prep/dragonfly-native.h
+host_xm_file_list=     ${SPREPDIR}/dragonfly-native.h
 host_xm_file_list+=    ${GCCDIR}/include/ansidecl.h
 HASHTAB_H   = ${GCCDIR}/include/hashtab.h
 SPLAY_TREE_H= ${GCCDIR}//include/splay-tree.h
@@ -22,8 +24,8 @@ SPLAY_TREE_H= ${GCCDIR}//include/splay-tree.h
 # platform specific files
 tm_file_list=  $(srcdir)/config/i386/i386.h $(srcdir)/config/i386/unix.h
 tm_file_list+= $(srcdir)/config/i386/att.h $(srcdir)/config/dbxelf.h
-tm_file_list+= $(srcdir)/config/elfos.h $(srcdir)/config/freebsd-spec.h
-tm_file_list+= $(srcdir)/config/freebsd.h $(srcdir)/config/i386/freebsd.h 
+tm_file_list+= $(srcdir)/config/elfos.h ${SPREPDIR}/config/dragonfly-spec.h
+tm_file_list+= ${SPREPDIR}/config/dragonfly.h ${SPREPDIR}/config/i386/dragonfly.h
 tm_file_list+= $(srcdir)/defaults.h
 out_file=      $(srcdir)/config/i386/i386.c