📄 makefile.am
字号:
# Copyright (C) 2004 Jens Oberender <j.obi at troja.net>## Build stuff depending on Motif#if HAVE_MOTIFBUILD_PROGS = gps xgpsspeedendifbin_PROGRAMS = $(BUILD_PROGS)bin_SCRIPTS = gpsprobe## Build gps#gps_SOURCES = display.c gps.cgps_CFLAGS = $(X_CFLAGS)gps_LDADD = $(LIBM) $(LIBC) $(LIBNSL) $(LIBSOCKET) $(XM_LIBS) $(X_LIBS) $(X_PRE_LIBS) libgps.la## Build xgpsspeed#xgpsspeed_SOURCES = \ xgpsspeed.c \ Tachometer.c \ TachometerP.h \ Tachometer.h \ xgpsspeed.iconxgpsspeed_CFLAGS = $(X_CFLAGS)xgpsspeed_LDADD = $(LIBM) $(LIBC) $(LIBNSL) $(LIBSOCKET) $(XAW_LIBS) $(XM_LIBS) $(X_LIBS) $(X_PRE_LIBS) libgps.la## Build gpsd#sbin_PROGRAMS = gpsdgpsd_SOURCES = gpsd.cgpsd_LDADD = $(LIBM) libgps.la## Build shared library#libgps_la_LDFLAGS = -version-number 3:0:0lib_LTLIBRARIES = libgps.lalibgps_la_SOURCES = \ netlib.c \ nmea_parse.c \ serial.c \ drivers.c \ zodiac.c \ libgpsd_core.c \ libgps.c \ report.clibgps_la_LIBADD = $(LIBM) $(LIBC) $(LIBNSL) $(LIBSOCKET)## Create Manpages#man_MANS = \ gpsd.1 \ libgps.3 \ libgpsd.3 \ gpsprobe.1gpsd.1 gps.1 xgpsspeed.1: gpsd.xml xmlto man gpsd.xmllibgps.3: libgps.xml xmlto man libgps.xmllibgpsd.3: libgpsd.xml xmlto man libgpsd.xmlgpsprobe.1: gpsprobe.xml xmlto man gpsprobe.xml## Do a release with a tar.gz and a tar.bz2#release: distdir -chmod -R a+r $(distdir) GZIP=$(GZIP_ENV) $(AMTAR)$(TAR) chozf $(distdir).tar.gz $(distdir) rm -f $(distdir)/gpsd.spec sed '/^Source:/s/\.tar\.gz$$/\.tar\.bz2/' gpsd.spec \ > $(distdir)/gpsd.spec BZIP2=$(BZIP2_ENV) $(AMTAR)$(TAR) --bzip2 -chof $(distdir).tar.bz2 $(distdir) -rm -rf $(distdir)include_HEADERS = gps.h gpsd.h# Automake is buggy and doesn't automatically include bin_SCRIPTS in distEXTRA_DIST = \ autogen.sh \ README \ INSTALL \ COPYING \ HACKING \ TODO \ gpsd.xml \ libgpsd.xml \ libgps.xml \ gpsprobe.xml \ $(man_MANS) \ gps.ad \ xgpsspeed.ad \ gpsd.init \ gpsd.spec \ gps.py \ gpsd.py \ gpsprobe# This is not distributedlibgps: libgps.c .libs/libgps.a $(CC) -o libgps -DTESTMAIN libgps.c .libs/libgps.a
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -