From 5e3355a6c348b511c7b7a1f6dc89185726d566c5 Mon Sep 17 00:00:00 2001 From: TingPing Date: Sat, 14 Feb 2015 13:35:02 -0500 Subject: Unify sysinfo plugins and add osx support This does remove the net* commands from the Unix version that may return at a later date with OSX and Windows support. This commit also makes numerious other changes such as code cleanup, reformatting, etc. Closes #829 --- plugins/sysinfo/xsys-makefile | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 plugins/sysinfo/xsys-makefile (limited to 'plugins/sysinfo/xsys-makefile') diff --git a/plugins/sysinfo/xsys-makefile b/plugins/sysinfo/xsys-makefile deleted file mode 100644 index 8b51a53d..00000000 --- a/plugins/sysinfo/xsys-makefile +++ /dev/null @@ -1,38 +0,0 @@ -#### SET THIS VALUE TO THE LOCATION OF THE `pci.ids` file #### -PCIIDS = /usr/share/misc/pci.ids - -#### UNCOMMENT THIS IF YOU WANT THE BUTTONS #### -#BUTTON = -Dbuttonbar - -#### SHOULD NOT NEED TO EDIT BELOW THIS LINE #### -VER_MAJOR = 2 -VER_MINOR = 2 -VER_PATCH = 0 -CC = gcc -CFLAGS += -O2 -Wall -fPIC -CFLAGS += -DVER_MINOR=$(VER_MINOR) -DVER_MAJOR=$(VER_MAJOR) -DVER_PATCH=$(VER_PATCH) \ - -DVER_STRING=\"$(VER_MAJOR).$(VER_MINOR).$(VER_PATCH)\" -DPCIIDS=\"$(PCIIDS)\" $(BUTTON) -LDFLAGS = $(CFLAGS) -shared -LIBRARY = xsys-$(VER_MAJOR).$(VER_MINOR).$(VER_PATCH).so -OBJECTS = xsys.o parse.o pci.o match.o hwmon.o - -ALL : $(LIBRARY) - -$(LIBRARY) : $(OBJECTS) - $(CC) $(LDFLAGS) -o $(LIBRARY) $(OBJECTS) -lpci - -xsys.o : xsys.c -parse.o : parse.c -pci.o : pci.c -match.o : match.c -hwmon.o : hwmon.c - -.PHONY : clean -clean : - rm -rf *.o *.so *~ - -.PHONY : install -install : $(LIBRARY) - rm -f $(HOME)/.xchat2/xsys-plugin.so - cp ./$(LIBRARY) $(HOME)/.xchat2/xsys-plugin.so - -- cgit 1.4.1