# This file is part of the gtkDPS library. AUTOMAKE_OPTIONS = foreign gtkDPSincludedir=$(includedir)/gtkDPS lib_LTLIBRARIES = libgtkDPS.la ### BEGIN PSWRAP ### include pswrap.mak ### DATA --- To add new pswrap file, change here. pswrap_src = fonts.psw dps_raw.psw pswrap_gen_h = fonts.h dps_raw.h pswrap_gen_c = fonts.c dps_raw.c ### END PSWRAP ### libgtkDPS_la_SOURCES = $(pswrap_gen_c) \ gdkDPS.c \ gdkDPSgeometry.c \ gdkDPSfont.c \ gdkDPSline.c \ gtkDPSwidget.c \ gtkDPSarea.c \ gtkDPScontext.c \ gtkDPSfontsel.c \ gtkDPSpaintsel.c \ gtkDPSlinesel.c \ parseAFM.c gtkDPSinclude_HEADERS = gtkDPS.h \ gdkDPS.h \ gdkDPSgeometry.h \ gdkDPSfont.h \ gdkDPSline.h \ gtkDPSwidget.h \ gtkDPSarea.h \ gtkDPScontext.h \ gtkDPSfontsel.h \ gtkDPSpaintsel.h \ gtkDPSlinesel.h \ gtkDPSintl.h \ parseAFM.h noinst_HEADERS = $(pswrap_gen_h) EXTRA_DIST= $(pswrap_src) pswrap.mak libgtkDPS_la_LDFLAGS = -version-info 1:0:0 AM_CFLAGS+= $(DPS_CFLAGS) \ -DLOCALEDIR=\""$(gtkdpslocaledir)"\" \ $(GTK_CFLAGS) INCLUDES = -I$(top_srcdir) LDADD+= libgtkDPS.la $(DPS_LIBS) $(GTK_LIBS) noinst_PROGRAMS=intersect sample sample2 dpsmark fontsel paintsel linesel # # pswrap_gen_* can be generated from pswrap_src therefore... # # BUILT_SOURCES = $(pswrap_src) # $(srcdir)/fonts.h $(srcdir)/fonts.c: fonts.stamp # @: # $(srcdir)/dps_raw.h $(srcdir)/dps_raw.c: dps_raw.stamp # @: # # fonts.stamp: $(srcdir)/fonts.psw # $(PSWRAP) $(PSWRAPFLAG) -o fonts.c -h fonts.h $< && echo timestamp > $@ # # dps_raw.stamp: $(srcdir)/dps_raw.psw # $(PSWRAP) $(PSWRAPFLAG) -o dps_raw.c -h dps_raw.h $< && echo timestamp > $@