2002-02-17 23:55:54 +08:00
|
|
|
# autogenerated from automake.am with automake.py
|
2004-02-08 07:01:33 +08:00
|
|
|
PACKAGE = appplug-in
|
2002-02-17 23:55:54 +08:00
|
|
|
TOP = ..\..\..
|
|
|
|
PRJ_TOP = ..\..
|
2004-02-08 07:01:33 +08:00
|
|
|
!include $(TOP)\glib\build\win32\make.msc
|
|
|
|
|
|
|
|
!INCLUDE $(PRJ_TOP)\gimpdefs.msc
|
|
|
|
PKG_VER = $(GIMP_VER)
|
|
|
|
|
2002-02-17 23:55:54 +08:00
|
|
|
|
2002-03-28 08:10:56 +08:00
|
|
|
PKG_LINK = \
|
|
|
|
$(GLIB_LIBS) \
|
2003-01-01 21:33:27 +08:00
|
|
|
..\config\appconfig-$(PKG_VER).lib \
|
2002-03-28 08:10:56 +08:00
|
|
|
..\base\appbase-$(PKG_VER).lib \
|
|
|
|
..\..\libgimpbase\gimpbase-$(PKG_VER).lib \
|
|
|
|
\
|
|
|
|
..\core\appcore-$(PKG_VER).lib
|
|
|
|
|
2002-02-17 23:55:54 +08:00
|
|
|
OBJECTS = \
|
|
|
|
plug-in.obj \
|
2003-03-04 02:14:31 +08:00
|
|
|
plug-in-debug.obj \
|
2002-03-28 08:10:56 +08:00
|
|
|
plug-in-def.obj \
|
2003-03-04 02:14:31 +08:00
|
|
|
plug-in-message.obj \
|
2002-03-28 08:10:56 +08:00
|
|
|
plug-in-params.obj \
|
2002-02-17 23:55:54 +08:00
|
|
|
plug-in-proc.obj \
|
2002-03-28 08:10:56 +08:00
|
|
|
plug-in-progress.obj \
|
2002-02-17 23:55:54 +08:00
|
|
|
plug-in-rc.obj \
|
2003-03-04 02:14:31 +08:00
|
|
|
plug-in-run.obj \
|
|
|
|
plug-in-shm.obj \
|
2002-03-28 08:10:56 +08:00
|
|
|
plug-ins.obj \
|
2002-02-17 23:55:54 +08:00
|
|
|
|
|
|
|
INCLUDES = \
|
2002-03-28 08:10:56 +08:00
|
|
|
-FImsvc_recommended_pragmas.h \
|
2002-02-17 23:55:54 +08:00
|
|
|
-I$(PRJ_TOP) \
|
|
|
|
-I$(PRJ_TOP)/app \
|
|
|
|
$(GTK2_CFLAGS) \
|
|
|
|
|
|
|
|
all : \
|
|
|
|
$(PRJ_TOP)\config.h \
|
2002-03-28 08:10:56 +08:00
|
|
|
$(PACKAGE).lib \
|
2003-01-01 21:33:27 +08:00
|
|
|
!IFDEF DLLGIMP
|
2002-03-28 08:10:56 +08:00
|
|
|
$(PACKAGE)-$(PKG_VER).dll
|
|
|
|
!ENDIF
|
2002-02-17 23:55:54 +08:00
|
|
|
|
|
|
|
$(PRJ_TOP)\config.h: $(PRJ_TOP)\config.h.win32
|
|
|
|
copy $(PRJ_TOP)\config.h.win32 $(PRJ_TOP)\config.h
|
|
|
|
|
|
|
|
RESOURCE = $(PACKAGE).res
|
|
|
|
|
|
|
|
$(PACKAGE).lib : $(OBJECTS)
|
|
|
|
lib /out:$(PACKAGE).lib $(OBJECTS)
|
|
|
|
|
|
|
|
$(PACKAGE)-$(PKG_VER).dll : $(OBJECTS) $(PACKAGE).def
|
|
|
|
$(CC) $(CFLAGS) -LD -Fe$(PACKAGE)-$(PKG_VER).dll $(OBJECTS) $(PKG_LINK) user32.lib advapi32.lib wsock32.lib $(LDFLAGS) /def:$(PACKAGE).def
|
|
|
|
|
|
|
|
$(PACKAGE).exe : $(OBJECTS) $(PACKAGE).def $(PACKAGE).res
|
|
|
|
$(CC) $(CFLAGS) -Fe$(PACKAGE).exe $(PACKAGE).res $(OBJECTS) $(PKG_LINK) \
|
|
|
|
user32.lib advapi32.lib shell32.lib wsock32.lib winspool.lib $(LDFLAGS) /def:$(PACKAGE).def
|
|
|
|
|
|
|
|
.c.obj :
|
|
|
|
$(CC) $(CFLAGS) -GD -c $(PKG_CFLAGS) $<
|