diff options
author | mananth <mananth> | 2003-08-29 09:48:59 +0000 |
---|---|---|
committer | mananth <mananth> | 2003-08-29 09:48:59 +0000 |
commit | 20585df476dda252c5c31f80b977c41461a8a4b4 (patch) | |
tree | ff6b68306bb6606f58215d4c7db8993984acd14f | |
parent | a05a8e02235bfcf2ae1d7493fce5a5e31ec108f8 (diff) | |
download | sysfsutils-20585df476dda252c5c31f80b977c41461a8a4b4.tar.gz |
Removing old Makefiles since we are now using autotools
-rw-r--r-- | Makefile | 12 | ||||
-rw-r--r-- | cmd/Makefile | 20 | ||||
-rw-r--r-- | lib/Makefile | 44 |
3 files changed, 0 insertions, 76 deletions
diff --git a/Makefile b/Makefile deleted file mode 100644 index 395ee90..0000000 --- a/Makefile +++ /dev/null @@ -1,12 +0,0 @@ -# sysutils Makefile -# -# Copyright (C) IBM Corp. 2003 -# - -all: - $(MAKE) -C lib - $(MAKE) -C cmd - -clean: - $(MAKE) -C lib clean - $(MAKE) -C cmd clean diff --git a/cmd/Makefile b/cmd/Makefile deleted file mode 100644 index d53677e..0000000 --- a/cmd/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# System utilities makefile - -CC=gcc - -CFLAGS=-g -Wall -INCLUDE=../include -LIB=../lib - -RM=rm -f - -all: lsbus systool - -lsbus: lsbus.c - $(CC) $(CFLAGS) -I$(INCLUDE) -o lsbus lsbus.c -lsysfs -L$(LIB) - -systool: systool.c - $(CC) $(CFLAGS) -I$(INCLUDE) -o systool systool.c -lsysfs -L$(LIB) - -clean: - $(RM) *.o *~ lsbus systool diff --git a/lib/Makefile b/lib/Makefile deleted file mode 100644 index 7ee0317..0000000 --- a/lib/Makefile +++ /dev/null @@ -1,44 +0,0 @@ -# Makefile for libsysfs.a -# Copyright (C) IBM Corp. 2003 - -CC=gcc - -H_INCLUDE=../include -LIB_INCLUDE=. -OBJS=sysfs_bus.o sysfs_class.o sysfs_device.o sysfs_dir.o sysfs_driver.o \ - sysfs_utils.o - -# Install directory - -# Options -CFLAGS=-O2 -Wall -ansi -g - -# sysfs library -LIBSYSFS=libsysfs.a - -RM=rm -f - -libsysfs.a: $(OBJS) - ar cru $(LIBSYSFS) $(OBJS) - ranlib $(LIBSYSFS) - -sysfs_bus.o: sysfs_bus.c - $(CC) -I$(H_INCLUDE) -I$(LIB_INCLUDE) $(CFLAGS) -c sysfs_bus.c - -sysfs_class.o: sysfs_class.c - $(CC) -I$(H_INCLUDE) -I$(LIB_INCLUDE) $(CFLAGS) -c sysfs_class.c - -sysfs_device.o: sysfs_device.c - $(CC) -I$(H_INCLUDE) -I$(LIB_INCLUDE) $(CFLAGS) -c sysfs_device.c - -sysfs_dir.o: sysfs_dir.c - $(CC) -I$(H_INCLUDE) -I$(LIB_INCLUDE) $(CFLAGS) -c sysfs_dir.c - -sysfs_driver.o: sysfs_driver.c - $(CC) -I$(H_INCLUDE) -I$(LIB_INCLUDE) $(CFLAGS) -c sysfs_driver.c - -sysfs_utils.o: sysfs_utils.c - $(CC) -I$(H_INCLUDE) -I$(LIB_INCLUDE) $(CFLAGS) -c sysfs_utils.c - -clean: - $(RM) *.o *~ core $(LIBSYSFS) |