Permalink
Browse files

Directory structure reorganized to match the recommended one.

  • Loading branch information...
1 parent ea32c8d commit 6a3af0793d6f20da0ec58775a1567bc4e2b25879 @tvondra committed Apr 4, 2012
View
@@ -14,7 +14,7 @@
},
"provides": {
"adaptive_estimator": {
- "file": "adaptive_counter--1.0.sql",
+ "file": "sql/adaptive_counter--1.0.sql",
"docfile" : "README.md",
"version": "1.0.0"
}
View
@@ -1,8 +1,8 @@
MODULE_big = adaptive_counter
-OBJS = adaptive_counter.o adaptive.o
+OBJS = src/adaptive_counter.o src/adaptive.o
EXTENSION = adaptive_counter
-DATA = adaptive_counter--1.0.sql
+DATA = sql/adaptive_counter--1.0.sql
MODULES = adaptive_counter
PG_CONFIG = pg_config
@@ -11,8 +11,6 @@ include $(PGXS)
all: adaptive_counter.so
-adaptive_counter.so: adaptive.o adaptive_counter.o
+adaptive_counter.so: $(OBJS)
-adaptive.o: adaptive.c
-
-adaptive_counter.o: adaptive_counter.c
+%.o : src/%.c
File renamed without changes.
File renamed without changes.
File renamed without changes.
View
@@ -14,7 +14,7 @@
},
"provides": {
"pcsa_estimator": {
- "file": "bitmap_estimator--1.0.sql",
+ "file": "sql/bitmap_estimator--1.0.sql",
"docfile" : "README.md",
"version": "1.0.0"
}
View
@@ -1,8 +1,8 @@
MODULE_big = bitmap_counter
-OBJS = bitmap_counter.o bitmap.o
+OBJS = src/bitmap_counter.o src/bitmap.o
EXTENSION = bitmap_counter
-DATA = bitmap_counter--1.0.sql
+DATA = sql/bitmap_counter--1.0.sql
MODULES = bitmap_counter
PG_CONFIG = pg_config
@@ -11,8 +11,6 @@ include $(PGXS)
all: bitmap_counter.so
-bitmap_counter.so: bitmap.o bitmap_counter.o
+bitmap_counter.so: $(OBJS)
-bitmap.o: bitmap.c
-
-bitmap_counter.o: bitmap_counter.c
+%.o : src/%.c
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
View
@@ -14,7 +14,7 @@
},
"provides": {
"pcsa_estimator": {
- "file": "pcsa_estimator--1.0.sql",
+ "file": "sql/pcsa_estimator--1.0.sql",
"docfile" : "README.md",
"version": "1.0.0"
}
View
@@ -1,8 +1,8 @@
MODULE_big = pcsa_counter
-OBJS = pcsa_counter.o pcsa.o
+OBJS = src/pcsa_counter.o src/pcsa.o
EXTENSION = pcsa_counter
-DATA = pcsa_counter--1.0.sql
+DATA = sql/pcsa_counter--1.0.sql
MODULES = pcsa_counter
PG_CONFIG = pg_config
@@ -11,8 +11,6 @@ include $(PGXS)
all: pcsa_counter.so
-pcsa_counter.so: pcsa.o pcsa_counter.o
+pcsa_counter.so: $(OBJS)
-pcsa.o: pcsa.c
-
-pcsa_counter.o: pcsa_counter.c
+%.o : src/%.c
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
View
@@ -14,7 +14,7 @@
},
"provides": {
"probabilistic_estimator": {
- "file": "probabilistic_counter--1.0.sql",
+ "file": "sql/probabilistic_counter--1.0.sql",
"docfile" : "README.md",
"version": "1.0.0"
}
View
@@ -1,8 +1,8 @@
MODULE_big = probabilistic_counter
-OBJS = probabilistic_counter.o probabilistic.o
+OBJS = src/probabilistic_counter.o src/probabilistic.o
EXTENSION = probabilistic_counter
-DATA = probabilistic_counter--1.0.sql
+DATA = sql/probabilistic_counter--1.0.sql
MODULES = probabilistic_counter
PG_CONFIG = pg_config
@@ -11,8 +11,6 @@ include $(PGXS)
all: probabilistic_counter.so
-probabilistic_counter.so: probabilistic.o probabilistic_counter.o
+probabilistic_counter.so: $(OBJS)
-probabilistic.o: probabilistic.c
-
-probabilistic_counter.o: probabilistic_counter.c
+%.o : src/%.c
File renamed without changes.
File renamed without changes.

0 comments on commit 6a3af07

Please sign in to comment.