]> git.draconx.ca Git - upkg.git/commitdiff
uobject: Move headers into a separate (installable) directory.
authorNick Bowler <nbowler@draconx.ca>
Fri, 24 Jul 2009 15:37:16 +0000 (11:37 -0400)
committerNick Bowler <nbowler@draconx.ca>
Fri, 24 Jul 2009 15:43:01 +0000 (11:43 -0400)
15 files changed:
src/Makefile.am
src/engine/music.c
src/engine/music.h
src/engine/texture.c
src/engine/texture.h
src/exportable.c
src/loadable.c
src/module.c
src/uobject.c
src/uobject/Makefile.inc [new file with mode: 0644]
src/uobject/exportable.h [moved from src/exportable.h with 96% similarity]
src/uobject/loadable.h [moved from src/loadable.h with 96% similarity]
src/uobject/module.h [moved from src/module.h with 96% similarity]
src/uobject/uobject.h [moved from src/uobject.h with 97% similarity]
src/upkg.c

index 1dcd24c857ac38a0af127d9479db0109d62a858c..237e2c12364888e67cefa4ef2302e6b68c72eda5 100644 (file)
@@ -1,8 +1,9 @@
 lib_LTLIBRARIES = libuobject.la libupkg.la
 
-include_HEADERS = upkg.h uobject.h
-noinst_HEADERS  = pack.h loadable.h exportable.h module.h avl.h
+include_HEADERS = upkg.h
+noinst_HEADERS  = pack.h avl.h
 
+include uobject/Makefile.inc
 include engine/Makefile.inc
 
 libuobject_la_SOURCES  = uobject.c module.c avl.c loadable.c exportable.c
index ab00b17d777579e86110adab9903be8f15119300..565a6a0528b975c2441c3363785a18ff0d566dc9 100644 (file)
@@ -21,9 +21,9 @@
 #include <string.h>
 #include <glib-object.h>
 
-#include "exportable.h"
-#include "loadable.h"
-#include "uobject.h"
+#include <uobject/uobject.h>
+#include <uobject/exportable.h>
+#include <uobject/loadable.h>
 #include "music-module.h"
 #include "music.h"
 #include "upkg.h"
index eeed67143f364b0c1337f245bee43f22072e0181..589d64f6c53301bb4b13b9f558c17372a6ac6f96 100644 (file)
@@ -21,7 +21,7 @@
 #define MUSIC_H_
 
 #include <glib-object.h>
-#include "uobject.h"
+#include <uobject/uobject.h>
 
 #define ENGINE_MUSIC_TYPE (engine_music_get_type())
 #define ENGINE_MUSIC(obj) \
index 0e6e1c354bf8dc12b892425d8d2ccf918308e584..9cd6571bbae872ed89bfe333f9ca7fd4229831de 100644 (file)
@@ -21,8 +21,8 @@
 #include <string.h>
 #include <glib-object.h>
 
-#include "exportable.h"
-#include "uobject.h"
+#include <uobject/uobject.h>
+#include <uobject/exportable.h>
 #include "texture.h"
 #include "upkg.h"
 
index d5097724a0ae8b5c979c544fa30b7756cbf5332b..8f4951dd505a0625323c48d9294c2f085381971f 100644 (file)
@@ -21,7 +21,7 @@
 #define TEXTURE_H_
 
 #include <glib-object.h>
-#include "uobject.h"
+#include <uobject/uobject.h>
 
 #define ENGINE_TEXTURE_TYPE (engine_texture_get_type())
 #define ENGINE_TEXTURE(obj) \
index 03349f5307130349f4b11e07009b5f2317dfa0c6..8bda8506324711dfc949eca218a5cc059a8d3ab1 100644 (file)
@@ -19,7 +19,7 @@
 
 #include <stdio.h>
 #include <glib-object.h>
-#include "exportable.h"
+#include <uobject/exportable.h>
 
 GType u_object_exportable_get_type(void)
 {
index 77f6a10c4a187faa63c69a56f8eca558728bdac4..c4970ec65178219570e1c620ae24e8a3244ef18a 100644 (file)
@@ -19,7 +19,7 @@
 
 #include <stdio.h>
 #include <glib-object.h>
-#include "loadable.h"
+#include <uobject/loadable.h>
 
 GType u_object_loadable_get_type(void)
 {
index bdf0c8bcb676c4506186e800a1183d51c9f5c938..b1067dbd60bda507705eb5dc29c6eea3b3f97676 100644 (file)
@@ -24,7 +24,7 @@
 #include <glib-object.h>
 #include <ltdl.h>
 
-#include "module.h"
+#include <uobject/module.h>
 #include "avl.h"
 
 static unsigned initialized;
index 175a6243dc202d1c5ee84a7b3af25cfe20c7b49b..ec517b7bd0bb97f60ee7d01e5eaed01a0c118e96 100644 (file)
@@ -23,7 +23,7 @@
 #include <assert.h>
 #include <glib-object.h>
 
-#include "uobject.h"
+#include <uobject/uobject.h>
 #include "upkg.h"
 #include "pack.h"
 
diff --git a/src/uobject/Makefile.inc b/src/uobject/Makefile.inc
new file mode 100644 (file)
index 0000000..37c0a65
--- /dev/null
@@ -0,0 +1,3 @@
+uobjectdir = $(includedir)/uobject
+uobject_HEADERS = uobject/uobject.h uobject/exportable.h uobject/loadable.h \
+       uobject/module.h
similarity index 96%
rename from src/exportable.h
rename to src/uobject/exportable.h
index e2424f004a5c2497a1bcb0aa870bed9c24f4174e..da4c719b97fe136d2a751d5e7d47c717811a68f4 100644 (file)
@@ -17,8 +17,8 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-#ifndef EXPORTABLE_H_
-#define EXPORTABLE_H_
+#ifndef UOBJECT_EXPORTABLE_H_
+#define UOBJECT_EXPORTABLE_H_
 
 #include <stdio.h>
 #include <glib-object.h>
similarity index 96%
rename from src/loadable.h
rename to src/uobject/loadable.h
index f0543ee9302996e1c3f10f3bd3387c8b603ce09d..dbae55bf174c05dc06cb0874a59c4452fdc9701b 100644 (file)
@@ -17,8 +17,8 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-#ifndef LOADABLE_H_
-#define LOADABLE_H_
+#ifndef UOBJECT_LOADABLE_H_
+#define UOBJECT_LOADABLE_H_
 
 #include <stdio.h>
 #include <glib-object.h>
similarity index 96%
rename from src/module.h
rename to src/uobject/module.h
index eacca8d007f5ea57c5c63b9da09a8aa6bc0c0240..03fe0ec70d9cdf7680c569e0ffb50bbbcbdee8b0 100644 (file)
@@ -17,8 +17,8 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-#ifndef MODULE_H_
-#define MODULE_H_
+#ifndef UOBJECT_MODULE_H_
+#define UOBJECT_MODULE_H_
 
 #include <glib-object.h>
 #include <ltdl.h>
similarity index 97%
rename from src/uobject.h
rename to src/uobject/uobject.h
index efbe28ddf556f37083cbf78ceacabe67fde804cc..ce5e326ee44092177d0d4a5b2cd9285b0dfa4923 100644 (file)
@@ -17,8 +17,8 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-#ifndef UOBJECT_H_
-#define UOBJECT_H_
+#ifndef UOBJECT_UOBJECT_H_
+#define UOBJECT_UOBJECT_H_
 
 #include <glib-object.h>
 #include "upkg.h"
index ef44bf68e48a47934e43851a8a9d4ae53c4df480..4e524ef8cc2912bb9a83494a6c0fa49146148777 100644 (file)
 #include <glib-object.h>
 
 #include "upkg.h"
-#include "module.h"
-#include "uobject.h"
-#include "exportable.h"
-#include "loadable.h"
+#include <uobject/uobject.h>
+#include <uobject/exportable.h>
+#include <uobject/loadable.h>
+#include <uobject/module.h>
 
 enum {
        MODE_INFO,