X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=7f61c19b2b17e126e0e2b4ccdfa4e7a88d1b597c;hb=15a5bfe4815f9991a9bb532c05d6244a1818a0e4;hp=85f880e33b22c974bfd98dce5b027d118993f628;hpb=c4a1015a2951b85098e50915c953593025df5726;p=libsigrok.git diff --git a/Makefile.am b/Makefile.am index 85f880e3..7f61c19b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -54,7 +54,6 @@ libsigrok_la_SOURCES = \ src/session.c \ src/session_file.c \ src/session_driver.c \ - src/drivers.c \ src/hwdriver.c \ src/trigger.c \ src/soft-trigger.c \ @@ -168,6 +167,10 @@ libsigrok_la_SOURCES += \ src/scale/kern.c # Hardware drivers + +# This entry must be placed before all drivers +libsigrok_la_SOURCES += src/hardware/driver_list_start.c + if HW_AGILENT_DMM libsigrok_la_SOURCES += \ src/hardware/agilent-dmm/api.c \ @@ -404,6 +407,12 @@ libsigrok_la_SOURCES += \ src/hardware/openbench-logic-sniffer/protocol.c \ src/hardware/openbench-logic-sniffer/api.c endif +if HW_PCE_322A +libsigrok_la_SOURCES += \ + src/hardware/pce-322a/protocol.h \ + src/hardware/pce-322a/protocol.c \ + src/hardware/pce-322a/api.c +endif if HW_PIPISTRELLO_OLS libsigrok_la_SOURCES += \ src/hardware/pipistrello-ols/protocol.h \ @@ -500,6 +509,9 @@ libsigrok_la_SOURCES += \ src/hardware/zeroplus-logic-cube/api.c endif +# This entry must be placed after all drivers +libsigrok_la_SOURCES += src/hardware/driver_list_end.c + libsigrok_la_LIBADD = $(SR_EXTRA_LIBS) $(LIBSIGROK_LIBS) libsigrok_la_LDFLAGS = -version-info $(SR_LIB_VERSION) -no-undefined @@ -705,7 +717,7 @@ $(ROBJ): $(RWRAP) \ $(AM_V_CXX)$(CXX) $(RBSIGROK_CFLAGS) -I. -Iinclude -Ibindings/cxx/include $(local_includes) -fPIC -o $@ -c $< $(REXT): $(ROBJ) @ORDER@ bindings/cxx/libsigrokcxx.la - $(AM_V_CXXLD)$(CXX) -shared -std=c++11 -o $@ $< -lsigrokcxx -Lbindings/cxx/.libs $(RBSIGROK_LIBS) + $(AM_V_CXXLD)$(CXX) -shared -o $@ $< -lsigrokcxx -Lbindings/cxx/.libs $(RBSIGROK_LIBS) ruby-build: $(REXT)