comparison src/Makefile.in.in @ 448:3078fd1074e8 r21-2-39

Import from CVS: tag r21-2-39
author cvs
date Mon, 13 Aug 2007 11:38:25 +0200
parents abe6d1db359e
children 223736d75acb
comparison
equal deleted inserted replaced
447:4fc5f13f3bd3 448:3078fd1074e8
145 ## -Demacs is needed to make some files produce the correct version 145 ## -Demacs is needed to make some files produce the correct version
146 ## for use in Emacs. 146 ## for use in Emacs.
147 147
148 cppflags = $(CPPFLAGS) -Demacs -I. $(c_switch_all) 148 cppflags = $(CPPFLAGS) -Demacs -I. $(c_switch_all)
149 cflags = $(CFLAGS) $(cppflags) 149 cflags = $(CFLAGS) $(cppflags)
150 #if defined (WIN32_NATIVE) || defined (CYGWIN)
151 ldflags = $(LDFLAGS) -mwindows $(ld_switch_all) $(ld_dynamic_link_flags)
152 #else
150 ldflags = $(LDFLAGS) $(ld_switch_all) $(ld_dynamic_link_flags) 153 ldflags = $(LDFLAGS) $(ld_switch_all) $(ld_dynamic_link_flags)
154 #endif
151 155
152 #ifdef SOLARIS2 156 #ifdef SOLARIS2
153 %.o : %.c 157 %.o : %.c
154 #else 158 #else
155 .c.o: 159 .c.o:
739 -@echo "Copying include files for ellcc..." 743 -@echo "Copying include files for ellcc..."
740 -@hdir=`pwd`; \ 744 -@hdir=`pwd`; \
741 cd ${srcdir}; hdrdir2=`pwd`; cd $$hdir; \ 745 cd ${srcdir}; hdrdir2=`pwd`; cd $$hdir; \
742 test "$$hdrdir2" != "$$hdir" && hdir="$$hdir $$hdrdir2"; \ 746 test "$$hdrdir2" != "$$hdir" && hdir="$$hdir $$hdrdir2"; \
743 (for thisdir in $$hdir; do \ 747 (for thisdir in $$hdir; do \
744 cd $$hdir && \ 748 cd $$thisdir && \
745 (hdrtars=; \ 749 (hdrtars=; \
746 for hdrfile in *.h; do \ 750 for hdrfile in *.h; do \
747 hdrtars="$$hdrtars $$hdrfile"; \ 751 hdrtars="$$hdrtars $$hdrfile"; \
748 done; \ 752 done; \
749 test -d s && hdrtars="$$hdrtars s/*"; \ 753 test -d s && hdrtars="$$hdrtars s/*"; \