summaryrefslogtreecommitdiff
path: root/afb
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2005-07-01 20:29:53 +0000
committerDaniel Stone <daniel@fooishbar.org>2005-07-01 20:29:53 +0000
commitded56b1a74e6b3e4c48054b7e142d924b19e6104 (patch)
treec2c9fb687494f559cb19e317290e272849c391ae /afb
parentaabb868920658c9d3979dc194c6bd9702171f101 (diff)
Adding initial build system.
Diffstat (limited to 'afb')
-rw-r--r--afb/Makefile.am49
1 files changed, 49 insertions, 0 deletions
diff --git a/afb/Makefile.am b/afb/Makefile.am
new file mode 100644
index 000000000..241fbd823
--- /dev/null
+++ b/afb/Makefile.am
@@ -0,0 +1,49 @@
+noinst_LTLIBRARIES = libafb.la
+
+libafb_gen_sources = afbbltC.c afbbltX.c afbbltCI.c afbbltO.c afbbltG.c afbtileC.c afbtileG.c afbseg.c
+
+DISTCLEANFILES = $(libafb_gen_sources)
+
+libafb_la_SOURCES = afbgc.c afbwindow.c afbfont.c afbfillrct.c afbpntwin.c afbpixmap.c \
+ afbimage.c afbline.c afbbres.c afbhrzvert.c afbbresd.c afbpushpxl.c afbply1rct.c \
+ afbzerarc.c afbfillarc.c afbfillsp.c afbsetsp.c afbscrinit.c afbplygblt.c \
+ afbclip.c afbgetsp.c afbpolypnt.c afbbitblt.c afbcmap.c afbimggblt.c afbpntarea.c \
+ afbmisc.c afbbstore.c afbtegblt.c $(libafb_gen_sources)
+
+INCLUDES = -I$(top_srcdir)/mfb
+
+EXTRA_DIST = afbline.c afbblt.c afbtile.c
+
+afbseg.c:
+ echo "#define POLYSEGMENT" > $@
+ echo "#include \"$(srcdir)/afbline.c\"" >> $@
+
+afbbltC.c:
+ echo "#define MROP Mcopy" > $@
+ echo "#include \"$(srcdir)/afbblt.c\"" >> $@
+
+afbbltX.c:
+ echo "#define MROP Mxor" > $@
+ echo "#include \"$(srcdir)/afbblt.c\"" >> $@
+
+afbbltCI.c:
+ echo "#define MROP McopyInverted" > $@
+ echo "#include \"$(srcdir)/afbblt.c\"" >> $@
+
+afbbltO.c:
+ echo "#define MROP Mor" > $@
+ echo "#include \"$(srcdir)/afbblt.c\"" >> $@
+
+afbbltG.c:
+ echo "#define MROP 0" > $@
+ echo "#include \"$(srcdir)/afbblt.c\"" >> $@
+
+afbtileC.c:
+ echo "#define MROP Mcopy" > $@
+ echo "#include \"$(srcdir)/afbtile.c\"" >> $@
+
+afbtileG.c:
+ echo "#define MROP 0" > $@
+ echo "#include \"$(srcdir)/afbtile.c\"" >> $@
+
+sdk_HEADERS = afb.h