mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-05 22:43:24 +00:00
dad06580ea
- Support CFLAGS properly - Support install macros PR: 17172 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
193 lines
4.9 KiB
Plaintext
193 lines
4.9 KiB
Plaintext
*** examples/Makefile.orig Tue Nov 2 14:18:49 1993
|
|
--- examples/Makefile Sat Mar 4 18:44:23 2000
|
|
***************
|
|
*** 1,5 ****
|
|
|
|
! # @(#) Makefile 1.21 93/11/02
|
|
|
|
SSPKGHOME = ..
|
|
|
|
--- 1,5 ----
|
|
|
|
! # @(#) $(MAKE)file 1.21 93/11/02
|
|
|
|
SSPKGHOME = ..
|
|
|
|
***************
|
|
*** 8,94 ****
|
|
SSPKGLIB = $(SSPKGHOME)/lib/libsspkg.a
|
|
|
|
|
|
! DBXFLAGS = -g
|
|
! CFLAGS = $(DBXFLAGS) -I$(SSPKGHOME)/include -I$(OPENWINHOME)/include
|
|
LDFLAGS = -L$(LIBDIR) $(LIBS) $(SSPKGLIB) -lm
|
|
|
|
all: icons array_tile clockobj color color2 \
|
|
! dnd dnd2 drawarea drawimage drawline drawtext grip \
|
|
group icons misc selection tacho thermo tree
|
|
|
|
array_tile: FORCE
|
|
! cd $@; make
|
|
|
|
clockobj: FORCE
|
|
! cd $@; make
|
|
|
|
dnd: FORCE
|
|
! cd $@; make
|
|
|
|
dnd2: FORCE
|
|
! cd $@; make
|
|
|
|
drawarea: FORCE
|
|
! cd $@; make
|
|
|
|
drawline: FORCE
|
|
! cd $@; make
|
|
|
|
group: FORCE
|
|
! cd $@; make
|
|
|
|
grip: FORCE
|
|
! cd $@; make
|
|
|
|
icons: FORCE
|
|
! cd $@; make
|
|
|
|
misc: FORCE
|
|
! cd $@; make
|
|
|
|
selection: FORCE
|
|
! cd $@; make
|
|
|
|
tree: FORCE
|
|
! cd $@; make
|
|
|
|
drawtext: FORCE
|
|
! cd $@; make
|
|
|
|
drawimage: FORCE
|
|
! cd $@; make
|
|
|
|
tacho: FORCE
|
|
! cd $@; make
|
|
|
|
color: FORCE
|
|
! cd $@; make
|
|
|
|
color2: FORCE
|
|
! cd $@; make
|
|
|
|
thermo: FORCE
|
|
! cd $@; make
|
|
|
|
clean:
|
|
! -(cd array_tile; make clean; rm -f .make.state)
|
|
! -(cd color; make clean; rm -f .make.state)
|
|
! -(cd color2; make clean; rm -f .make.state)
|
|
! -(cd clockobj; make clean; rm -f .make.state)
|
|
! -(cd dnd; make clean; rm -f .make.state)
|
|
! -(cd dnd2; make clean; rm -f .make.state)
|
|
! -(cd drawarea; make clean; rm -f .make.state)
|
|
! -(cd drawimage; make clean; rm -f .make.state)
|
|
! -(cd drawline; make clean; rm -f .make.state)
|
|
! -(cd drawtext; make clean; rm -f .make.state)
|
|
! -(cd grip; make clean; rm -f .make.state)
|
|
! -(cd group; make clean; rm -f .make.state)
|
|
! -(cd icons; make clean; rm -f .make.state)
|
|
! -(cd misc; make clean; rm -f .make.state)
|
|
! -(cd selection; make clean; rm -f .make.state)
|
|
! -(cd tree; make clean; rm -f .make.state)
|
|
! -(cd tacho; make clean; rm -f .make.state)
|
|
! -(cd thermo; make clean; rm -f .make.state)
|
|
|
|
FORCE:
|
|
|
|
--- 8,94 ----
|
|
SSPKGLIB = $(SSPKGHOME)/lib/libsspkg.a
|
|
|
|
|
|
! #DBXFLAGS = -g
|
|
! CFLAGS += $(DBXFLAGS) -I$(SSPKGHOME)/../include -I$(OPENWINHOME)/include
|
|
LDFLAGS = -L$(LIBDIR) $(LIBS) $(SSPKGLIB) -lm
|
|
|
|
all: icons array_tile clockobj color color2 \
|
|
! dnd drawarea drawimage drawline drawtext grip \
|
|
group icons misc selection tacho thermo tree
|
|
|
|
array_tile: FORCE
|
|
! cd $@; $(MAKE) all 'CFLAGS=$(CFLAGS)' 'CC=$(CC)' 'MAKE=$(MAKE)'
|
|
|
|
clockobj: FORCE
|
|
! cd $@; $(MAKE) all 'CFLAGS=$(CFLAGS)' 'CC=$(CC)' 'MAKE=$(MAKE)'
|
|
|
|
dnd: FORCE
|
|
! cd $@; $(MAKE) all 'CFLAGS=$(CFLAGS)' 'CC=$(CC)' 'MAKE=$(MAKE)'
|
|
|
|
dnd2: FORCE
|
|
! cd $@; $(MAKE) all 'CFLAGS=$(CFLAGS)' 'CC=$(CC)' 'MAKE=$(MAKE)'
|
|
|
|
drawarea: FORCE
|
|
! cd $@; $(MAKE) all 'CFLAGS=$(CFLAGS)' 'CC=$(CC)' 'MAKE=$(MAKE)'
|
|
|
|
drawline: FORCE
|
|
! cd $@; $(MAKE) all 'CFLAGS=$(CFLAGS)' 'CC=$(CC)' 'MAKE=$(MAKE)'
|
|
|
|
group: FORCE
|
|
! cd $@; $(MAKE) all 'CFLAGS=$(CFLAGS)' 'CC=$(CC)' 'MAKE=$(MAKE)'
|
|
|
|
grip: FORCE
|
|
! cd $@; $(MAKE) all 'CFLAGS=$(CFLAGS)' 'CC=$(CC)' 'MAKE=$(MAKE)'
|
|
|
|
icons: FORCE
|
|
! cd $@; $(MAKE) all 'CFLAGS=$(CFLAGS)' 'CC=$(CC)' 'MAKE=$(MAKE)'
|
|
|
|
misc: FORCE
|
|
! cd $@; $(MAKE) all 'CFLAGS=$(CFLAGS)' 'CC=$(CC)' 'MAKE=$(MAKE)'
|
|
|
|
selection: FORCE
|
|
! cd $@; $(MAKE) all 'CFLAGS=$(CFLAGS)' 'CC=$(CC)' 'MAKE=$(MAKE)'
|
|
|
|
tree: FORCE
|
|
! cd $@; $(MAKE) all 'CFLAGS=$(CFLAGS)' 'CC=$(CC)' 'MAKE=$(MAKE)'
|
|
|
|
drawtext: FORCE
|
|
! cd $@; $(MAKE) all 'CFLAGS=$(CFLAGS)' 'CC=$(CC)' 'MAKE=$(MAKE)'
|
|
|
|
drawimage: FORCE
|
|
! cd $@; $(MAKE) all 'CFLAGS=$(CFLAGS)' 'CC=$(CC)' 'MAKE=$(MAKE)'
|
|
|
|
tacho: FORCE
|
|
! cd $@; $(MAKE) all 'CFLAGS=$(CFLAGS)' 'CC=$(CC)' 'MAKE=$(MAKE)'
|
|
|
|
color: FORCE
|
|
! cd $@; $(MAKE) all 'CFLAGS=$(CFLAGS)' 'CC=$(CC)' 'MAKE=$(MAKE)'
|
|
|
|
color2: FORCE
|
|
! cd $@; $(MAKE) all 'CFLAGS=$(CFLAGS)' 'CC=$(CC)' 'MAKE=$(MAKE)'
|
|
|
|
thermo: FORCE
|
|
! cd $@; $(MAKE) all 'CFLAGS=$(CFLAGS)' 'CC=$(CC)' 'MAKE=$(MAKE)'
|
|
|
|
clean:
|
|
! -(cd array_tile; $(MAKE) clean; rm -f .make.state)
|
|
! -(cd color; $(MAKE) clean; rm -f .make.state)
|
|
! -(cd color2; $(MAKE) clean; rm -f .make.state)
|
|
! -(cd clockobj; $(MAKE) clean; rm -f .make.state)
|
|
! -(cd dnd; $(MAKE) clean; rm -f .make.state)
|
|
! -(cd dnd2; $(MAKE) clean; rm -f .make.state)
|
|
! -(cd drawarea; $(MAKE) clean; rm -f .make.state)
|
|
! -(cd drawimage; $(MAKE) clean; rm -f .make.state)
|
|
! -(cd drawline; $(MAKE) clean; rm -f .make.state)
|
|
! -(cd drawtext; $(MAKE) clean; rm -f .make.state)
|
|
! -(cd grip; $(MAKE) clean; rm -f .make.state)
|
|
! -(cd group; $(MAKE) clean; rm -f .make.state)
|
|
! -(cd icons; $(MAKE) clean; rm -f .make.state)
|
|
! -(cd misc; $(MAKE) clean; rm -f .make.state)
|
|
! -(cd selection; $(MAKE) clean; rm -f .make.state)
|
|
! -(cd tree; $(MAKE) clean; rm -f .make.state)
|
|
! -(cd tacho; $(MAKE) clean; rm -f .make.state)
|
|
! -(cd thermo; $(MAKE) clean; rm -f .make.state)
|
|
|
|
FORCE:
|
|
|