瀏覽代碼

rework on autotools handling of
private headers

Dimitri Stolnikov 13 年之前
父節點
當前提交
46acfaebd2
共有 5 個文件被更改,包括 5 次插入4 次删除
  1. 1 1
      include/Makefile.am
  2. 0 0
      include/rtlsdr_i2c.h
  3. 1 1
      src/tuner_e4000.c
  4. 1 1
      src/tuner_fc0012.c
  5. 2 1
      src/tuner_fc0013.c

+ 1 - 1
include/Makefile.am

@@ -1,5 +1,5 @@
 rtlsdr_HEADERS = rtl-sdr.h
 rtlsdr_HEADERS = rtl-sdr.h
 
 
-noinst_HEADERS = i2c.h tuner_e4000.h tuner_fc0013.h
+noinst_HEADERS = rtlsdr_i2c.h tuner_e4000.h tuner_fc0012.h tuner_fc0013.h
 
 
 rtlsdrdir = $(includedir)
 rtlsdrdir = $(includedir)

include/i2c.h → include/rtlsdr_i2c.h


+ 1 - 1
src/tuner_e4000.c

@@ -8,7 +8,7 @@
 
 
 #include <stdint.h>
 #include <stdint.h>
 
 
-#include "i2c.h"
+#include "rtlsdr_i2c.h"
 #include "tuner_e4000.h"
 #include "tuner_e4000.h"
 
 
 #define FUNCTION_ERROR		1
 #define FUNCTION_ERROR		1

+ 1 - 1
src/tuner_fc0012.c

@@ -10,8 +10,8 @@
 #include <stdio.h>
 #include <stdio.h>
 #include <stdint.h>
 #include <stdint.h>
 
 
+#include "rtlsdr_i2c.h"
 #include "tuner_fc0012.h"
 #include "tuner_fc0012.h"
-#include "i2c.h"
 
 
 #define CRYSTAL_FREQ		28800000
 #define CRYSTAL_FREQ		28800000
 
 

+ 2 - 1
src/tuner_fc0013.c

@@ -7,7 +7,8 @@
  */
  */
 
 
 #include <stdint.h>
 #include <stdint.h>
-#include "i2c.h"
+
+#include "rtlsdr_i2c.h"
 #include "tuner_fc0013.h"
 #include "tuner_fc0013.h"
 
 
 #define CRYSTAL_FREQ		28800000
 #define CRYSTAL_FREQ		28800000