]> jfr.im git - irc/quakenet/newserv.git/commitdiff
GeoIP moved around a bit, also a few bits of cleanup and some optimisations in the...
authorChris Porter <redacted>
Mon, 17 Mar 2008 04:56:10 +0000 (04:56 +0000)
committerChris Porter <redacted>
Mon, 17 Mar 2008 04:56:10 +0000 (04:56 +0000)
geoip/Makefile.in
geoip/geoip.c
geoip/libGeoIP.c [moved from geoip/libGeoIP/GeoIP.c with 99% similarity]
geoip/libGeoIP.h [moved from geoip/libGeoIP/GeoIP.h with 100% similarity]

index 8cd94d26844e9e84545c387d9873759b1a555cf1..8fbf227f3faacfa61030a521aac5e6350b4c20d2 100644 (file)
@@ -3,4 +3,7 @@
 .PHONY: all
 all: geoip.so
 
-geoip.so: geoip.o libGeoIP/GeoIP.o
+clean:
+       rm -f *.o *.so libGeoIP/*.o
+
+geoip.so: geoip.o libGeoIP.o
index 6c1db14d3c321ff70592439c5d63a50c8032b7ba..0201f6be4dfaacd9ce16602b26dd922d652e1711 100644 (file)
@@ -12,7 +12,7 @@
 
 #include <strings.h>
 
-#include "libGeoIP/GeoIP.h"
+#include "libGeoIP.h"
 #include "geoip.h"
 
 #warning This module is GPLed. Load/link at your peril.
similarity index 99%
rename from geoip/libGeoIP/GeoIP.c
rename to geoip/libGeoIP.c
index e3f7818472d69bc36c7cf245b315673789c751b2..45378f770978cf61b1f7900b2f013e2c7fcd6037 100644 (file)
@@ -18,7 +18,7 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-#include "GeoIP.h"
+#include "libGeoIP.h"
 
 #include <netdb.h>
 #include <sys/socket.h>
similarity index 100%
rename from geoip/libGeoIP/GeoIP.h
rename to geoip/libGeoIP.h