1 prefix=/home
/jettero
/bin
7 # based on wmWeather - see ../Credits for more information
10 CFLAGS
= #-O2 -g #-Wall # I think this option is idiotic
11 INCDIR
= -I
/usr
/X11R6
/include/X11
-I
/usr
/X11R6
/include #-I/usr/i386-glibc20-linux/include
13 LIBDIR
= -L
/usr
/X11R6
/lib
15 LIBS
= -lXpm
-lX11
-lXext
17 # LIBS = -lXpm -lX11 -lXext -lsocket
19 OBJS
= jDockApp.o xutils.o jprintf.o
24 CFLAGS
=-DVERSION
="\"${version}\"" -DBDATE
="\"${DATESTR}\""
27 make real_all
"DATESTR=`date '+%B %d, %Y'`"
31 jDockApp.o
: jDockApp
/jDockApp_main.xpm jDockApp
/jDockApp.c
34 xutils.o
: xutils
/xutils.c
37 jprintf.o
: jDockApp
/jprintf.c
38 cd jDockApp
; make jprintf.o
41 ${name}: $(OBJS
) ${name}.c
42 $(CC
) $(CFLAGS
) $(SYSTEM
) -o
${name} $^
$(INCDIR
) $(LIBDIR
) $(LIBS
)
45 install ${owner} ${group} -s
-m
755 .
/${name} ${prefix}/${name}
46 install ${owner} ${group} -m
755 .
/ifacechk
${prefix}/ifacechk
53 cd ..
/..
/; mv
${name}-${version}.tgz
/home
/jettero
/www
/dockapps
56 cd ..
/..
; tar -zcf
${name}-${version}.tgz
${name}