sdl

FORK: Simple Directmedia Layer
git clone https://git.neptards.moe/neptards/sdl.git
Log | Files | Refs

Makefile.am (1114B)


      1 
      2 AM_CPPFLAGS = -I$(top_srcdir)/hidapi/ $(CFLAGS_TESTGUI)
      3 
      4 if OS_LINUX
      5 ## Linux
      6 bin_PROGRAMS = hidapi-hidraw-testgui hidapi-libusb-testgui
      7 
      8 hidapi_hidraw_testgui_SOURCES = test.cpp
      9 hidapi_hidraw_testgui_LDADD = $(top_builddir)/linux/libhidapi-hidraw.la $(LIBS_TESTGUI)
     10 
     11 hidapi_libusb_testgui_SOURCES = test.cpp
     12 hidapi_libusb_testgui_LDADD = $(top_builddir)/libusb/libhidapi-libusb.la $(LIBS_TESTGUI)
     13 else
     14 ## Other OS's
     15 bin_PROGRAMS = hidapi-testgui
     16 
     17 hidapi_testgui_SOURCES = test.cpp
     18 hidapi_testgui_LDADD = $(top_builddir)/$(backend)/libhidapi.la $(LIBS_TESTGUI)
     19 endif
     20 
     21 if OS_DARWIN
     22 hidapi_testgui_SOURCES = test.cpp mac_support_cocoa.m mac_support.h
     23 # Rules for copying the binary and its dependencies into the app bundle.
     24 TestGUI.app/Contents/MacOS/hidapi-testgui$(EXEEXT): hidapi-testgui$(EXEEXT)
     25 	$(srcdir)/copy_to_bundle.sh
     26 
     27 all: all-am TestGUI.app/Contents/MacOS/hidapi-testgui$(EXEEXT)
     28 
     29 endif
     30 
     31 EXTRA_DIST = \
     32  copy_to_bundle.sh \
     33  Makefile-manual \
     34  Makefile.freebsd \
     35  Makefile.linux \
     36  Makefile.mac \
     37  Makefile.mingw \
     38  TestGUI.app.in \
     39  testgui.sln \
     40  testgui.vcproj
     41 
     42 distclean-local:
     43 	rm -rf TestGUI.app