amigaos4 #1

Open
walkero wants to merge 4 commits from amigaos4 into master
2 changed files with 27 additions and 5 deletions
Showing only changes of commit 61eaa8e3e3 - Show all commits

View File

@ -11,7 +11,7 @@ AR = ar
ARFLAGS = cr
STRIP = strip -R.comment
LIBNAME = lib/libagg.a
LIBNAME = lib/libagg-clib2.a
SVGNAME = bin/svg_test
EXAMPLES =\
@ -171,7 +171,7 @@ clean:
-@Delete *>NIL: FORCE QUIET examples/#?.o
-@Delete *>NIL: FORCE QUIET $(PLATFORM_OBJ) $(FREETYPE_OBJ) $(LIB_OBJ) $(SVG_OBJ)
-@copy CLONE ALL bin/#?.cmake#? T:agg_tmp
-@Delete *>NIL: FORCE QUIET ALL lib bin
-@Delete *>NIL: FORCE QUIET ALL bin
-@copy CLONE T:agg_tmp/#? bin
install: lib
@ -388,3 +388,4 @@ wget:
%.o: %.c
@MakeDir lib bin force
$(CC) -c $(CFLAGS) $< -o $@

View File

@ -12,7 +12,7 @@ AR = ar
ARFLAGS = cr
STRIP = strip -R.comment
LIBNAME = lib/libagg.a
LIBNAME = lib/libagg-newlib.a
SVGNAME = bin/svg_test
EXAMPLES =\
@ -156,6 +156,7 @@ help:
@Echo clean - clean all build files
@Echo install - build AGG library and install into SDK
@Echo wget - download and install example test files with wget
@Echo release - prepare a release package for SDK
all: lib examples svg freetype
$(STRIP) $(EXAMPLES) $(SVGNAME) $(FREETYPE_EXAMPLES)
@ -172,14 +173,33 @@ clean:
-@Delete *>NIL: FORCE QUIET examples/#?.o
-@Delete *>NIL: FORCE QUIET $(PLATFORM_OBJ) $(FREETYPE_OBJ) $(LIB_OBJ) $(SVG_OBJ)
-@copy CLONE ALL bin/#?.cmake#? T:agg_tmp
-@Delete *>NIL: FORCE QUIET ALL lib bin
-@Delete *>NIL: FORCE QUIET ALL bin
-@copy CLONE T:agg_tmp/#? bin
install: lib
-@Copy CLONE $(LIBNAME) SDK:Local/newlib/lib
-@Copy CLONE ALL include/#?.h SDK:Local/common/include/agg
-@Copy CLONE ALL gpc/#?.h SDK:Local/common/include/gpc
release:
-@mkdir -p release/libagg/local/clib2/lib
-@mkdir -p release/libagg/local/newlib/lib
-@mkdir -p release/libagg/local/Documentation/libagg
-@mkdir -p release/libagg/local/common/libagg
-@mkdir -p release/libagg/local/examples/libagg
-@cp AUTHORS release/libagg/local/Documentation/libagg/
-@cp copying release/libagg/local/Documentation/libagg/
-@cp README release/libagg/local/Documentation/libagg/
-@cp lib/libagg-clib2.a release/libagg/local/clib2/lib/libagg.a
-@cp lib/libagg-newlib.a release/libagg/local/newlib/lib/libagg.a
-@cp -r include/* release/libagg/local/common/libagg/
-@cp -r examples/* release/libagg/local/examples/libagg/
-@Delete *>NIL: FORCE QUIET ALL release/libagg/local/examples/libagg/BeOS
-@Delete *>NIL: FORCE QUIET ALL release/libagg/local/examples/libagg/macos#?
-@Delete *>NIL: FORCE QUIET ALL release/libagg/local/examples/libagg/win32#?
-@Delete *>NIL: FORCE QUIET ALL release/libagg/local/examples/libagg/X11
-@lha -aeqr3 a libagg.lha release/
$(LIBNAME): $(LIB_OBJ)
$(AR) $(ARFLAGS) $@ $^
@ -389,3 +409,4 @@ wget:
%.o: %.c
@MakeDir lib bin force
$(CC) -c $(CFLAGS) $< -o $@