Makefile.in: Various fixes for building cygwin32 native toolchains.
authorNick Clifton <nickc@cygnus.com>
Sat, 21 Mar 1998 23:49:21 +0000 (23:49 +0000)
committerJeff Law <law@gcc.gnu.org>
Sat, 21 Mar 1998 23:49:21 +0000 (16:49 -0700)
        * objc/Makefile.in: Various fixes for building cygwin32 native toolchains.
        * objc/Make-lang.in: Likewise.

Co-Authored-By: Geoff Noer <noer@cygnus.com>
From-SVN: r18744

gcc/ChangeLog
gcc/objc/Make-lang.in
gcc/objc/Makefile.in

index b121296fa2591dc7415b8d9512f02b315a297624..abfd9b81a82279f588ed9a951a44efe22c9e7393 100644 (file)
@@ -3,6 +3,9 @@ Sun Mar 22 00:50:42 1998  Nick Clifton  <nickc@cygnus.com>
 
        * Makefile.in: Various fixes for building cygwin32 native toolchains.
 
+        * objc/Makefile.in: Various fixes for building cygwin32 native toolchains.
+        * objc/Make-lang.in: Likewise.
+
 Sun Mar 22 00:21:46 1998  R. Ganesan  <rganesan@novell.com>
 
        * configure.in: Handle with-PACKAGE=no correctly
index 5bf6b3417edc38a32f7f43be15357be51383f648..f5f8289f580381eb03a41e3c12f8ef6fc5a9cda2 100644 (file)
@@ -50,8 +50,8 @@ OBJC_FLAGS_TO_PASS = \
 
 #\f
 # Define the names for selecting Objective-C in LANGUAGES.
-OBJC objc: cc1obj objc-runtime
-OBJECTIVE-C objective-c: cc1obj objc-runtime
+OBJC objc: cc1obj$(exeext) objc-runtime
+OBJECTIVE-C objective-c: cc1obj$(exeext) objc-runtime
 
 # Tell GNU make to ignore these if they exist.
 .PHONY: objective-c objc ObjC
@@ -62,7 +62,7 @@ OBJC_THREAD_FILE=thr-$(GCC_THREAD_FILE)
 # Language-specific object files for Objective C.
 OBJC_OBJS = objc-parse.o objc-act.o $(C_AND_OBJC_OBJS)
 
-cc1obj: $(P) $(OBJC_OBJS) $(OBJS) $(LIBDEPS)
+cc1obj$(exeext): $(P) $(OBJC_OBJS) $(OBJS) $(LIBDEPS)
        $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ $(OBJC_OBJS) $(OBJS) \
                $(LIBS)
 
index 9d521f54cdc86b028a4bd69d5fa97b9fd9db7eeb..5f1bc8811eb1379bd0ca3ec4a0cbf97a6e3b1b2a 100644 (file)
@@ -63,7 +63,7 @@ OBJC_H = hash.h objc-list.h sarray.h objc.h objc-api.h \
 all.indirect: Makefile compiler objc-runtime
 
 compiler:
-       cd ..; $(MAKE) cc1obj
+       cd ..; $(MAKE) cc1obj$(exeext)
 
 objc-runtime:
        cd ..; $(MAKE) libobjc.a