summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-01-06 21:34:16 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-01-06 21:34:16 +0000
commitf7bb16a5414b35dacf48343fdb3fca0896b157e6 (patch)
tree2867d785e50353a63423a226a095c123cf3d7461
parentdf284f895f900c1632b67e209d882c83acb1bc95 (diff)
downloaddrakx-f7bb16a5414b35dacf48343fdb3fca0896b157e6.tar
drakx-f7bb16a5414b35dacf48343fdb3fca0896b157e6.tar.gz
drakx-f7bb16a5414b35dacf48343fdb3fca0896b157e6.tar.bz2
drakx-f7bb16a5414b35dacf48343fdb3fca0896b157e6.tar.xz
drakx-f7bb16a5414b35dacf48343fdb3fca0896b157e6.zip
fix many dependencies
include .depend stuff
-rw-r--r--mdk-stage1/Makefile30
1 files changed, 15 insertions, 15 deletions
diff --git a/mdk-stage1/Makefile b/mdk-stage1/Makefile
index 889d9f4c3..438e8c7cb 100644
--- a/mdk-stage1/Makefile
+++ b/mdk-stage1/Makefile
@@ -148,37 +148,37 @@ init: $(INITOBJS)
$(CC) $(LDFLAGS_INIT) -o $@ $(INITOBJS)
$(STRIPCMD) $@
-stage1-cdrom: $(STAGE1_OWN_LIBS) $(STAGE1OBJS-CDROM) $(MEDIAS_FRONTEND_LINK)
- $(CC) $(LDFLAGS_STAGE1) -o $@ $(STAGE1OBJS-CDROM) $(MEDIAS_FRONTEND_LINK) $(STAGE1_OWN_LIBS) $(STAGE1_OTHER_LIBS) $(STAGE1_LIBC)
+stage1-cdrom: $(STAGE1OBJS-CDROM) $(STAGE1_OWN_LIBS) $(STAGE1_OWN_LIBS) $(STAGE1_OTHER_LIBS) $(MEDIAS_FRONTEND_LINK) $(STAGE1_LIBC)
+ $(CC) $(LDFLAGS_STAGE1) -o $@ $^
$(STRIPCMD) $@
-stage1-disk: $(STAGE1_OWN_LIBS) $(STAGE1OBJS-DISK) $(MEDIAS_FRONTEND_LINK)
- $(CC) $(LDFLAGS_STAGE1) -o $@ $(STAGE1OBJS-DISK) $(MEDIAS_FRONTEND_LINK) $(STAGE1_OWN_LIBS) $(STAGE1_OTHER_LIBS) $(STAGE1_LIBC)
+stage1-disk: $(STAGE1OBJS-DISK) $(STAGE1_OWN_LIBS) $(STAGE1_OTHER_LIBS) $(MEDIAS_FRONTEND_LINK) $(STAGE1_LIBC)
+ $(CC) $(LDFLAGS_STAGE1) -o $@ $^
$(STRIPCMD) $@
-stage1-network: $(STAGE1_OWN_LIBS) $(STAGE1OBJS-NETWORK) $(FRONTEND_LINK)
- $(CC) $(GLIBC_LDFLAGS_STAGE1) -o $@ $(STAGE1OBJS-NETWORK) $(FRONTEND_LINK) $(GLIBC_STAGE1_OWN_LIBS) $(STAGE1_OTHER_LIBS) $(STAGE1_NETWORK_LIBS)
+stage1-network: $(STAGE1OBJS-NETWORK) $(GLIBC_STAGE1_OWN_LIBS) $(STAGE1_OTHER_LIBS) $(STAGE1_NETWORK_LIBS) $(FRONTEND_LINK)
+ $(CC) $(GLIBC_LDFLAGS_STAGE1) -o $@ $^
$(STRIPCMD) $@
-stage1-pcmcia: $(STAGE1_OWN_LIBS) $(STAGE1OBJS-PCMIA) $(FRONTEND_LINK)
- $(CC) $(LDFLAGS_STAGE1) -o $@ $(STAGE1OBJS-PCMIA) $(FRONTEND_LINK) $(GLIBC_STAGE1_OWN_LIBS) $(STAGE1_OTHER_LIBS) $(STAGE1_LIBC)
+stage1-pcmcia: $(STAGE1OBJS-PCMCIA) $(GLIBC_STAGE1_OWN_LIBS) $(STAGE1_OTHER_LIBS) $(STAGE1_NETWORK_LIBS) $(FRONTEND_LINK)
+ $(CC) $(LDFLAGS_STAGE1) -o $@ $^
$(STRIPCMD) $@
-stage1-full: $(STAGE1_OWN_LIBS) $(STAGE1OBJS) $(FRONTEND_LINK)
- $(CC) $(GLIBC_LDFLAGS_STAGE1) -o $@ $(STAGE1OBJS) $(FRONTEND_LINK) $(GLIBC_STAGE1_OWN_LIBS) $(STAGE1_OTHER_LIBS) $(STAGE1_NETWORK_LIBS)
+stage1-full: $(STAGE1OBJS) $(GLIBC_STAGE1_OWN_LIBS) $(STAGE1_OTHER_LIBS) $(STAGE1_NETWORK_LIBS) $(FRONTEND_LINK)
+ $(CC) $(GLIBC_LDFLAGS_STAGE1) -o $@ $^
$(STRIPCMD) $@
-$(STAGE1OBJS-CDROM): %-CDROM.o: %.c
+$(STAGE1OBJS-CDROM): %-CDROM.o: %.c .depend
$(COMPILE) $(INCLUDES) $(CDROM_DEFS) -c $< -o $@
-$(STAGE1OBJS-DISK): %-DISK.o: %.c
+$(STAGE1OBJS-DISK): %-DISK.o: %.c .depend
$(COMPILE) $(INCLUDES) $(DISK_DEFS) -c $< -o $@
-$(STAGE1OBJS-NETWORK): %-NETWORK.o: %.c
+$(STAGE1OBJS-NETWORK): %-NETWORK.o: %.c .depend
$(COMPILE) $(GLIBC_INCLUDES) $(NETWORK_DEFS) -c $< -o $@
-.c.o:
+.c.o: .depend
$(COMPILE) $(GLIBC_INCLUDES) -c $<
@@ -188,7 +188,7 @@ clean:
done
rm -f *.o .depend *.rdz *.img $(BINS)
-deps:
+.depend:
$(CPP) $(CFLAGS) -DHAVE_CONFIG_H -M $(ALLSRC) > .depend
ifeq (.depend,$(wildcard .depend))